summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2013-11-30 03:42:47 +0000
committerPeter Eisentraut2013-11-30 03:42:47 +0000
commit1eafea5d1bc5cf934eaf96e65115841fe3829986 (patch)
tree0c914f5a41b11ddd3f2cba6ea531b1c99db6cc4c
parent2393c7d102368717283d7121a6ea8164e902b011 (diff)
doc: Simplify handling of variablelists in XSLT build
The previously used custom template is no longer necessary because parameters provided by the standard style sheet can achieve the same outcome.
-rw-r--r--doc/src/sgml/stylesheet-common.xsl2
-rw-r--r--doc/src/sgml/stylesheet.xsl12
2 files changed, 2 insertions, 12 deletions
diff --git a/doc/src/sgml/stylesheet-common.xsl b/doc/src/sgml/stylesheet-common.xsl
index d0e0f19c13..8486cfb1bb 100644
--- a/doc/src/sgml/stylesheet-common.xsl
+++ b/doc/src/sgml/stylesheet-common.xsl
@@ -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 -->
diff --git a/doc/src/sgml/stylesheet.xsl b/doc/src/sgml/stylesheet.xsl
index db3f72aac1..9dd4da6c7f 100644
--- a/doc/src/sgml/stylesheet.xsl
+++ b/doc/src/sgml/stylesheet.xsl
@@ -36,18 +36,6 @@
<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 -->