On Fri, 11 Apr 2008, Mojca Miklavec wrote:

> On Thu, Apr 10, 2008 at 11:41 PM, Aditya Mahajan wrote:
>> On Thu, 10 Apr 2008, Hans Hagen wrote:
>>
>> > works ok on my machine using pdftex but luatex gives an unknown (have to
>> > look into it)
>>
>>  Another test case, I ran into today.
>>
>>  \setupcolors[state=start,textcolor=red]
>>
>>  \starttext
>>
>>  \startMPcode
>>    draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;
>
> Do you mean \MPcolor{currentcolor}?

Hangs head in shame :(. I need to learn how to read the sources correctly.

Of course, currentcolor is much better than \@@themaintextcolor. I just 
did not know that it existed.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to