On Tue, Nov 11, 2008 at 12:08 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote:

>
> Alan STONE wrote:
> >
> > I tried \tracingmacros=1 but that's not what I'm looking for.
> \tracingassigns=1 is as close as you can get.


Considering the enormous amount of information these \tracing* commands
blurp into the log file, I think I'll read Tolstoy's "War and Peace"
instead.  ;O)


> Otherwise, you will end up with extremely dangerous constructs
> like this trick that may very well interfere with what you are
> trying to debug:
>
>   \let\normaldef\def
>   \def\dumpDEF
>     {\immediate\write16
>       {\expandafter\string\theDEF=\expandafter\meaning\theDEF}}
>   \unexpanded\normaldef\def#1% yes, this redefines \def!
>     {\normaldef\theDEF{#1}\afterassignment\dumpDEF\normaldef#1}


Thanks a lot Taco. This is better already, though still too much information
in the log file to be user friendly.

Would it be possible to restricts the output to the \def'\s which begin with
specific characters, for example "my" as in \def\my* ?

Or...

Do you know some tool (Windows/Linux) which enables to filter these from the
log file into a text file, or delete the unwanted ones from the log file ?

Best,
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to