From: Norman Walsh Date: Thu, 5 Jul 2001 09:53:25 +0000 (+0000) Subject: SR #431040, added generate.section.toc.level parameter to control depth of sections... X-Git-Tag: release/1.79.1~6^2~6430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b531b33c86edd7949ad24d015b5f0ca3db25093d;p=docbook-dsssl SR #431040, added generate.section.toc.level parameter to control depth of sections which get a TOC --- diff --git a/xsl/html/param.xsl b/xsl/html/param.xsl index 6da9ae556..5abf9be7a 100644 --- a/xsl/html/param.xsl +++ b/xsl/html/param.xsl @@ -932,13 +932,35 @@ in the CALS table. - + -FIXME: +Generate TOCs inside Sections? -FIXME: +If non-zero, a Table of Contents will be generated inside section +elements. If generate.section.toc.level is non-zero, +it may suppress some section TOCs. + + + + + + + + +Control depth of TOC generation in sections + +If non-zero, generate.section.toc.level controls +the depth of section in which TOCs will be generated. Note that this is +related to, but not the same as toc.section.depth, +which controls the depth to which TOC entries will be generated in a given +TOC. +If, for example, generate.section.toc.level +is 3, TOCs will be generated in first, second, and third +level sections, but not in fourth level sections. +If generate.section.toc.level is zero, it has +no effect. diff --git a/xsl/html/sections.xsl b/xsl/html/sections.xsl index 608ef8457..2c89eebd9 100644 --- a/xsl/html/sections.xsl +++ b/xsl/html/sections.xsl @@ -15,14 +15,15 @@ - - - + +