because of a bug report on the miktex site I have played a bit with
xetex and pagesizes and found two problems.
1. In the following document one can not change the size of the
first page by setting \pgfpagewidth etc if a \special-papersize
command has be issued earlier (which can happen easily by some class
or package). If one comments the \AtBeginDvi-line everything is
fine.
2. If a \mag is used a run with pdflatex get the expected results:
page 1 and 2 have the same size, and page 3 is 120 x 120.
With xelatex one gets pages enlarged by the factor 4.
%\mag=4000
\documentclass[10pt]{minimal}
\usepackage{ifxetex}
\pdfpageheight=100truemm
\pdfpagewidth=100truemm
\ifxetex
%\AtBeginDvi{\special{papersize=70truemm,80truemm}}
\else
\pdfhorigin=1truein
\pdfvorigin=1truein
\fi
\begin{document}
\pdfpageheight=200truemm
\pdfpagewidth=150truemm
text
\newpage
text
\newpage
\pdfpageheight=30mm
\pdfpagewidth=30mm
text
\end{document}
Can user on other systems confirm the problems? Do they also exist
when other drivers then xdvipdfmx are used?
--
Ulrike Fischer