View Single Post
Old 11-02-2010, 08:44 PM   #9
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
Quote:
Originally Posted by st_albert View Post
I am suggesting you let calibre do that. Yes, it really will. Here's how:

If you are converting, say, one single html file to epub, and in that html file all your chapters have an <h1>Chapter so-and-so</h1> header you can put the html file into calibre and click on "convert books." In the pop up menu, select the "structure detection" tab and use the wizard for "detect chapters at" to indicate what the chapter tags are (<h1> in the above example). For "chapter mark" select "pagebreak" in the drop-down box.

Then on the "EPUB output" page, be sure "Do not split on page breaks" is NOT checked. That should cause calibre to break up the book by chapter, when you perform the conversion.
Worked like a charm. Thanks, have some karma.
Ankh is offline   Reply With Quote