Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3d5ba53

Browse files
committed
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.
1 parent 364f7cd commit 3d5ba53

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/src/sgml/stylesheet-man.xsl

+4
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@
180180
</xsl:template>
181181

182182

183+
<!-- http://sourceforge.net/p/docbook/bugs/1340/ -->
184+
<xsl:template match="indexterm"/>
185+
186+
183187
<!-- Gentext customization -->
184188

185189
<!-- see http://www.sagehill.net/docbookxsl/CustomGentext.html -->

0 commit comments

Comments
 (0)