[NTG-context] \setuppapersize and \startMPpage
Johan Sandblom
jsandblom at gmail.com
Thu May 11 14:04:40 CEST 2006
2006/5/11, Hans Hagen <pragma at wxs.nl>:
> \definepapersize[thesis][width=169mm, height=239mm]
> \setuppapersize[thesis][A4]
> \definelayer[page][width=\paperwidth,height=\paperheight]
>
> \starttext
> \startTEXpage
> \setlayer
> [page]
> [preset=lefttop,x=3cm,y=4cm]
> {\startMPcode
> fill fullcircle scaled 10cm;
> \stopMPcode}
> \tightlayer[page]
> \stopTEXpage
> \stoptext
This works if I change \paperwidth and \paperheight to
\printpaperwidth and \printpaperheight and change the dimensions
slightly.
Thank you, Johan
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
>
--
Johan Sandblom N8, MRC, Karolinska sjh
t +46851776108 17176 Stockholm
m +46735521477 Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
More information about the ntg-context
mailing list