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?
If so, how and where should this be done?
\setupcolors[state=start] cannot be put inside the textext as it is a
preamble thing (tried it)
(note: although one could do: "label(textext("XYZ"), (0,0) withcolor
green;" this interferes with other macro operations I want to perform)
yours sincerely,
dr. H. van der Meer
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context