openSUSE / suse-xsl

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

Chunking on article level doesn't work #445

Closed tomschr closed 1 year ago

tomschr commented 2 years ago

Problem Description

For the Trento doc, Lee would like to see chunked HTML. This would enable us to link from the Web page to specific portions in the doc. I've tried to enable chunking in the DC-SLES-SAP-trento file with:

XSLTPARAM="--stringparam chunk.section.depth=1"

Although it creates the expected chunks, the header hides some parts of the text (it's too big). It seems, some CSS rules are missing.

Expected Behaviour

The header is the same as with a book.

tomschr commented 1 year ago

If we assume articles are short and don't need chunking, then we don't want to change that. If chunking is really required, use book tags.

Closing this for the moment.