View Single Post
Old 06-24-2009, 06:17 PM   #3
Patricia
Reader
Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.Patricia ought to be getting tired of karma fortunes by now.
 
Patricia's Avatar
 
Posts: 11,504
Karma: 8720163
Join Date: May 2007
Location: South Wales, UK
Device: Sony PRS-500, PRS-505, Asus EEEpc 4G
Replacing Breaks using Word
Paste the text file into a word document. Save it.
Open Find and Replace (In the “Edit” menu). You need to make three passes with it.
1. Find ^p^p (i.e. find two paragraph marks. The symbols are in More then Special. The paragraph mark is at the top of the list.). Replace with @ (These act as placeholders to preserve the real paragraphs.)
2. Now, for the second pass, find ^p (single paragraph mark). Replace with a single space.
3. Finally, for the third pass, find @ and replace with either a single paragraph mark, or two paragraph marks if you prefer an empty line between paragraphs.

Stingo’s Word Macro
This does a good job at removing the hard line breaks in text files and making a reflowable document. It also sets the font to Times New Roman, point 14. Once installed, it is very easy to use. Paste your text file into a word document. Save the Doc and run the macro.
You can find it here, together with instructions on how to install it:
https://www.mobileread.com/forums/showthread.php?t=8793
(The only time this has ever given me trouble was when I failed to save the doc before running the macro. It crashed.)

BookCreator and Book Designer
MobileRead member =X= has produced BookCreator. This is a Word template containing a number of useful macros, which speed up the editing process. He envisages using it in connection with Calibre. However, it is entirely feasible to run the macros and then import the edited document into BD.
BookCreator is available here:
https://www.mobileread.com/forums/showthread.php?t=28313
Patricia is offline   Reply With Quote