20 Jun
2007
20 Jun
'07
6:11 p.m.
On Wed, 20 Jun 2007 19:22:14 +0200
Patrick Gundlach
Jean Magnan de Bornier
writes: Hi all, I want to produce a unique metapost image which should be alone on its page and its file, and I want to have a page the size of the image, whichever this size is.
use \startTEXpage:
\setupcolors[state=start] %\setuplayout[width=fit,height=fit] \starttext \startTEXpage \startuseMPgraphic{dummy} fill fullcircle scaled 5cm withcolor red ; \stopuseMPgraphic \useMPgraphic{dummy} \stopTEXpage \stoptext
Patrick
we have also \startMPpage: \setupcolors[state=start] \starttext \startMPpage fill fullcircle scaled 5cm withcolor red ; \stopMPpage \stoptext Wolfgang