On Fri, Mar 13, 2009 at 5:54 PM, Hans Hagen <pra...@wxs.nl> wrote: > Wolfgang Schuster wrote: >> >> On Fri, Mar 13, 2009 at 3:56 PM, Hans Hagen <pra...@wxs.nl> 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________