Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
DOH DOH is offline
external usenet poster
 
Posts: 3
Default Using find to add punctuation etc. multiple times

I need to create some very long lists of verses from the Bible to create
lists for a program I'm working on. The lists need to be in .txt format, but
I want to use Word for its find/replace capabilities. Then I'll save the file
in .txt format. I need to create text files that include for example, every
verse in an entire book of the Bible (e.g., Genesis, which has fifty chaps.
and many verses in each chap.) Each verse needs to have the book abbrev.
followed by the verse number followed by a punctuation mark (most periods,
e.g., GE 1:1.), and followed by the actual text of the verse itself (and each
on a single line--non-wrapped--in the txt file). The access I have for the
verses is such that only the first verse of each chap. has the full chap and
verse number (e.g., "1:1," etc.), and then each following verse is preceded
only by the verse number (e.g., 1, 2, etc.) until the beginning of the next
chap. I need therefore to somehow insert the book abbrev. and chap. number
prior to the verse number, as well as to place a period immediately after
almost all of the verse numbers. The only way I can think to do it is to use
find any digit, and then use replace to add the book name, chap. number, and
punc., but then that will eliminate the digit too. Any suggestions would be
greatly appreciated. Btw, I'm using 98SE and Word2K. Thanks.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
John McGhie [MVP - Word and Word Macintosh] John McGhie [MVP - Word and Word Macintosh] is offline
external usenet poster
 
Posts: 506
Default Using find to add punctuation etc. multiple times

You can do this using Outline Numbering, but you have to define a custom
outline scheme.

Use the built-in heading styles Heading 1 through 9. Change the formatting
so they all look like normal text if you wish.

Then define Heading 1 to have The abbreviation of the book as its text. So
Heading 1 says "Ecc."

Define Heading 2 to inherit Heading 1's number (which will be the text
abbreviation) plus the chapter number. So Heading 2 says "Ecc.1."

Define Heading 3 to inherit the first two plus a number. So Heading 3 says
"Ecc.1.1"

Set the Book name as Heading 1. The Chapter title as Heading 2, and use
Heading 3 for each verse. Word will automatically number the verses
correctly for you, provided that you ensure that each verse is a paragraph
of its own.

Shauna Kelly's website http://www.shaunakelly.com/word/index.html will
explain how to do this.

Cheers


On 1/10/06 2:20 PM, in article
, "DOH"
wrote:

I need to create some very long lists of verses from the Bible to create
lists for a program I'm working on. The lists need to be in .txt format, but
I want to use Word for its find/replace capabilities. Then I'll save the file
in .txt format. I need to create text files that include for example, every
verse in an entire book of the Bible (e.g., Genesis, which has fifty chaps.
and many verses in each chap.) Each verse needs to have the book abbrev.
followed by the verse number followed by a punctuation mark (most periods,
e.g., GE 1:1.), and followed by the actual text of the verse itself (and each
on a single line--non-wrapped--in the txt file). The access I have for the
verses is such that only the first verse of each chap. has the full chap and
verse number (e.g., "1:1," etc.), and then each following verse is preceded
only by the verse number (e.g., 1, 2, etc.) until the beginning of the next
chap. I need therefore to somehow insert the book abbrev. and chap. number
prior to the verse number, as well as to place a period immediately after
almost all of the verse numbers. The only way I can think to do it is to use
find any digit, and then use replace to add the book name, chap. number, and
punc., but then that will eliminate the digit too. Any suggestions would be
greatly appreciated. Btw, I'm using 98SE and Word2K. Thanks.


--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Same Doc open multiple times Kinjalip Microsoft Word Help 1 April 6th 06 02:14 PM
How to repeat a Macro multiple times? Jeff Mills New Users 2 March 16th 06 08:21 PM
Find multiple words JustLearning Microsoft Word Help 4 June 24th 05 03:27 PM
Find and Replace GREEK symbols in XP, 2K & 97 Jazz Microsoft Word Help 3 April 8th 05 08:13 PM
--A Find & Replace Question-- KlikThis Microsoft Word Help 3 January 1st 05 05:58 PM


All times are GMT +1. The time now is 10:50 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"