DocBook xslTNG 2.5.0
Version 2.5.0 of the stylesheets is a major release with some (maybe) backwards incompatible changes.
The big change in this release is that the processing for verbatim environments
(programlisting
, screen
, literallayout
, address
, etc.) has been
refactored and largely rewritten. This started with
issue #556 (thank you wirepatch).
If you’re upgrading from an earlier release, it’s worth checking how the verbatim environments are rendered. It isn’t supposed to render differently, but it might, especially if you’ve made customizations either at the stylesheet or CSS layer.
The big changes are outlined in the changelog and I’ve rewritten the reference documentation on verbatim environments to clarify how it works and how the various options interact.
If you’re interested in using JavaScript highlighters (highlight.js or prism), you should find things are easier and more orthogonal. In particular, it’s now possible to get line numbers with JavaScript highlighters.
I also added support for a new $use-id-as-filename
parameter and fixed a bug
in link processing.