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,
|
indentnext=no,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
$if(toc)$
|
||||||
|
\setupcombinedlist[content][list={$placelist$}]
|
||||||
|
$endif$
|
||||||
|
|
||||||
$for(header-includes)$
|
$for(header-includes)$
|
||||||
$header-includes$
|
$header-includes$
|
||||||
$endfor$
|
$endfor$
|
||||||
|
@ -69,7 +73,7 @@ $for(include-before)$
|
||||||
$include-before$
|
$include-before$
|
||||||
$endfor$
|
$endfor$
|
||||||
$if(toc)$
|
$if(toc)$
|
||||||
\placelist[$placelist$]
|
\placecontent
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
$body$
|
$body$
|
||||||
|
|
Loading…
Add table
Reference in a new issue