On Fri, Mar 13, 2009 at 5:54 PM, Hans Hagen
Wolfgang Schuster wrote:
On Fri, Mar 13, 2009 at 3:56 PM, Hans Hagen
wrote: \getcheckedparameters[MyTest][MyNamespace][a=1,b=2,c=3,d=4,crap=whatever]
How should we deal with the different \getparameters in our macros.
I played with your code and have for the moment the following setup command in my module:
\def\dosetupcorrespondencesection[#1][#2][#3][#4]% {\ifx\enablecheckparameters\undefined \getparameters[#2#3][#4]% \else \getcheckedparameters[#2#3][#2#3][#4]% \fi}
we can make a dummy for mkii, like:
\def\getcheckedparameters[#1]{\getparameters}
That's what to to my mind too but I need this also in my module because I need backbard compatibility for TeXLive (older MkIV and MkII), I have now: \ifx\enablecheckparameters\undefined \let\setvalidparameterkeys\gobbleparameters \def\getcheckedparameters[#1]{\getparameters} \fi Wolfgang