postgres.git / summary / log / commit / refs
commit 3d5ba5395aa0437c45441d2ca7b0973cbd060305
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Sun Aug 17 13:10:28 2014 +0000
First released in: 9.5.0, 9.4.0
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.
doc/src/sgml/stylesheet-man.xsl | 4 ++++
1 file changed, 4 insertions(+)
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 -->
[parent: 364f7cd4b6d2]