Jun 12th, 2015, 1:35 pm
Thought this might help someone:

I just had a problem with a book in mobi format (I read mostly on Kindle PW): starting from Chapter One the book had too many page breaks. In fact there was only one paragraph per page in the whole book, except Prologue and Epilogue. The book was converted from epub via Calibre, and the epub version was fine.

Eventually, I looked at the "source code" of the book (using Calibre's Edit Book utility), and it turned out that the book's regular paragraph style is named "chapter". In Prologue regular paragraph style is "chapterprologue", in Epilogue — "chapterepilogue". Now, in the Caliber's converter there is "Structure Detection" set of options, and chapter detection by default uses regular expression that considers all tags that have class="chapter" as chapter title! So this was the problem.

I disabled "Detect Chapters" option (using just the forward slash for regular expression), and now the mobi version is as good as the epub one. :)
Jun 12th, 2015, 1:35 pm