git.iko.soy/typeable/pandoc
on master help sign in
Canonical way to set TOC depth

Use `\placecontent` instead of `\placelist` as `\placecontent` is easier to configure.

commite5d22ce91a614d8a8d4a7bec870f6fbcd4756396 authorAditya Mahajan <adityam@umich.edu> dateWed 20 Feb 2013, 02:44 (14 years ago) parentad3af80
1 file changed+5−1
default.context+5−1
default.context+5−1
@@ -45,6 +45,10 @@ $endif$
4545 indentnext=no,
4646 ]
4747
48+$if(toc)$
49+\setupcombinedlist[content][list={$placelist$}]
50+$endif$
51+
4852$for(header-includes)$
4953$header-includes$
5054$endfor$
@@ -69,7 +73,7 @@ $for(include-before)$
6973$include-before$
7074$endfor$
7175$if(toc)$
72−\placelist[$placelist$]
76+\placecontent
7377$endif$
7478
7579$body$