Bug 27315: use the namespace-aware docbook stylesheet
authorAndreas Roussos <a.roussos@dataly.gr>
Tue, 11 Oct 2022 06:41:15 +0000 (08:41 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 18 Oct 2022 00:10:06 +0000 (21:10 -0300)
commit43ecb3c86c8770ae2606dc0f64aa316a35bc8adf
tree2bf2274ded6dca61ad7ea7febaf8563a61ce8d64
parentc184e88464d60e0b1fec70d2b74eb9f206aa9d9a
Bug 27315: use the namespace-aware docbook stylesheet

When viewing the man page for the `koha-list` command, the output does
not appear correctly: there appears to be a "staircase"-like effect on
the text. The same is true for all other man pages.

The source XML files for our man pages have the following namespace
declaration at the top: xmlns='http://docbook.org/ns/docbook', which
means they are DocBook V5.0 documents and should be processed by
namespace-aware DocBook XSL stylesheets.

This patch fixes that by using the DocBook-to-man-page transformation
stylesheet from the docbook-xsl-ns package (note the "-ns" suffix).

Test plan:
1) Apply the patch
2) Build and install new package
3) Confirm the man pages display correctly

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
debian/control.in
debian/rules