asciidoctor / asciidoctorj-pdf

AsciidoctorJ PDF bundles the Asciidoctor PDF RubyGem (asciidoctor-pdf) so it can be loaded into the JVM using JRuby.
Apache License 2.0
35 stars 17 forks source link

%breakable option on sections seems not to work as I expected it #75

Closed TH-RBK closed 2 years ago

TH-RBK commented 2 years ago

Hi, one big problem in asciidoctor-pdf was that section titles may be separated from the first block of the section.

I thought, that a feature regarding this problem was implemented in 2.0.x, but I did not work as expected.

The documentation tells me to put [%breakable] in the line before the title and I expected that the title and the following block got on the next page.

But as you see in the attached screenshot, the block is split over two pages. grafik

Here is the relevant code block.

Hier wird bis zur jeweiligen Maximalzahl aufgefüllt und bei Erreichen einer Maximalzahl wieder analog Schritt 6 die Suchmenge aufgeräumt.

[%breakable]
==== Schritt 11: XXXXXXX

Sollte XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX 0 ist.

Auf XXXXXXX.

Am I doing something wrong or is this feature not implemented in asciidoctorj-pdf?

Thanks for your help!!!

abelsromero commented 2 years ago

This questions are better addressed at https://asciidoctor.zulipchat.com. Keep in mind asciidoctorj-pdf offers Java bindings for the asciidoctor-pdf Ruby gem.

TH-RBK commented 2 years ago

Thanks, for the information. I opened a thread on zulip.