[XeTeX] c.t.t. post re: \mag

Andreas Matthias amat at kabsi.at
Fri Jan 11 13:03:37 CET 2008


Will Robertson wrote:

> In case you don't monitor comp.text.tex for posts about XeTeX,
> Ulrike  Fischer has seemed to uncover a bit of a problem with the
> \mag  command in XeTeX:
>   <http://groups.google.com/group/comp.text.tex/msg/0e433ab85cd02250>

This really looks rather odd.

I just checkout up-to-date SVN version (XeTeX revision 547;
xdvipdfmx revision 103) and did some test with it.


\mag=2000
\pdfpagewidth=100truemm
\pdfpageheight=200truemm
100truemm x 200truemm\vfill\eject

\pdfpagewidth=100mm
\pdfpageheight=200mm
100mm x 200mm\vfill\eject

\special{pdf:pagesize width 333mm height 222mm}
333mm x 222mm\vfill\eject

\special{papersize=333mm,222mm}
333mm x 222mm\vfill\eject
\bye


This plain TeX code creates pages with the following sizes:

page 1: 200x400 mm
page 2: 400x800 mm
page 3: 666x444 mm
page 4: 333x222 mm

Hmm. Should be a bug, shouldn't it?

Ciao
Andreas



More information about the XeTeX mailing list