When variable lists have a title, revert to the standard DocBook formatting

[SVN r18017]
This commit is contained in:
Douglas Gregor 2003-03-19 20:07:27 +00:00
parent 6935fe7884
commit 027ee4e6e9
2 changed files with 16 additions and 6 deletions

View File

@ -13,11 +13,14 @@
<xsl:param name="make.year.ranges" select="1"/>
<xsl:template match="variablelist">
<p><xsl:apply-templates mode="boost.variablelist"/></p>
</xsl:template>
<xsl:template match="variablelist">
<p><xsl:apply-templates mode="boost.variablelist"/></p>
<xsl:choose>
<xsl:when test="title">
<xsl:apply-imports />
</xsl:when>
<xsl:otherwise>
<p><xsl:apply-templates mode="boost.variablelist"/></p>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="varlistentry" mode="boost.variablelist">

View File

@ -152,7 +152,14 @@
</xsl:template>
<xsl:template match="variablelist">
<p><xsl:apply-templates mode="boost.variablelist"/></p>
<xsl:choose>
<xsl:when test="title">
<xsl:apply-imports />
</xsl:when>
<xsl:otherwise>
<p><xsl:apply-templates mode="boost.variablelist"/></p>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="varlistentry" mode="boost.variablelist">