23 Jul
2009
23 Jul
'09
5:16 p.m.
Am 23.07.2009 um 17:05 schrieb Aditya Mahajan:
I think an easier thing to do will be to follow latex's style of \newcommand and \renewcommand. That is, all \definecommands should check if the macro is previously defined or not. If it is defined, issue a warning or an error.
There is \define and \redefine.
And maybe have some hook to disable the warning/error for those who know what they are doing.
In this case you can use \def, \edef ... Wolfgang