Changes between Initial Version and Version 2 of Ticket #55946
- Timestamp:
- Mar 5, 2018, 3:08:44 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55946 – Description
initial v2 2 2 3 3 I am trying to use non-namespace DocBook to build the PostgreSQL documentation, but I suspect there may be a packaging bug in docbook-xsl. I see two ports: 4 4 {{{ 5 5 docbook-xsl @1.79.2_1 (textproc) 6 6 The docbook xsl stylesheets … … 8 8 docbook-xsl-ns @1.76.1_1 (textproc) 9 9 DocBook XSL NS (namespaced) Stylesheets 10 10 }}} 11 11 This appears to be like the way DocBook XSL is packaged in other distributions: a version without namespaces and a version with namespaces. For example, Debian and FreeBSD also have packages called docbook-xsl and docbook-xsl-ns. However, in the MacPorts docbook-xsl port I see that namespaces *are* used. For example /opt/local/share/xsl/docbook-xsl/common/labels.xsl I see templates with namespace-prefixed match attributes like these: 12 12 {{{ 13 13 <xsl:template match="d:chapter" mode="label.markup"> 14 14 <xsl:template match="d:appendix" mode="label.markup"> 15 15 }}} 16 16 On a Debian or FreeBSD system, labels.xsl has those particular lines as: 17 17 {{{ 18 18 <xsl:template match="chapter" mode="label.markup"> 19 19 <xsl:template match="appendix" mode="label.markup"> 20 20 }}} 21 21 On those other systems, the docbook-xsl-ns package installs a version with those d: prefixes under a separate docbook-ns directory. 22 22