summaryrefslogtreecommitdiff
path: root/html/autotoc.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'html/autotoc.xsl')
-rw-r--r--html/autotoc.xsl13
1 files changed, 11 insertions, 2 deletions
diff --git a/html/autotoc.xsl b/html/autotoc.xsl
index 864ea79..58b3851 100644
--- a/html/autotoc.xsl
+++ b/html/autotoc.xsl
@@ -3,7 +3,7 @@
version='1.0'>
<!-- ********************************************************************
- $Id: autotoc.xsl 9692 2012-12-16 02:31:34Z dcramer $
+ $Id: autotoc.xsl 9935 2014-08-29 21:29:14Z bobstayton $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
@@ -183,7 +183,7 @@
<xsl:call-template name="make.toc">
<xsl:with-param name="toc-context" select="$toc-context"/>
<xsl:with-param name="toc.title.p" select="$toc.title.p"/>
- <xsl:with-param name="nodes" select="book|setindex|set"/>
+ <xsl:with-param name="nodes" select="book|setindex|set|article"/>
</xsl:call-template>
</xsl:template>
@@ -392,6 +392,15 @@
</span>
</xsl:template>
+<xsl:template match="set" mode="toc">
+ <xsl:param name="toc-context" select="."/>
+
+ <xsl:call-template name="subtoc">
+ <xsl:with-param name="toc-context" select="$toc-context"/>
+ <xsl:with-param name="nodes" select="set|book|setindex|article"/>
+ </xsl:call-template>
+</xsl:template>
+
<xsl:template match="book" mode="toc">
<xsl:param name="toc-context" select="."/>