Makefile: Switch to docbook-xsl-ns for DocBook 5.0

With the switch to DocBook 5.0, the DocBook XSL stylesheets should have
been switched to the namespaced variant [1]. However, at that time, the
docbook-xsl port already provided the namespaced version due to
a mistake [2]. While namespace stripping seems to work, explicitly
switch to docbook-xsl-ns now.

[1] https://docbook.org/docs/howto/howto.html#processing
[2] https://trac.macports.org/ticket/55946
This commit is contained in:
Rainer Müller
2018-05-01 17:01:03 +02:00
committed by Rainer Müller
parent ac4ef8918f
commit f79b00ec03
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ addons:
packages:
- libxml2-utils
- xsltproc
- docbook-xsl
- docbook-xsl-ns
- docbook5-xml
script: |
+1 -1
View File
@@ -26,7 +26,7 @@ DocBook XML sources to the desired output format. You can install them from
MacPorts with this command:
```
$ sudo port install libxml2 libxslt docbook-xsl docbook-xml-5.0
$ sudo port install libxml2 libxslt docbook-xsl-ns docbook-xml-5.0
```
### HTML Output
+1 -1
View File
@@ -1,5 +1,5 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/chunk.xsl"/>
<xsl:include href="base.xsl"/>
<!-- Include tab switching for chunk and single-page -->
<xsl:include href="tabs.xsl"/>
+1 -1
View File
@@ -1,5 +1,5 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/profile-docbook.xsl"/>
<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/profile-docbook.xsl"/>
<xsl:include href="base.xsl"/>
<!-- Include tab switching for chunk and single-page -->
<xsl:include href="tabs.xsl"/>