Canonical way to set TOC depth

Use `\placecontent` instead of `\placelist` as `\placecontent` is easier to
configure.
This commit is contained in:
Aditya Mahajan 2013-02-20 02:44:42 -05:00
parent ad3af80a4f
commit e5d22ce91a

View file

@ -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$