[NTG-context] Macro question - uppercase

2009-04-21 Thread Wolfgang Schuster
Hi, I have a macros which I use in a environment with uppercase letters but I want to define them in my module as lowercase with namespace and look for the best method to convert all of them from lowercase to uppercase, below is what I have for the moment, is there a better how I can do this

Re: [NTG-context] Macro question - uppercase

2009-04-21 Thread Hans Hagen
Wolfgang Schuster wrote: Hi, I have a macros which I use in a environment with uppercase letters but I want to define them in my module as lowercase with namespace and look for the best method to convert all of them from lowercase to uppercase, below is what I have for the moment, is there a

Re: [NTG-context] Macro question - uppercase

2009-04-21 Thread Wolfgang Schuster
Am 21.04.2009 um 16:22 schrieb Hans Hagen: \def\savedcommands#1% {\edef\ascii{\csname saved!#1\endcsname}% \uppercase{\expandafter\let\csname#1\endcsname\ascii}} dirty eh? \def\savedcommands#1% {\uppercase{\expandafter\let\csname#1\expandafter\endcsname}\csname saved!#1\endcsname}