Am 27.03.2009 um 17:43 schrieb Eythan Weg:
Basically, you moved it to TeX to do the coloring, which is ok.
Metapost in MkIV is different from MkII and all labels are typeset and colored in TeX, if you want a label use textext(...). My \textext{...} (which is only defined in MkII) is just a TeX wrapper and converts \textext{\blue RED} in textext("\blue RED") and in MkIV btex ... etex is converted in textext(...) too.
Now, "draw thelabel(btex RED etex, (0,0)) scaled 2;" works. In the same manner , I think, "withcolor" should work. At least this is my understanding of the manual. But instead it is silently ignored. So my question is whether it is a bug or not.
What's written in the manual should work in MkII but a lot of things are handled in a different like colors. Wolfgang