[NTG-context] textcolor not working with MPinstance

Aditya Mahajan adityam at umich.edu
Thu Apr 24 19:01:25 CEST 2014


On Thu, 24 Apr 2014, Hans Hagen wrote:

> On 4/21/2014 10:47 PM, Wolfgang Schuster wrote:
>> 
>> 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
>
> fixed

Thanks!

Aditya


More information about the ntg-context mailing list