28 Dec
2005
28 Dec
'05
2:46 p.m.
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} \stopMPpage \stoptext
This label does not appear in green, although the intermediate files contain: % figure 1 : texpictures[1] := btex \color [green]{XYZ} etex ;
Is it possible that \setupcolors[state=start] is not communicated?
indeed, \startMPenvironment \setupcolors[state=start] \stopMPenvironment if you want to share settings between the tex and mp runs: \startMPenvironment[global] \setupcolors[state=start] \stopMPenvironment Hans