mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-22 07:25:36 +00:00
Canonical way to set TOC depth
Use `\placecontent` instead of `\placelist` as `\placecontent` is easier to configure.
This commit is contained in:
+5
-1
@@ -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$
|
||||
|
||||
Reference in New Issue
Block a user