ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* color in drawoptions (mplib)
@ 2008-06-12 15:37 Peter Rolf
  2008-06-12 16:17 ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Rolf @ 2008-06-12 15:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 : 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-12 17:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-12 15:37 color in drawoptions (mplib) Peter Rolf
2008-06-12 16:17 ` Taco Hoekwater
2008-06-12 16:39   ` Hans Hagen
2008-06-12 17:04     ` Peter Rolf
2008-06-12 17:10   ` Hans Hagen
2008-06-12 17:33     ` Peter Rolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).