Skip to content

min-height-after: auto ignores %unbreakable table option #2520

@pstueck

Description

@pstueck

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.

  1. With wrapper and min-height-after-auto (images clipped for privacy reasons) ...
    image
  2. Without wrapper (the table options say unbreakable) and min-height-after-auto ...
    image
  3. And without wrapper and without min-height-after ...
    image

Personally I think, the rendering here should always happen as in 1.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions