At 07:08 PM 1/23/2003 +0100, Eckhart Guth�hrlein wrote:
In the following test file

\setupcolors[state=start]

\startMPinclusions
  drawoptions(withcolor \MPcolor{darkyellow});
\stopMPinclusions

\startreusableMPgraphic{test}
  fill fullcircle scaled 1cm;
\stopreusableMPgraphic

\starttext
  \reuseMPgraphic{test}
\stoptext

I was hoping for a yellow circle, but it didn't work. I guess drawoptions are
reset by beginfig?
Is there a possibility to insert MP code for every figure in a document
*after* every beginfig?
Or how else could I set common drawoptions for all figures?
\startuseMPgraphic{common}
 ....
\stopuseMPgraphic

\startreusableMPgraphic{test}
  \includeMPgraphic{common}
  ....

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                       information: http://www.pragma-ade.com/roadmap.pdf
                    documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to