View Single Post
Old 05-08-2015, 12:05 PM   #3
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,838
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by Phssthpok View Post
When converting EPUBs that have <h1> and <h2> on the same page, the AZW3 output moves the <h2> to a separate page ... I have set the "Insert page break before" option (Preferences > Conversion > Common Options > Structure Detection) to "/" but it makes no difference.
For "Insert page break before" option, try: //*[name()='h1']

That works for me to limit page breaks to only <h1> and keeps any <h2> subheads on the same page.

@eschwartz: I have a few books that use <h1> for chapter heads and <h2> for subheads. With the above "insert page break before" option it works fine. Why is this improper?

Last edited by odamizu; 05-08-2015 at 12:11 PM.
odamizu is offline   Reply With Quote