Thread: EPUB output
View Single Post
Old 02-06-2010, 12:04 PM   #596
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by nikkie View Post
Here is what I did to solve this problem...
Find/Replace for any two line breaks (^p^p) in word, and replaced them...Works perfectly.
Some books have lists in them, for example, a list of characters, a list of chapter titles, an index, etc. These lists usually do not have the two line breaks in them, and this procedure screws them up.

I find it is worth the effort to quickly look over the beginning and end of the book for lists (where they are usually found). If I find a list, I protect it. You can just add an extra line break at the end of each line in the list before running the macro so that the list has the double break format.

My usual procedure, however is to have two macros. The first replaces single line breaks with the nonsense word "_paralist_." I position the cursor at the start of the list and run the macro under manual control (confirm each replace) until it runs off the list (where I stop the macro). Then I run the global macro. The global macro finds all remaining double line breaks, replaces them with the nonsense word "_parapara_," then replaces all remaining single line breaks with spaces, then cleans up by replacing the two nonsense words with single or double line breaks.

Last edited by Starson17; 02-06-2010 at 12:54 PM.
Starson17 is offline   Reply With Quote