Re: restrain Section / Chapter break

Posted by Alexander Schwartz on
URL: https://discuss.asciidoctor.org/restrain-Section-Chapter-break-tp7360p7362.html

I assume you are using Asciidoctor-PDF for this, the ruby implementation, and you are looking for page breaks?

You can add manual page breaks using "<<<"

As default you have page breaks before parts and chapters. You can disable this in the theme (since 1.5.0-beta.3 if I am not mistaken, see https://github.com/asciidoctor/asciidoctor-pdf/issues/74).

See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc on how to disable automatic page breaks: chapter-break-before and part-break-before.



Alexander Schwartz (alexander.schwartz@gmx.net)
https://www.ahus1.de