[NTG-context] Automatically setting the value of list key in annotation module

Aditya Mahajan adityam at umich.edu
Tue Dec 8 08:47:15 CET 2020


Hi,

In the annotation module, is it possible to automatically set the value of the `list` key to be the same as the value of `title` key (as is the case with \startsection, for example).

Here is a non-working example:


\usemodule[annotation]

\defineannotation[test][alternative=paragraph]

\starttext

\placelist[test][criterium=all]

\starttest[title={This is a title}]
  \input ward
\stoptest

\starttest[title={This is another title}, list={This is in the 2nd list}]
  \input ward
\stoptest

I want the first title to also be added to the list.

Thanks,
Aditya


More information about the ntg-context mailing list