Quote:
Originally Posted by erion
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.