The following works as expected: \starttext \completecontent \chapter{one} \chapter{two} \chapter{three} \chapter{four} \stoptext But when I use the following: \starttext \chapter{one} \completecontent \chapter{two} \chapter{three} \chapter{four} \stoptext Then the contents is empty. What is happening here? -- Cecil Westerhof
Am 13.04.2011 um 22:47 schrieb Cecil Westerhof:
The following works as expected: \starttext
\completecontent
\chapter{one}
\chapter{two}
\chapter{three}
\chapter{four}
\stoptext
But when I use the following: \starttext
\chapter{one}
\completecontent
\chapter{two}
\chapter{three}
\chapter{four}
\stoptext
Then the contents is empty. What is happening here?
Use \completecontent[criterium=all]. Wolfgang
2011/4/14 Wolfgang Schuster
The following works as expected: \starttext
\completecontent
\chapter{one}
\chapter{two}
\chapter{three}
\chapter{four}
\stoptext
But when I use the following: \starttext
\chapter{one}
\completecontent
\chapter{two}
\chapter{three}
\chapter{four}
\stoptext
Then the contents is empty. What is happening here?
Use \completecontent[criterium=all].
Works. Thanks. But why is there a difference between using \completecontent immediately or later in the document. -- Cecil Westerhof
Am 15.04.2011 um 06:24 schrieb Cecil Westerhof:
But why is there a difference between using \completecontent immediately or later in the document.
The TOC is empty when you have \chapter commands before \(complete|place)content, to flush the entries you have to use now “criterium=all”, for a TOC at the end of the document you can also use “criterium=previous”. Wolfgang
2011/4/15 Wolfgang Schuster
Am 15.04.2011 um 06:24 schrieb Cecil Westerhof:
But why is there a difference between using \completecontent immediately or later in the document.
The TOC is empty when you have \chapter commands before \(complete|place)content, to flush the entries you have to use now “criterium=all”, for a TOC at the end of the document you can also use “criterium=previous”.
Thanks. I put it on the wiki. -- Cecil Westerhof
participants (2)
-
Cecil Westerhof
-
Wolfgang Schuster