-
Notifications
You must be signed in to change notification settings - Fork 502
Closed
Description
AsciiDoctor-Pdf as of IntelliJ plugin 0.41.14 resp. Asciidoctor PDF 2.3.15 using Asciidoctor 2.0.23
When I set the style entry heading-min-height-after: auto
, the table caption no longer respects %unbreakable
(in the table’s attribute list).
Setting a fixed value (e.g. heading-min-height-after: 20
) or deactivating the entry completely, keeps the %unbreakable
table and its table caption together again.
Actual known workaround: enclose table and caption in an unbreakable block.
Just as I did that … without this wrapping, asciidoctor-pdf seems to think that a heading immediately followed by an unbreakable table do not belong together.
- With wrapper and min-height-after-auto (images clipped for privacy reasons) ...
- Without wrapper (the table options say unbreakable) and min-height-after-auto ...
- And without wrapper and without min-height-after ...
Personally I think, the rendering here should always happen as in 1.