2009/3/27 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

Am 27.03.2009 um 13:37 schrieb Eythan Weg:


Hi, the following does not seem to use color.  Am
I missing something?  Never used this feature
before...

I use mkiv with luatex 0.36.

\startMPcode
draw  thelabel(btex RED  etex, (0,0))  withcolor blue;

label(\textext{\red RED},origin) ;
gives:

Undefined control sequence.
<argument> label(\textext
                          {\red RED},origin) ;
\processMPgraphic ...zations ;\theMPrandomseed ;#1
                                                  ;\!!es , \@EA \@EA \@EA \!...
l.7 \stopMPcode


but

label(\sometxt{\blue RED},origin) ;

works here


Greetings Lutz

Wolfgang


___________________________________________________________________________________
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
___________________________________________________________________________________