![](https://secure.gravatar.com/avatar/1f1420d2f042c8497d63406a4033a676.jpg?s=120&d=mm&r=g)
20 Sep
2008
20 Sep
'08
9:17 a.m.
Are such macros possible ? modes: ma, mb, ... mz values: va, vb, ... vz command: cmd parameter: p (1) instead of \doifmode{ma}{\cmd[name][va]} \doifmode{mb}{\cmd[name][vb]} ... \doifmode{mz}{\cmd[name][vz]} a macro which does: \doifmode{m*}{\cmd[name][v*]} (2) instead of \doifmode{ma}{\cmd[p=va]} \doifmode{mb}{\cmd[p=vb]} ... \doifmode{mz}{\cmd[p=vz]} a macro which does: \doifmode{m*}{\cmd[p=v*]} -- Best, Alan * texmfstart texexec --lua foo * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english * Windows XP Home SP3