simpligility wrote
I would rather be able to declare that in the theme somehow and not make it part of the actual document but this will do for now.
Manfred,
Take a look at the HTML the 'page break' syntax generates. You get this nice div:
<div style="page-break-after: always;"></div>
In your project you could inject the style into your end of chapter or before start of new chapter.
But either way you're going to need an HTML element to hang that on.
Perhaps if your chapters start with an H2, in your theme you could add H2 {page-break-before: always;} to the CSS and it would work?
If that doesn't work, you could dig thru the repo. Somewhere buried in
https://github.com/asciidoctor/asciidoctor-pdf you could dredge up how the PDF converter uses the CSS code that acts on that style "page-break-after: always;"
simpligility wrote
Should I file a ticket to allow something like this in the theme?
No, since theoretically you might be able to accomplish it with your theme.
Personally I would just use the page break.
If you get your page breaks to work in your theme, please let us know.