diff options
author | Aditya Mahajan <adityam@umich.edu> | 2013-02-20 02:44:42 -0500 |
---|---|---|
committer | Aditya Mahajan <adityam@umich.edu> | 2013-02-20 02:44:42 -0500 |
commit | e5d22ce91a614d8a8d4a7bec870f6fbcd4756396 (patch) | |
tree | f01ace9057217aeeb47aadbe09fa72ca6add48f4 /default.context | |
parent | ad3af80a4ffcea4b5a355c49c6c5fb99f0e66f2d (diff) | |
download | pandoc-e5d22ce91a614d8a8d4a7bec870f6fbcd4756396.tar.gz |
Canonical way to set TOC depth
Use `\placecontent` instead of `\placelist` as `\placecontent` is easier to
configure.
Diffstat (limited to 'default.context')
-rw-r--r-- | default.context | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/default.context b/default.context index fe1509c65..3fdb0a2a0 100644 --- a/default.context +++ b/default.context @@ -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$ |