Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
doc: Simplify handling of variablelists in XSLT build
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 30 Nov 2013 03:42:47 +0000 (22:42 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 30 Nov 2013 03:42:47 +0000 (22:42 -0500)
The previously used custom template is no longer necessary because
parameters provided by the standard style sheet can achieve the same
outcome.

doc/src/sgml/stylesheet-common.xsl
doc/src/sgml/stylesheet.xsl

index d0e0f19c136a399114e349d8de90c046b3d47b0f..8486cfb1bbd3dca0d643c6de1904dbdcd35b2fc8 100644 (file)
@@ -38,6 +38,8 @@
 <xsl:param name="refentry.xref.manvolnum" select="0"/>
 <xsl:param name="formal.procedures" select="0"></xsl:param>
 <xsl:param name="punct.honorific" select="''"></xsl:param>
+<xsl:param name="variablelist.term.break.after">1</xsl:param>
+<xsl:param name="variablelist.term.separator"></xsl:param>
 
 
 <!-- Change display of some elements -->
index db3f72aac114fc8651428dbad5d7d9ad9762de10..9dd4da6c7fdfee6a8ef2999d3a7fde888cc223fb 100644 (file)
   <xsl:call-template name="inline.monoseq"/>
 </xsl:template>
 
-<!--
-  Format multiple terms in varlistentry vertically, instead
-  of comma-separated.
- -->
-
-<xsl:template match="varlistentry/term[position()!=last()]">
-  <span class="term">
-    <xsl:call-template name="anchor"/>
-    <xsl:apply-templates/>
-  </span><br/>
-</xsl:template>
-
 
 <!-- table of contents configuration -->