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.


Cheers, Taco


_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to