View Single Post
Old 04-16-2019, 12:47 PM   #4
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,137
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 plznot View Post
I've already looked there. But since I have no idea how XPath expressions works and the other options don't help me in any way, it was a dead end for me.

To be more precise, I don't see a way to specify that I don't want it to create a page break on x.1 but do create one on x, x.2, x.3, ...

You just want to reduce the trigger conditions
Since 'Chapter' is in Both, something else must change: That could be making sub chapters H2 and removing that break condition (remember you style using the CSS, not the heading level numbers ( way )
Code:
Structure detection (on the conversion dialog, NOT preferences, which is FUTURE defaults) 

Insert Page breaks
Code:
//*[name()='h1' or name()='h2']
theducks is offline   Reply With Quote