View Single Post
Old 02-05-2010, 01:43 PM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by gondwild View Post
The obvious way to remedy this is to simply remove the line break from the end of each line, but thats some seriously time consuming work. Is there a way for calibre to do this?
The normal technique is to use a global edit to:
- replace every double line break with some unusual character (or character sequence) not used in the document. The assumption is that the double line feeds are almost certainly paragraph breaks.
- Replace every single line feed with space. This allows text flow to happen.
- replace the character you used in the first step with whatever you want to use for paragraph breaks.
itimpi is offline   Reply With Quote