Re: [NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Taco Hoekwater
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.0 +0200 +++ /opt/tex/texmf-local/metapost/context/b

Re: [NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Peter Rolf
Hans Hagen schrieb: > Taco Hoekwater wrote: > >> -extra_endfig := ";draw _tt_p_; " & extra_endfig ; >> +extra_endfig := ";addto currentpicture also _tt_p_; " & extra_endfig; >> extra_beginfig := extra_beginfig & "resettextexts;"; > > after this fix you need to do > > ctxtools --touch > con

Re: [NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Hans Hagen
Taco Hoekwater wrote: > -extra_endfig := ";draw _tt_p_; " & extra_endfig ; > +extra_endfig := ";addto currentpicture also _tt_p_; " & extra_endfig; > extra_beginfig := extra_beginfig & "resettextexts;"; after this fix you need to do ctxtools --touch context --make otherwise the mplib form

Re: [NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Peter Rolf
Hans Hagen schrieb: > Taco Hoekwater wrote: > >> -extra_endfig := ";draw _tt_p_; " & extra_endfig ; >> +extra_endfig := ";addto currentpicture also _tt_p_; " & extra_endfig; > > subtle ... fixed > yep! works again. thank you! > Hans > > -

Re: [NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Hans Hagen
Taco Hoekwater wrote: > -extra_endfig := ";draw _tt_p_; " & extra_endfig ; > +extra_endfig := ";addto currentpicture also _tt_p_; " & extra_endfig; subtle ... fixed Hans - Hans Hagen |

[NTG-context] color in drawoptions (mplib)

2008-06-12 Thread Peter Rolf
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][\uniqueMPgraphi