![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,783
Karma: 33064842
Join Date: Dec 2008
Device: BeBook, Sony PRS-T1, Kobo H2O
|
Odd line/paragraph breaks in epub and FB2?
Hi,
I'm using WinXP with Calibre 0.6.5 When converting PDF's to epub or FB2 I keep getting some odd line breaks. For example... "They were predators, vicious destroyers. And they scared the living hell out of me." There seems to be no rhyme or reason as to why, when and where these odd line breaks will occur. When I use PDF Transformer to convert the PDF to RTF this doesn't happen. However, I don't like the way RTF looks on the BeBook. When I try using Calibre to convert the RTF into epub or FB2 the result is unusable with lines overlapping each other and even more odd line breaks. I've also tried using PDF Transformer to convert the PDF to HTML and then Calibre to convert from HTML to epub and FB2 but the same problem with overlapping lines and more line breaks occur. So any suggestions on why this might be happening and what I might be able to do to fix it? I much prefer the epub and FB2 formats overall. Cheers, PKFFW Last edited by PKFFW; 09-30-2009 at 08:30 PM. |
![]() |
![]() |
![]() |
#2 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Try decreasing the unwrap factor option. PDFs do not specify what paragraph a line is part of so some guess work is used. The unwraping code uses the factor to determine at what length (it is dependent on the file itself) a line will be joined to previous lines to form a paragraph.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,783
Karma: 33064842
Join Date: Dec 2008
Device: BeBook, Sony PRS-T1, Kobo H2O
|
Thanks for the advice. Could you please tell me how to do that?
edit: Just found out how to do it. Currently set on 0.50........so any suggestions on what to try or just to gradually decrease it until the epub conversions look right? Cheers, PKFFW |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,783
Karma: 33064842
Join Date: Dec 2008
Device: BeBook, Sony PRS-T1, Kobo H2O
|
Well I just tried your advice user_none.
I first tried lowering it to 0.25, then 0.35 and then 0.45. Each time I came out with a file that had extremely small font when displayed using the Calibre epub viewer. I had to increase the font size about 3 times to get it to a size where it was legible. Each file looked good though, with no odd line breaks that I could find. Problem is, when I load it onto my BeBook I can't change the font size. The font is so small as to be completely unreadable. So then I tried converting it with the unwrap factor set back to 0.50 and for some reason I again get a file where I can't change the font size. This has never happened before. Any help greatly appreciated. Cheers, PKFFW |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,783
Karma: 33064842
Join Date: Dec 2008
Device: BeBook, Sony PRS-T1, Kobo H2O
|
Update......
I updated to version 0.6.14 and that seems to have fixed the problem. Unwrap factor is 0.45 and so far my epubs have come out with none of the odd line breaks I have had in previous conversions and fonts can be changed easily. Thanks for the advice. Cheers, PKFFW |
![]() |
![]() |
Advert | |
|
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF to EPUB - spurious paragraph breaks | RichieTheK | Calibre | 2 | 09-08-2010 11:27 AM |
Paragraph breaks | thedevilsjester | Calibre | 2 | 09-07-2010 12:26 PM |
Converting from LRF: Paragraph & Line Breaks | wudaben | LRF | 0 | 07-14-2010 11:32 PM |
LRF to EPUB: Each line is a paragraph tag | wudaben | Calibre | 5 | 07-14-2010 07:04 PM |
convert to lrf : paragraph indents, line breaks | karo02 | Calibre | 4 | 01-27-2009 09:19 AM |