Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55:
\defineregister[todos]
% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}
\chapter{Something}
\TODO{This is still empty!}
% at the end of the book
\chapter{work list}
\placetodos
\define[1]\TODO{\expanded{\todos{\structurevariable{title}}}}
What is the purpose of the argument for \TODO when you don't use it?
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________