Hello Hans, thanks for the reply.
If I understand correctly, these synonyms would still require me to modify the
source text, namely to add the appropriate synonym macros.
What I'm trying to do is to make this code injection happen completely
non-intrusively, during compilation only; not modifying the main source code at
all, otherwise.
While this is probably a nightmare to deal with in the general case (having to
deal with arbitrary macros, etc.), it makes sense for my use case: large bodies
of plain, easy to parse, text (save for an occasional \italic{...}, etc.,
simple stuff), and ready-made glossary files.
If I end up producing something a bit more robust I might link it here, in case
it interests someone else.
Thank you for the suggestions.
___________________________________________________________________________________
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
___________________________________________________________________________________