View Single Post
Old 06-01-2012, 02:32 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,313
Karma: 36123946
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
Quote:
Originally Posted by nymormon View Post
I am having a similar problem with an EPUB file that I converted to MOBI. I set up chapters, and it works great, except for one. It should say :

Part One
Prologue

as one chapter. But, for some reason, it puts "Part One" on one page, and "Prologue" on another page. I've checked the code, and there is no difference from all the other chapter headings. In the EPUB file, it works perfectly. In the Calibre viewer, it's perfect. But, on my Kindle, and Kindle for PC, it's not.

I even merged this with the next chapter, and it still does it. I've spent 2 days trying to figure this out. I've posted to other forums, but have gotten no responses.

Any ideas?
If you're using calibre to convert to mobi, then it's the one inserting the page break when it converts the epub.

The default chapter detection in a calibre conversion will insert a page-break when it encounters H1 or H2 tags that contain the words "chapter, book, section, part, prologue, epilogue" as well as any element that has a class of "chapter."

You'll have to modify the settings in the "Structure detection" section of calibre's conversion dialog (or change the underlying html in your ePub so it doesn't match the default expression). The first two settings in that "Structure Detection" section in calibre is what you're looking for.

The same thing has driven me nearly batsh!t crazy myself.

Last edited by DiapDealer; 06-01-2012 at 02:56 PM.
DiapDealer is online now   Reply With Quote