[NTG-context] again: new module mechanism

Taco Hoekwater taco at elvenkind.com
Mon Apr 10 11:45:52 CEST 2006



Thomas A. Schmitz wrote:
> All, and esp. Hans, Taco,
> 
> I'm still experimenting with the new moduleparameter mechanism. One  
> thing I can't get to work is using it in a \definefont. Here's my  
> minimal example:
> 
> \startmodule[mymod]
> 
> \unprotect
> 
> \setupmodule[font=Times]
> 
> \definefontsynonym[Times][ec-TimesNewRoman] % valid name
> 
> \definefont[myfont][\currentmoduleparameter{font}]

Hi Thomas,

   \expanded {\definefont[myfont][\currentmoduleparameter{font}]}

\definefont needs expanded arguments

Cheers, Taco


More information about the ntg-context mailing list