On 2012-08-02 Mari Voipio <mari.voi...@iki.fi> wrote: Hi Mari,
> I'm being a bit clueless about the MPgraphics again... Read http://wiki.contextgarden.net/Metapost and 3.3 Integrated Graphics in the MetaFun Manual. > Any ideas of how to do this in a smart way? Preferably without having > to go into the bowels of ConTeXt to get it done... \defineframed [graphicframe] [frame=on,offset=none] \define[1]\MPframed {\graphicframe{\useMPgraphic{#1}}} \startuseMPgraphic{first} fill fullcircle scaled 2cm withcolor red; \stopuseMPgraphic \startreusableMPgraphic{second} fill fullsquare rotated 45 scaled 2cm withcolor blue; \stopreusableMPgraphic \startbuffer [third] fill fullsquare scaled 1cm withcolor green; \stopbuffer \starttext \useMPgraphic{first} \reuseMPgraphic{second} \processMPbuffer [third] \MPframed{second} \stoptext Marco ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________