[NTG-context] processaction inside MP graphic

Vianney le Clément vleclement at gmail.com
Thu May 13 13:16:52 CEST 2010


> becareful at the spaces at the end, ie
> \getparameters[Shape][square={unitsquare},
>                    circle={unitcircle}]
>
> doesn't work.

That's logical, because \Shapesquare eats the spaces following it. In
my case, I define my macros like

\getparameters[Shape:]
  [square=unitsquare,
   circle=unitcircle]
\def\Shape#1{\csname Shape:#1\endcsname}

and then use \Shape{square}, so it doesn't have the problem. But
thanks for pointing that out.

Vianney


More information about the ntg-context mailing list