[NTG-context] \writetolist not writing the number to the TOC

Willi Egger w.egger at boede.nl
Sat Mar 25 23:05:00 CET 2023

Good evening!

I have a setup in which I need to send info to the TOC:

Consider the following example:



  \input knuth
  \startsubject[title=Subject will be in TOC]
    \writetolist[chapter]{1}{I am in TOC!}
    \input ward


According to the Wiki I should get te number (1) in the TOC. Instead the text starts at the height of the chapter-numbering and is not carrying the given number.

Am I doing something wrong?

Kind regards

More information about the ntg-context mailing list