[NTG-context] Completecontent has problems with chapter in table

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Thu Nov 22 22:31:58 CET 2018


Hi Huseyin,

I can’t reproduce your problem with the table of contents with the 
current beta.

BTW: What if your goal with the \chapter in the table because this 
creates a wrong value for the chapter counter. If your goal is to put a 
frame around the chapter you can use the framedtext environment which 
doesn’t lead to a wrong chapter number.

Wolfgang


Huseyin Özoguz schrieb am 22.11.18 um 14:37:
> Hello together,
>
> I have this min-example:
>
> \starttext
>
> \completecontent[criterium=all]
>
> \chapter{craigs}
>
> {\bTABLE
> \bTR\bTD
> \chapter{whatever}
> \eTD \eTR
> \eTABLE}
>
> \chapter{gooff}
>
> \completecontent[criterium=previous]
>
> \stoptext
>
> As you see, the \completecontent[criterium=previous] works fine, it 
> lists all chapters. But the \completecontent[criterium=all] does not, 
> only lists the first chapter. How to fix this?
>
> Thank you!
> Huseyin


More information about the ntg-context mailing list