Changes

Jump to navigation Jump to search
685 bytes added ,  16:53, 29 April 2013
no edit summary
{{cmd|setupheadtext|[content=All my contents]}}.
You can customize the appearance, number of shown levels and other attributes of predefined TOC. <span style="color:red; font-weight: bold;">Please note that the <code>level</code> parameter has recently (02/2010) no effect in [[Mark IV]], however you can set the number of levels used in the table of contents with the list option (see the next section)</span>, you may use {{cmd|placelist|[chapter,section]}} (optionally adding {{cmd|title|{Contents}}} before) instead of {{cmd|setupcombinedlist|[content][level=2]}}.
<context source="yes">
\subsubsubsection{Second subsubsubsection}
\stoptext
</context>
 
== Setting the Number of Sections in the Table of Contents in [[Mark IV]] ==
 
To set the number of sections included in the table of contents you can explicitly set the list of items included in the 'contents' list. To include chapter, section, and subsection, in the table of contents use:
 
<context source="yes">
\setupcombinedlist[content][list={chapter,section,subsection}]
</context>
 
Or to include subsubsection in the table of contents as well use:
 
<context source="yes">
\setupcombinedlist[content][list={chapter,section,subsection,subsubsection}]
</context>
7

edits

Navigation menu