Only show three levels of contents.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 8 Dec 2009 10:22:29 +0000 (11:22 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 8 Dec 2009 10:22:29 +0000 (11:22 +0100)
Utils/Formats.tex

index 8836a9628327d9c53bdad5d30f44c5e16ad91184..fde79e53ac36623915a587c0602b200eb3c2e7ea 100644 (file)
@@ -38,6 +38,9 @@
 % Put a bit of space betwen paragraphs, to make them easier to distinguish.
 \setupwhitespace[small]
 
+% Only show three levels in the table of contents. Passing level= to
+% setupcombinedlist didn't seem to work, so we'll do it like this.
+\definecombinedlist     [content][chapter,section,subsection]
 % Use the c alternative for the toc, which uses dots between the section
 % name and the page number.
 \setupcombinedlist      [content][alternative=c]