09-28-2011, 05:39 PM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Sep 2011
Device: Nook Touch
|
Empty lines in epub without apparent reason
Hi,
I am converting a txt file to epub and I often get empty lines (maybe half of the time) with no apparent reason. The text file is in utf-8 and I checked that the lines terminate with 0D 0A hex. This phenomenon occurs even when there are no punctuation marks at the end of the line, and also when there are no special characters. Working with 0.8.20 under Windows xp. How can I control that ? |
09-28-2011, 07:53 PM | #2 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
The specifying the paragraph type manually in the conversion settings. It defaults to auto detect.
|
Advert | |
|
09-29-2011, 12:32 AM | #3 |
Member
Posts: 15
Karma: 10
Join Date: Sep 2011
Device: Nook Touch
|
You are referring to the heuristic processing, I suppose. I hesitate to embark in that, but I'll keep it in mind. I can wait: the last 2 books I converted are ok.
Thanks for the prompt reply. |
09-29-2011, 01:01 AM | #4 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
No, he is not referring to heuristic processing. He is talking about the text input options during conversion.
Wait for what? The tools to handle this situation already exist. Good Luck. |
09-30-2011, 12:33 AM | #5 |
Member
Posts: 15
Karma: 10
Join Date: Sep 2011
Device: Nook Touch
|
I tested several options following your clarification, and I finally chose auto. I also checked Remove spacing between paragraphs in Prefs. That's how it is in real books. I'll see if I am comfortable with that.
One thing puzzles me though. When I convert 2 or more txt files, the text input section is absent. Is there a way to choose the paragraph style in that case ? |
Advert | |
|
09-30-2011, 12:46 AM | #6 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
When you choose multiple text files for a bulk conversion Calibre uses the default settings configured under preferences first - and if an individual file has custom settings those will override the global preference.
Just go into preferences and tweak the defaults until you're happy. That will then be applied to any books which you haven't yet converted. |
09-30-2011, 01:19 AM | #7 |
Member
Posts: 15
Karma: 10
Join Date: Sep 2011
Device: Nook Touch
|
Thanks, I found it.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can Calibre detect empty Lines? | gucky | Conversion | 2 | 09-25-2011 03:43 AM |
InDesign to Epub (empty pages) | PauloCoe | EPUBReader | 1 | 06-22-2011 08:56 AM |
epub->mobi, Spine is Empty | rjolbrich | Calibre | 1 | 01-03-2011 02:12 PM |
PDF ebook convert to Kindle format - with a lot empty lines | subarux | Calibre | 4 | 12-28-2010 09:53 PM |
Any reason not to empty eBook Library?? | petercreasey | Sony Reader | 4 | 05-25-2010 05:50 AM |