Hi Here is my first attempt (see attachment). It works correctly in the little testing that I have done (on Windows). Just add \usemodule[ctags] somewhere in your environment file, and run context. I file called context.tags will be generated which contains the labels, filename, and line-number where the label occurs (line number can sometimes be off). I modify a few core macros, so this can possibly break existing stuff (It should not, but then ...) I found no reliable way to know the current file name. So this works correctly only if registerfileinfo is called. So one will have the correct filename when using a project structure, but not when using \input. I do not want to redefine \input, since almost everything relies on \input working correctly. I will also post the module on the garden once I am more comfortable with it. This one is too dangerous to go to the core. Aditya