DocBook xslTNG Reference

Author: Norman Walsh
Version 1.8.0
Updated:
Revision history
Revision History
  • 1.8.0, 24 Jul 2022
    • Reworked CSS. The CSS stylesheets, especially the stylesheets related to print output, have been updated and the mechanism by which CSS links are added to the output has changed.

      The $css-links parameter no longer exists (nor does the corresponding $v:css-links variable). It has been replaced by the $user-css-links and $use-docbook-css parameters.

    • Added an $output-media parameter to allow conditional behavior based on output medium (screen or print).

    • Added $page-style and $paper-size parameters for controlling aspects of print output.

    • Some class attribute values have been changed.

      • The page style, page size, and “draft” classes are now reflected on the top-level html element.

      • The class attribute value “division” is added to book, part, and reference elements.

      • The class attribute value “component” is added to acknowledgements, appendix, article, bibliography, chapter, colophon, dedication, glossary, index, partintro, preface, and refentry elements.

      • The class attribute value “formalobject” is added to equation, example, figure, formalgroup, and table elements.

      • The class attribute value “informalobject” is added to informalequation, informalexample, informalfigure, and informaltable elements.

    • There is now CSS support for adding a “draft” watermark to documents with a draft status (for both screen and print renderings).

    • An extra wrapper has been added to the content of revision in a revhistory.

    • A bug has been fixed where sidebar was accidentally being rendered in the DocBook namespace.

    • Prism highlighting has been updated to version 1.28.0.

    • Highlight.js highlighting has been updated to version 11.6.0 and is now part of the distribution rather than relying on CDN access.

Table of Contents