View Single Post
Old 05-09-2015, 01:10 PM   #19
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: 586
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by rashkae View Post
Since you've already changed the "inert Page Breaks', the only option that would be adding unwanted page breaks is the Chapter mark at automatic Chapter detection. Changing that to none should correct the problem.
Thank you, that seems to do the trick without my having to restructure the document.

Just to be on the safe side, I'm now putting "page-break-before: always" at the <body> level rather than <h1>, so each file comes out on a new page, but I'm not sure if that's necessary; it seems to happen anyway, but the whole pagination thing baffles me a bit.

Interestingly, experiments show that it only seems to happen when there is an introductory para between the <h1> and <h2>. I have no idea why!
Phssthpok is offline   Reply With Quote