Aditya Mahajan wrote:
> 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 didn't look at the code yet, but maybe a hook is a safer way?
>
> 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.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context