01-18-2009, 09:23 PM | #1 |
Member
Posts: 14
Karma: 100000
Join Date: Jan 2009
Device: Kindle PW, iphone 4, ipad 3
|
Section breaks
I have several ebooks with blank lines used to denote scene changes within chapters. These blank lines disappear when I convert to LRF or EPUB with Calibre. Ive tried conversion from pdf, html, and rtf and get the same results. Is there any way to keep the blank lines during conversion?
I have found that lit conversions work fine but I have no converter to lit. |
01-18-2009, 09:39 PM | #2 |
creator of calibre
Posts: 44,556
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
post an example HTMl that shows this problem
|
Advert | |
|
01-18-2009, 11:09 PM | #3 |
Member
Posts: 14
Karma: 100000
Join Date: Jan 2009
Device: Kindle PW, iphone 4, ipad 3
|
I looked at several html files. Those that lose the spacing just use a line break for it. Another file used a paragraph with nbsp in it and the conversion kept the extra line. The books are not public domain so I'll have to create an example to post.
|
01-18-2009, 11:20 PM | #4 |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Ah, I think I know what this is. XHTML doesn't allow a <br/> element directly inside the <body/>, and AdobeDE will ignore any it finds there. MSReader and Mobipocket Reader render such markup as a blank line, and thus it appears in many LIT and Mobipocket books.
|
01-19-2009, 09:36 PM | #5 |
Member
Posts: 14
Karma: 100000
Join Date: Jan 2009
Device: Kindle PW, iphone 4, ipad 3
|
So if I'm editing an rtf file, how can I force a line break to be included during Calibre's conversion process?
|
Advert | |
|
01-19-2009, 09:44 PM | #6 |
creator of calibre
Posts: 44,556
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Top level <br> elements should be handled correctly in 0.4.129
|
01-20-2009, 04:09 PM | #7 |
Member
Posts: 18
Karma: 10
Join Date: Jan 2009
Location: UK
Device: Sony PRS-505
|
I plucked up the courage to download Calibre and I did my first conversation from an old Gutenberg .txt file I downloaded last year to convert for my PSP.
Anyway, the conversion was brilliant but the document looked disappointing. All of the text just follows line after line. I would like to see new chapters on a brand new page. I was unable to see a way of editing this in Calibre. Is there something else I need to be doing or am I missing something? Many thanks |
01-20-2009, 04:33 PM | #8 |
creator of calibre
Posts: 44,556
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You should use the HTML version of gutenberg books for better conversion.
|
01-20-2009, 06:00 PM | #9 |
Member
Posts: 18
Karma: 10
Join Date: Jan 2009
Location: UK
Device: Sony PRS-505
|
My brain's aching. My computer's zipping the HTML file up - I don't want it to zip up! - so when I try to open it the .html, I get like three folders when I view it: Content (folder) Content (File) metadata (OPF file). How I get the HTML is right clicking on the page and saving it. Is that right? Hang on... uh no, it says firefox document. How does one get an html file? |
01-20-2009, 06:05 PM | #10 |
creator of calibre
Posts: 44,556
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Zipped up html is fine. I meant when you download the book from gutenberg use the html version rather than the txt version. Even if the HTML file is in a zip file, you can still add the zip file to calibre.
|
01-20-2009, 06:37 PM | #11 |
Member
Posts: 18
Karma: 10
Join Date: Jan 2009
Location: UK
Device: Sony PRS-505
|
Ok, I did that and the conversion worked ok. However, the contents page looks like a cheese string and while each chapter starts on a new page, I've got all these diddy page numbers at certain points in the text. It looks like a page in a bible
Is there some way to actually edit those bits prior to a conversion? |
01-20-2009, 06:54 PM | #12 |
creator of calibre
Posts: 44,556
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There's no easy way to do that, you have to unzip and edit the html manually
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Welcome to the Cool-er section! | sassanik | Interead COOL-ER | 9 | 02-17-2011 02:24 PM |
how to make section breaks in epubs | JBNY | Calibre | 12 | 09-16-2010 03:57 PM |
How about an Events section? | nigeldb | Feedback | 2 | 11-01-2009 10:37 PM |
Missing section breaks | readingaloud | Amazon Kindle | 1 | 08-27-2009 02:49 PM |