How do I tell \completecontent not to include anything below the \chapter level?
Am 20.08.2014 um 16:14 schrieb Gerben Wierda
See subject. Same question for other levels.
Method 1 (MkII only): \starttext \completecontent[level=chapter] \dorecurse{10} {\chapter{Chapter #1} \dorecurse{2} {\section{Section #1.##1} \dorecurse{2}{\subsection{Subsection #1.##1.####1}}}} \stoptext Method 2 (MkII and MkIV): \definecombinedlist[content][chapter] \starttext \completecontent \dorecurse{10} {\chapter{Chapter #1} \dorecurse{2} {\section{Section #1.##1} \dorecurse{2}{\subsection{Subsection #1.##1.####1}}}} \stoptext Method 3 (MkIV only): \starttext \completecontent[list=chapter] % list={chapter,section} \dorecurse{10} {\chapter{Chapter #1} \dorecurse{2} {\section{Section #1.##1} \dorecurse{2}{\subsection{Subsection #1.##1.####1}}}} \stoptext Wolfgang
participants (2)
-
Gerben Wierda
-
Wolfgang Schuster