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}
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________