Thanks, this works indeed. But I hoped to be able to produce in this manner at one stroke a series of separate figures, each in its own pdf file. Or is this an impossible action?
Hans van der Meer On 3 okt. 2011, at 09:09, Wolfgang Schuster wrote: > > Am 03.10.2011 um 09:05 schrieb Meer, H. van der: > >> I am afraid I don't completely understand this. Doing: >> \startbuffer[fig-1] >> \startMPcode >> draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. >> cycle withcolor darkgreen; >> label(textext("Test"),origin); >> \stopMPcode >> \stopbuffer >> \starttext >> \processMPbuffer[fig-1] >> \stoptext > > This works: > > \startbuffer[fig-1] > draw (-20,0) .. (0,20) .. (20,0) .. (0,-20) .. cycle withcolor > \MPcolor{darkgreen}; > label(textext("Test"),origin); > \stopbuffer > > \starttext > \processMPbuffer[fig-1] > \stoptext > > Wolfgang > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________