From f79b00ec032b29752b998f99790df8d9f1e8f950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20M=C3=BCller?= Date: Tue, 1 May 2018 17:01:03 +0200 Subject: [PATCH] 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 --- .travis.yml | 2 +- README.md | 2 +- guide/resources/chunk.xsl | 2 +- guide/resources/single-page.xsl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 87e508e..5964be7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ addons: packages: - libxml2-utils - xsltproc - - docbook-xsl + - docbook-xsl-ns - docbook5-xml script: | diff --git a/README.md b/README.md index 8b1027e..c302217 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/guide/resources/chunk.xsl b/guide/resources/chunk.xsl index c805214..5ccc76b 100644 --- a/guide/resources/chunk.xsl +++ b/guide/resources/chunk.xsl @@ -1,5 +1,5 @@ - + diff --git a/guide/resources/single-page.xsl b/guide/resources/single-page.xsl index d9401df..72f74fa 100644 --- a/guide/resources/single-page.xsl +++ b/guide/resources/single-page.xsl @@ -1,5 +1,5 @@ - +