hi,
just encountered an expansion problem with color inside drawoptions...
% engine=luatex
\starttext
\startuniqueMPgraphic{foo}
begingroup
save c ; color c[] ;
c0:= red;
drawoptions(withcolor c0);
fill OverlayBox;
endgroup;
\stopuniqueMPgraphic
\defineoverlay[foo][\uniqueMPgraphic{foo}]
\framed[width=10cm,background=foo]{}
\stoptext
regards, peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________