On 3/30/2015 5:07 PM, Wolfgang Schuster wrote:
Hi Hans,
the \MPr gives an empty string when the page and paper size are the same.
The first papersize setups gives the wrong output while the second setup with different sizes gives the right output.
\setuppapersize[A6][A6] % wrong.pdf %\setuppapersize[A6][A5] % right.pdf
\starttext
\dontleavehmode\xypos{testposition}
\startlines[style=mono] X: \MPx{testposition} Y: \MPy{testposition} R: \MPr{testposition} \stoplines
\stoptext
this is because the page region is only used fpr special pusposed and only flushed when a page is mapped onto a larger papersize anyway, as you seem to need it i'll make a virtual region out of it ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------