Canonical way to set TOC depth
Use `\placecontent` instead of `\placelist` as `\placecontent` is easier to configure.
This commit is contained in:
parent
ad3af80a4f
commit
e5d22ce91a
1 changed files with 5 additions and 1 deletions
|
@ -45,6 +45,10 @@ $endif$
|
|||
indentnext=no,
|
||||
]
|
||||
|
||||
$if(toc)$
|
||||
\setupcombinedlist[content][list={$placelist$}]
|
||||
$endif$
|
||||
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
|
@ -69,7 +73,7 @@ $for(include-before)$
|
|||
$include-before$
|
||||
$endfor$
|
||||
$if(toc)$
|
||||
\placelist[$placelist$]
|
||||
\placecontent
|
||||
$endif$
|
||||
|
||||
$body$
|
||||
|
|
Loading…
Add table
Reference in a new issue