Am 02.08.10 16:41, schrieb Hans Hagen:
there is an experimental mult-aux.mkiv file in the beta
looks interesting, can't test it today but there a few things which are not right \unexpanded\def\doinstallparameterhandler#1#2#3#4#5#6#7#8#9% \??aa {whatever} \current.. {\def#3##1{\csname#6{#1#2}{##1}\endcsname}% \def#4##1{#7{#1#2}{##1}}% - \def#5##1##2{\csname#6{#1##2}{##1}\endcsname}% + \def#5##1##2{\csname#6{#1##1}{##2}\endcsname}% \def#6##1##2{\ifcsname##1##2\endcsname##1##2\else\expandafter#8\csname##1\s!parent\endcsname{##2}\fi}% \def#7##1##2{\ifcsname##1##2\endcsname ##1\else\expandafter#9\csname##1\s!parent\endcsname{##2}\fi}% \def#8##1##2{\ifx##1\relax\s!empty\else#6{##1}{##2}\fi}% \def#9##1##2{\ifx##1\relax \else#7{##1}{##2}\fi}} For \named...parameter it's better to use the first argument the name of the environment and the second for the key, e.g. \namedwhateverparameter{command}{width} Here \unexpanded\def\doinstallcommandhandler#1#2#3#4#5#6#7#8% {... \def#5[##1][##2]% {\edef#4{##1}% \ifsecondargument \getparameters[#1#4][\s!parent=#1##2]% \else \getparameters[#1#4][\s!parent=#3]% \fi ...} you forgot the comma before '##2'. Wolfgang