openSUSE / suse-xsl

DocBook XSL Stylesheets for SUSE branding
Other
11 stars 10 forks source link

Unfortunate line break in variablelist #411

Open taroth21 opened 4 years ago

taroth21 commented 4 years ago

Variablelists are sometimes rendered strangely, for example, in one case a page break appears after the <term/> and before the <listitem/>. Even adding a processing instruction (Toms can add the details) did not change this.

See https://github.com/SUSE/doc-sle/files/3961679/cha-common-criteria_remarks_color_draft_en.pdf for an example. In https://github.com/SUSE/doc-sle/pull/508, the file from which the PDF was built is hardening.xml, l. 494.

tomschr commented 4 years ago

We've tried to add a <?pdfpagebreak?> PI, but it doesn't work too. Could also be related to a FOP issue.

janajaeger commented 2 years ago

@tomschr is there an elegant way to fix this at all?

janajaeger commented 1 year ago

@tomschr check for the keep-together attribute and report back. Does FOP fully support it?

tomschr commented 1 year ago

Confirmed.