Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<refentry xmlns=""
          version="5.0" xml:id="generate.section.toc.level">
<refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
<refpurpose>Control depth of TOC generation in sections</refpurpose>

<src:fragment xml:id="generate.section.toc.level.frag">
<xsl:param name="generate.section.toc.level" select="0"/>


<para>The <parameter>generate.section.toc.level</parameter> parameter
controls the depth of <tag>section</tag> in which TOCs will be generated. Note
that this is related to, but not the same as
<parameter>toc.section.depth</parameter>, which controls the depth to
which TOC entries will be generated in a given TOC.</para>
<para>If, for example, <parameter>generate.section.toc.level</parameter>
is <literal>3</literal>, TOCs will be generated in first, second, and third
level sections, but not in fourth level sections.

New to GrepCode? Check out our FAQ X