[dev-context] Mac installation package
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Tue Aug 25 09:35:32 CEST 2009
Am 25.08.2009 um 00:20 schrieb Hans Hagen:
>> \def\dosetupmodule[#1][#2]%
>> {\scratchtoks\expandafter{\currentmoduleparameters}%
>> \ifsecondargument
>> \getparameters[\??md:#1:][#2]%
>> \expanded{\getparameters[\??md:#1:][\the\scratchtoks]}%
>
> no need for toks
>
> \expanded{\getparameters[\??md:#1:]\expandafter}
> \expandafter[\currentmoduleparameters]%
hey, you wrote \setupmodule and not me
> but maybe a \hetparameterscommand makes more sense -)
\hetparameterscommand?
>> \processassignmentlist[#2]{\doabortmodule{#1}}%
>> \else
>> \getparameters[\??md:\currentmodule:][#1]%
>> \expanded{\getparameters[\??md:\currentmodule:][\the
>> \scratchtoks]}%
>> \processassignmentlist[#1]{\doabortmodule\currentmodule}%
>> \fi
>> \let\currentmoduleparameters\empty}
>
> but anyway, i wonder if we should go that route; normally context is
> downward compatible and eventually mkiv will become more stable
it was just a example how things can be done
Wolfgang
More information about the dev-context
mailing list