]> granicus.if.org Git - docbook-dsssl/commitdiff
Added 'index' to selected nodes for component.toc. Since it is
authorBob Stayton <bobs@sagehill.net>
Fri, 7 May 2004 20:04:57 +0000 (20:04 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 7 May 2004 20:04:57 +0000 (20:04 +0000)
permitted by the DTD, it should be in the TOC.

xsl/fo/autotoc.xsl
xsl/html/autotoc.xsl

index 8201b3aaa337548ccc40858a1be1cff75605b9c2..1001782c65aae99b0f3eaa9f1735aac83cce5209 100644 (file)
 
   <xsl:variable name="nodes" select="section|sect1|refentry
                                      |article|bibliography|glossary
-                                     |appendix"/>
+                                     |appendix|index"/>
   <xsl:if test="$nodes">
     <fo:block id="toc...{$id}"
               xsl:use-attribute-sets="toc.margin.properties">
index 05d7e6ec9bee326488bf73ab03eb95b163d02139..b3cbb4729d6876f81346d4f3961ba2add86437cf 100644 (file)
     <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
     <xsl:with-param name="nodes" select="section|sect1|refentry
                                          |article|bibliography|glossary
-                                         |appendix
+                                         |appendix|index
                                          |bridgehead[not(@renderas)
                                                      and $bridgehead.in.toc != 0]
                                          |.//bridgehead[@renderas='sect1'