Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-18-2009, 09:23 PM   #1
christineb
Member
christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!
 
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.
christineb is offline   Reply With Quote
Old 01-18-2009, 09:39 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,556
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
post an example HTMl that shows this problem
kovidgoyal is offline   Reply With Quote
Advert
Old 01-18-2009, 11:09 PM   #3
christineb
Member
christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!
 
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.
christineb is offline   Reply With Quote
Old 01-18-2009, 11:20 PM   #4
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by christineb View Post
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.
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.
llasram is offline   Reply With Quote
Old 01-19-2009, 09:36 PM   #5
christineb
Member
christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!christineb rocks like Gibraltar!
 
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?
christineb is offline   Reply With Quote
Advert
Old 01-19-2009, 09:44 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is offline   Reply With Quote
Old 01-20-2009, 04:09 PM   #7
besca147
Member
besca147 began at the beginning.
 
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
besca147 is offline   Reply With Quote
Old 01-20-2009, 04:33 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 01-20-2009, 06:00 PM   #9
besca147
Member
besca147 began at the beginning.
 
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?
besca147 is offline   Reply With Quote
Old 01-20-2009, 06:05 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 01-20-2009, 06:37 PM   #11
besca147
Member
besca147 began at the beginning.
 
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?
besca147 is offline   Reply With Quote
Old 01-20-2009, 06:54 PM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:29 PM.


MobileRead.com is a privately owned, operated and funded community.