[texhax] Locating macros

Yo Sato yosato16 at gmail.com
Mon Jul 7 16:55:24 CEST 2008


Hi all,

I was wondering what's the best way to locate the source of a
macro/command (ie which file the definition resides in).

The only way I know at the moment is simply go through the loaded
style files, first the personal and then the default /texmf
directories, which can become a big hassle. Also, this method would
fail to uniquely identify the definition that is actually used, if
there are multiple occurrences of the same-named macro across
different files...

So I feel there must be a better way. I use \show to show the
'content' of a macro, but it doesn't tell you where it comes from...

Advice would be appreciated.

Yo


More information about the texhax mailing list