Thread: TXT to RTF
View Single Post
Old 11-07-2006, 02:26 PM   #13
Michele
Addict
Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.Michele ought to be getting tired of karma fortunes by now.
 
Posts: 209
Karma: 999496
Join Date: Sep 2006
Location: California
Device: Kindle 3
I've found the solution!!

1. I do a replace all .¶ with .¶¶
2. Replace all ."¶ with ."¶¶
3. Then I applied the fix to remove the single ¶
4. Then I replace all ¶¶ with ¶

There will be an occasional case when a line ends in a period and a new paragraph isn't intended, but for the majority of the cases, it provides proper paragraph breaks.

rcs1000, your program was helpful with step 3. Is there any chance you could add the other steps to your program for cases like mine. I've run into this lots of times.

I just pulled out my dusty old programmer's brain and asked myself how I know where the paragraphs are intended.

Last edited by Michele; 11-07-2006 at 02:40 PM.
Michele is offline   Reply With Quote