]> granicus.if.org Git - docbook-dsssl/commitdiff
Added sect1 through sect5, which allows such section ToCs to be
authorBob Stayton <bobs@sagehill.net>
Tue, 2 Jul 2002 22:30:01 +0000 (22:30 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 2 Jul 2002 22:30:01 +0000 (22:30 +0000)
controlled by just setting the generate.section.toc.level
parameter.

xsl/params/generate.toc.xml

index 26393b40cf990b45bd53fcaa973e36f448c1790c..a5af7d8c46e4ec4be6ba5a8172d9aeb329af8264 100644 (file)
@@ -20,6 +20,11 @@ preface   toc
 qandadiv  toc
 qandaset  toc
 reference toc
+sect1     toc
+sect2     toc
+sect3     toc
+sect4     toc
+sect5     toc
 section   toc
 set       toc
 </xsl:param>
@@ -33,6 +38,11 @@ part      toc
 qandadiv  toc
 qandaset  toc
 reference toc
+/sect1    toc
+/sect2    toc
+/sect3    toc
+/sect4    toc
+/sect5    toc
 /section  toc
 set       toc
 </xsl:param>
@@ -84,5 +94,10 @@ entry disables ToCs and LoTs for articles:</para>
 without a matching value. That'd be just begging the silly little
 path/value parser to get confused.</para>
 
+<para>Section ToCs are further controlled by the
+<parameter>generate.section.toc.depth</parameter> parameter.
+For a given section level to have a ToC, it must have both an entry in 
+<parameter>generate.toc</parameter> and be within the range enabled by
+<parameter>generate.section.toc.depth</parameter>.
 </refsect1>
 </refentry>