Thread: EPUB output
View Single Post
Old 02-06-2010, 04:30 PM   #597
nikkie
Guru
nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40
 
nikkie's Avatar
 
Posts: 614
Karma: 73700
Join Date: Oct 2009
Location: WA, USA
Device: Android, Kindle Paperwhite, lots of ancient readers
Quote:
Originally Posted by Starson17 View Post
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.
Ah, good point. I hadn't thought of that. Most of the books I used this procedure on were fiction.
nikkie is offline   Reply With Quote