View Single Post
Old 05-08-2015, 09:11 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
EPUB to AZW3 problem

When converting EPUBs that have <h1> and <h2> on the same page, the AZW3 output moves the <h2> to a separate page (the <h1> and <h2> are in the same HTML file before conversion, but in two separate files after).

I have set the "Insert page break before" option (Preferences > Conversion > Common Options > Structure Detection) to "/" but it makes no difference.

The EPUB has the following style settings:
Code:
h1 {
  font-size: 1.5em;
  text-align: center;
  page-break-before: always;
  margin: 5em 2em 1em 2em;
}
h2 {
  font-size: 1.2em;
  text-align: center;
  margin: 2em;
}
Can anyone suggest a solution to this please?
Phssthpok is offline   Reply With Quote