mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
When variable lists have a title, revert to the standard DocBook formatting
[SVN r18017]
This commit is contained in:
parent
6935fe7884
commit
027ee4e6e9
@ -13,11 +13,14 @@
|
|||||||
<xsl:param name="make.year.ranges" select="1"/>
|
<xsl:param name="make.year.ranges" select="1"/>
|
||||||
|
|
||||||
<xsl:template match="variablelist">
|
<xsl:template match="variablelist">
|
||||||
<p><xsl:apply-templates mode="boost.variablelist"/></p>
|
<xsl:choose>
|
||||||
</xsl:template>
|
<xsl:when test="title">
|
||||||
|
<xsl:apply-imports />
|
||||||
<xsl:template match="variablelist">
|
</xsl:when>
|
||||||
<p><xsl:apply-templates mode="boost.variablelist"/></p>
|
<xsl:otherwise>
|
||||||
|
<p><xsl:apply-templates mode="boost.variablelist"/></p>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="varlistentry" mode="boost.variablelist">
|
<xsl:template match="varlistentry" mode="boost.variablelist">
|
||||||
|
@ -152,7 +152,14 @@
|
|||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="variablelist">
|
<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>
|
||||||
|
|
||||||
<xsl:template match="varlistentry" mode="boost.variablelist">
|
<xsl:template match="varlistentry" mode="boost.variablelist">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user