[NTG-context] color and textext

2011-11-01 Thread Meer, H. van der
After some struggling with text colouring in metafun I finally encountered on the wiki: Another difference is the way text is handled in mkiv. In particular, color (withcolor) is not applied to metapost text. For example, draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ; currently

[NTG-context] color in textext

2005-12-28 Thread Hans van der Meer
I'm trying to play with colors in textext inclusions: \setupcolors[state=start] \setupMPpage[offset=2mm] \startuseMPgraphic{test} label(textext(\color[green]{XYZ}), (0,0)); \stopuseMPgraphic \starttext \forceMPTEXgraphictrue \startMPpage \includeMPgraphic{test} \stopMPpage

Re: [NTG-context] color in textext

2005-12-28 Thread Hans Hagen
Hans van der Meer wrote: I'm trying to play with colors in textext inclusions: \setupcolors[state=start] \setupMPpage[offset=2mm] \startuseMPgraphic{test} label(textext(\color[green]{XYZ}), (0,0)); \stopuseMPgraphic \starttext \forceMPTEXgraphictrue \startMPpage \includeMPgraphic{test}

Re: [NTG-context] color in textext

2005-12-28 Thread Hans van der Meer
I'm sorry, I ran it in a few variations, but neither does work here: \setupcolors[state=start] \startMPenvironment % both with and without: [global] \setupcolors[state=start] \stopMPenvironment \setupMPpage[offset=2mm] \startuseMPgraphic{test}