I think I had a good idea how to keep an overview of the “todos” in my
book project:
\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
But the section title is always "work list" in the "todos" index.
I guess I need some expansion and tried \expanded, \safeexpanded,
\expandoneargafter, \fullexpandoneargafter, but probably not in the
right place.
How does this work?
Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________