On Fri, Apr 11, 2008 at 12:23 AM, Aditya Mahajan wrote:
> 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.
Well ... I knew accidentally (since I have requested it). It's
mentioned in \sometxt MyWay, but that's rather well hidden as well.
Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________