]> granicus.if.org Git - docbook-dsssl/commitdiff
Bug #719142: make FOP generate ToCs more generously
authorNorman Walsh <ndw@nwalsh.com>
Tue, 3 Jun 2003 09:50:41 +0000 (09:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Tue, 3 Jun 2003 09:50:41 +0000 (09:50 +0000)
xsl/fo/fop.xsl

index 9520dfae3821e185f060aa9c017769b91a11b5be..0eeb3598f0ebe924cd79177ffbf5db5f63f2460e 100644 (file)
@@ -62,10 +62,12 @@ translates characters with code>255 back to ASCII.
           <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
         </xsl:call-template>
       </xsl:variable>
+
       <xsl:if test="contains($toc.params, 'toc')
-                    and section|sect1|refentry
-                        |article|bibliography|glossary
-                        |appendix">
+                    and (book|part|reference|preface|chapter|appendix|article
+                         |glossary|bibliography|index|setindex
+                         |refentry
+                         |sect1|sect2|sect3|sect4|sect5|section)">
         <fox:outline internal-destination="toc...{$id}">
           <fox:label>
             <xsl:call-template name="gentext">