13 Feb
2008
13 Feb
'08
10:21 a.m.
luigi scarso wrote:
I would not do it like that again, these days I would use lpeg, but it was not nearly as complicated to do it in tex macros as I had anticipated. A bit off-topic: suppose that I , while I'm making format , I need to trace macro definitions (\edef,\xdef,\def,\let and eventually alias like \let\define\def, so also \define too,...) This can be do only hacking web source , or not ?
If you set \tracingassigns=1 \tracingrestores=1 you will get a dump in the log of all assignments (and that includes definitions) as well as restores. You will not get the full definitions of macros though, just the first 32 tokens. If you want the full definition, you really have to hack the web source. Best wishes, Taco