View Single Post
Old 12-03-2011, 06:21 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,124
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by erion View Post
Hi,



The problem is the renumbering does not actually happen. Even if I manually modify the second h2 tag of the first chapter (with the date), the chapter title with a <h2> tag will be in a separate file (probably because of the page break right before it), and the date with a <h3> tag will be in the next file with the chapter's text itself.
The original .epub's first html file ends with the chapter title of the first chapter, and in the next file is the date and the text.
This is just a wild guess, but could it be that for some odd reason Calibre honours the original file splits as well?

Erion
If it still breaks on H3 and H2 as well, look and see if you changed the chapter detection (normally H1 and H2) to include h3.

look at the stylesheet and see if a page-break-before is assigned to the class of those headers.
theducks is offline   Reply With Quote