Am 19.09.2011 11:17, schrieb Meer, H. van der: >>From the Wiki I learn about \startstaticMPfigure that it "creates a separate >>pdf file containing the graphic". But when I exercise the example given I do >>not see those staticMPfigure's in sepaarte pdf's. What am I missing? I >>thought to use this for generating a series of separate pdf's, to be further >>processed as png/tiff files. > > \startstaticMPfigure{center} > draw fullcircle scaled 2cm ; > dotlabel.bot (textext("(0,0)"),origin); > \stopstaticMPfigure > \startstaticMPfigure{radius} > draw fullcircle scaled 2cm ; > drawarrow (0,0)--(1cm,0); > label.bot(textext("$r$"),(5mm,0)) ; > \stopstaticMPfigure > \starttext > Circle centered \usestaticMPfigure[center][width=1cm] at origin with radius > \usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$. > \stoptext > Use mkii and you will get the files. Probably no need for this kind of runtime optimization in mkiv.
> By the way, is transparency still working as in the wiki example below, or > has transparency vanished? > The transparency example works here (slightly outdated version from 05.09.2011). BTW: there are four new transparency modes (hue,saturation,color,luminosity). Best wishes, Peter > \startreusableMPgraphic{a} > fill unitsquare scaled 1cm withcolor yellow; > fill unitsquare shifted (0.5,0.5) scaled 1cm withcolor transparent > (1,0.5,red); > \stopreusableMPgraphic > > > > \placefigure[force,none]{}{\reuseMPgraphic{a}} > > Thanks in advance > Hans van der Meer > > ___________________________________________________________________________________ > 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 ___________________________________________________________________________________