[XeTeX] geometry a3paper option error

Zdenek Wagner zdenek.wagner at gmail.com
Thu Feb 19 15:27:33 CET 2015


It seems to be a problem of pstricks, not geometry. I tried the code
with zwpagelayout and the result is the same. This is my sample file:

\documentclass{article}
\usepackage{pstricks}
\usepackage[a3,margins=10mm]{zwpagelayout}
\begin{document}%
\thispagestyle{empty}%
\mbox{}\vfill%
\psset{unit=1mm}%
\fbox{\begin{pspicture}(-130,-180)(130,180)%
  \psframe[linewidth=3pt,linecolor=red](-100,-50)(100,50)%
  \rput(0,0){\Huge$\cdot$}%
\end{pspicture}}%
\\\vfill%
\end{document}%
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


2015-02-19 14:34 GMT+01:00 Daniel Greenhoe <dgreenhoe at gmail.com>:
> When I use the a3paper size option or papersize={297mm,420mm} with the
> geometry package, graphics seem to get cut off to the right of 210mm
> from the left edge (where the A4 right paper edge should be).
>
> I am compiling with xelatex  Version 3.14159265-2.6-0.99991 (TeX Live
> 2014/W32TeX). I compiled a book cover using this same kind of
> technique in 2013 using Version 3.1415926-2.5-0.9999.2 (TeX Live
> 2012/W32TeX) (format=xelatex 2013.4.4) with no problem.
>
> A somewhat minimal example follows, and is also attached along with
> pdf and log file to this email...
> ----------------
> \documentclass{article}
> \usepackage{pstricks}
> \usepackage{geometry}
> \geometry{
>   xetex,truedimen,
>   paper=a3paper,
>   %papersize={297mm,420mm},% A3 paper dimensions
>   centering,twoside=false,noheadfoot,nomarginpar,ignoreall,
>   inner=10mm,outer=10mm,top=10mm,bottom=10mm,
>   showframe
>   }
> \begin{document}%
> \thispagestyle{empty}%
> \mbox{}\vfill%
> \psset{unit=1mm}%
> \fbox{\begin{pspicture}(-130,-180)(130,180)%
>   \psframe[linewidth=3pt,linecolor=red](-100,-50)(100,50)%
>   \rput(0,0){\Huge$\cdot$}%
> \end{pspicture}}%
> \\\vfill%
> \end{document}%
> ----------------
>
> Many many thanks in advance,
> Dan
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
>



More information about the XeTeX mailing list