summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-08-17 09:10:28 -0400
committerPeter Eisentraut <peter_e@gmx.net>2014-08-17 09:14:32 -0400
commit3d5ba5395aa0437c45441d2ca7b0973cbd060305 (patch)
treed0b0316f4d090acf002f5a09d2eb381441b3d7a4 /doc/src
parent364f7cd4b6d2bb89be55c8915fcd08b69b5eb84e (diff)
doc: Work around stylesheet bug for man build
The upstream stylesheets for man output insert a *roff comment for an occurrence of an indexterm, for reasons that have apparently been lost in history. This, however, is done incorrectly and causes some formatting problems. This hasn't been an issue until now, but the reorganization of indexterm elements inside variablelists has triggered this issue. The upstream fix (http://sourceforge.net/p/docbook/bugs/1340/) is to drop indexterms altogether in man output, and so we'll do the same here.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/stylesheet-man.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet-man.xsl b/doc/src/sgml/stylesheet-man.xsl
index 66d6733899a..1feb4f5ec06 100644
--- a/doc/src/sgml/stylesheet-man.xsl
+++ b/doc/src/sgml/stylesheet-man.xsl
@@ -180,6 +180,10 @@
</xsl:template>
+ <!-- http://sourceforge.net/p/docbook/bugs/1340/ -->
+ <xsl:template match="indexterm"/>
+
+
<!-- Gentext customization -->
<!-- see http://www.sagehill.net/docbookxsl/CustomGentext.html -->