In a Plain-XeTeX document, if I set the page size to anything bigger than the default page size, (A4 in my case) then all the pstricks elements beyond the size of an A4 page are trimmed of, so only a portion of the image is seen on the page. I've tried to set the page size before and after \input pstricks
, tried put it in pspicture, put it outside of it, set the pspicture size to (0, 0), (10, 10), used \pspicture*
instead, nothing could get rid of that cropping region, and draw beyond that. I also tried to use pdf special commands in vain.
The final TeX file I'm trying with is the following:
%\special{papersize=500mm,500mm}
\special{pdf:pagesize width 500mm height 500mm}
\hsize=500mm\vsize=500mm
\input pstricks
%\pspicture(0,0)
\psline(-500cm,0)(1mm,0)
\psline(0,100cm)(0,-500cm)
%\endpspicture
Somewhere, over the rainbow.
\bye
I've tried this in the latest of these systems, and none of them worked: MiKTeX 2.9 (64-bit), MacTeX (2013 is the version number I believe?)
The following output can be seen whatever I tried. The vertical line only starts from somewhere about the middle of the page where it should start from above the text, and horizontal line isn't visible at all.
How can I resolve this issue?
m
as a unit of measure so this won't work as it is. (And I suspect 500m may be somewhat beyond TeX's capacity.) But if it is meant to be 500mmx500mm then I'm not sure how things at the 500cm reach are supposed to appear. Basically, I think this isn't really a TeX problem - at least, not as posted - but rather one of just sorting out the dimensions you want. Note that the PDF produced is 500x500mm when that's what I request (but it fails if I ask for 500mmx500*m*).pstricks
with XeTeX when you are producing pdf directly? I thought that the package needed to be used with an alternative compilation target?standalone
class? Please explain what you want to achieve independent from the compilers.