]> granicus.if.org Git - docbook-dsssl/commitdiff
Add support in TOC for article as child of set.
authorBob Stayton <bobs@sagehill.net>
Fri, 29 Aug 2014 23:05:25 +0000 (23:05 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 29 Aug 2014 23:05:25 +0000 (23:05 +0000)
xsl/fo/autotoc.xsl

index 07383c74dd6fb93f5820a0531fd7d80404a09a2a..de032d5fd0a57b040e6332071df430fc668971ed 100644 (file)
@@ -30,7 +30,7 @@
     </xsl:call-template>
   </xsl:variable>
 
-  <xsl:variable name="nodes" select="book|set|setindex"/>
+  <xsl:variable name="nodes" select="book|set|setindex|article"/>
 
   <xsl:if test="$nodes">
     <fo:block id="toc...{$id}"
     <xsl:with-param name="toc-context" select="$toc-context"/>
   </xsl:call-template>
 
-  <xsl:variable name="nodes" select="set|book|setindex"/>
+  <xsl:variable name="nodes" select="set|book|setindex|article"/>
 
   <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>