At 03:26 PM 3/20/2003 +0900, you wrote:
Hi:
I'm designing a year's worth of English lessons for some Japanese kids, and I'm using Metapost and ConTeXt to generate flashcards for vocabulary training. I have a few questions: (1) I want to keep my Metapost figures defined in a ConTeXt environment file so that I can recall them as I need in future lessons. Is there anything wrong with this approach?
sounds ok to me
(2) How do I make a Metapost figure defined in a ConTeXt file reusable? Do I need to wrap the definition of the figure in a macro so that the figure is recreated everytime I need it?
see patricks answer; in addition to that: external figures are reused by default \startreusableMPgraphic{abc} \stopreusableMPgraphic \placefigure{]{\reuseMPgraphic{abc}} will also be reused
(3) With \useMPgraphic, is there any mechanism to scale the image as with \useexternalfigure?
see patricks answer Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl 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 -------------------------------------------------------------------------