![]() |
#16 | |||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Let me start by saying up front I might not understand the problem, but I'm guessing one of my suggestions will work for you
Quote:
Quote:
Alternatively I can often use Sigil's find and replace to fix ePubs as long as there is something unique to denote paragraph breaks in the output. Often I find a Quote:
Good Luck. Last edited by DoctorOhh; 08-20-2010 at 06:35 AM. |
|||
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Calibre 0.7.16 enables the preprocessing option for lit, txt, rtf, and html input types. It will attempt to unwrap lines and also mark chapters in books where chapter headings previously weren't marked.
Select "preprocess input to possibly improve structure detection" under the Structure Detection options in conversion for a bad book to have Calibre attempt to fix the markup. If you're dealing with a troublesome text file then you should also choose "Treat each line as a paragraph" under text input. It seems to work ok on the books I've tested, but I know there is a pretty large variety of badly formatted books coming from OCR sources, etc. Let me know if there are books that fail to unwrap. I'm also interested in books that have text formatting that traverses lines. I think that should be ok, but I didn't have any test cases. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2010
Device: none
|
texthandler.com can help you to remove unnecessary line breaks from text
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tool for removing line breaks in text documents | kahn10 | Sony Reader | 9 | 08-22-2010 10:05 PM |
No line breaks | ecpepper | Amazon Kindle | 3 | 08-09-2009 06:42 PM |
Removing Line-breaks / Preserving Paragraphs | ahi | Workshop | 5 | 06-08-2009 02:22 AM |
Removing the first line | jethro10 | Calibre | 2 | 03-05-2009 12:32 PM |
Removing extra line breaks | plemming | Calibre | 0 | 07-31-2008 07:50 PM |