Peter Rolf wrote: > hi, > > just encountered an expansion problem with color inside drawoptions...
The patch below fixes this issue. Best wishes, Taco --- /opt/tex/texmf-local/metapost/context/base/mp-mlib.mp.orig 2008-05-12 12:14:46.000000000 +0200 +++ /opt/tex/texmf-local/metapost/context/base/mp-mlib.mp 2008-06-12 18:13:34.785337518 +0200 @@ -26,7 +26,7 @@ _tt_p_ := nullpicture ; enddef ; -extra_endfig := ";draw _tt_p_; " & extra_endfig ; +extra_endfig := ";addto currentpicture also _tt_p_; " & extra_endfig; extra_beginfig := extra_beginfig & "resettextexts;"; vardef rawtextext(expr str) = ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________