[NTG-context] textcolor not working with MPinstance

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Apr 21 22:47:17 CEST 2014


Am 21.04.2014 um 22:18 schrieb Aditya Mahajan <adityam at umich.edu>:

> On Tue, 15 Apr 2014, Aditya Mahajan wrote:
> 
>> textcolor does not work any longer with MPinstance. Consider the following example from the wiki: http://wiki.contextgarden.net/Command/defineMPinstance
> 
> Is there any update on this? This bug breaks the visualcounter module.
> 
> I am including a smaller minimal example:
> 
> \defineMPinstance
>  [important]
>  [metafun]
>  [textcolor=red]
> 
> \starttext
> 
> \startMPcode{important}
>  draw textext("Am I red?") ;
> \stopMPcode
> 
> \stoptext


It fails also with the default instance:

\setupMPinstance
  [textcolor=red,
   textstyle=bold]

\starttext

\startMPcode
 draw textext("Am I red?") ;
\stopMPcode

\stoptext

Wolfgang


More information about the ntg-context mailing list