[NTG-context] Problem with \completecontent

Cecil Westerhof cldwesterhof at gmail.com
Fri Apr 15 06:24:48 CEST 2011


2011/4/14 Wolfgang Schuster <schuster.wolfgang at googlemail.com>:
>> 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


More information about the ntg-context mailing list