Taco Hoekwater wrote: > Hans Hagen wrote: > >>> * \usemodule[...p=...][modulename] % from Thomas and me >>> >>> >> can you explain a bit >> > > We would like the possibility to have options while loading > modules, and the cleanest way of doing that is to have an > optional argument to \usemodule, so we can have, e.g.: > > \usemodule[font=GreekTimes,scale=1100][greek] > > And in the module: > > \processaction[\moduleparameter\v!font] > [....=>] > > etcetera. just like a 'normal' parameter. > > I know this effect can partially be implemented using modes, > but sometimes a key=value syntax is much cleaner. This: > > \enablemode[GreekTimes1100] > \usemodule[greek] > > is not nearly as flexible. > ok, i'll add such a feature (btw, usemodule takes two args currently:
\usemodule[x][newmml] so effectively we will have: \usemodule[newmml] \usemodule[newmml][a=b] \usemodule[x][newmml] \usemodule[x][newmml][a=b] 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 ----------------------------------------------------------------- _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context