Mojca Miklavec wrote: > Hello Hans, > > this fails in mkiv: > > \setupcolors[state=start] > \starttext > \startMPpage > picture p; > p := textext("abc"); > draw p withcolor red; > draw p shifted (3cm,0) withcolor blue; > \stopMPpage > \stoptext
this is because text is handled at the tex end and color happens with attributes; i can hack a solution but i'm still wondering if it is really needed (will make code dirty) textext("\red abc"); works Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- _______________________________________________ dev-context mailing list dev-context@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-context