Hello Pablo, thanks for the reply.
What I want is to dynamically attach notes and comments to my base text. For
example, say I have a base ConTeXt file
```
\starttext
Foo, bar
baz, quux
\stoptext
```
and an external "glossary" file (the details don't matter much):
```
bar : <definition>
baz: <definition>
```
I'd to rig the document compilation so that, e.g., the definition for the words
listed in the glossary get automatically added to the source, so what actually
gets compiled is something like:
```
\starttext
Foo, \Definition[<definition>]{bar}
\Definition[<definition>]{baz}, quux
\stoptext
```
Thus keeping the base text and the annotations cleanly separate. I've already
managed to get it to work (using `resolvers.installinputlinehandlers`), but I
wonder if there's a better way.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________