[tex-live] TeXLive2009: XeLaTeX: Undefined control sequence with mag!=1000
Ulrike Fischer
news3 at nililand.de
Fri Dec 4 10:36:27 CET 2009
Am Thu, 3 Dec 2009 23:52:46 GMT schrieb Karl Berry:
> just fresh taken from a user report
> (http://bugzilla.novell.com/show_bug.cgi?id=559257)
>
> Here is Jonathan's reply, if someone would like to experiment.
>
>
> Date: Thu, 3 Dec 2009 22:52:29 +0000
> From: Jonathan Kew <jfkthame at googlemail.com>
>
> The best way to set page size in xetex is indeed by using
> \pdfpage{height,width}, so the geometry.cfg file deliberately uses the
> pdftex setup.
Actually the specific xelatex geometry.cfg doesn't do much with the
new geometry version: even without it geometry tests for xetex and
then chooses the pdftex-driver too.
(The cfg is needed for the suggested work-around
\usepackage[dvipdfm,mag=1500]{geometry} as it prevents geometry to
overwrite the driver)
> However, it seems this won't work with non-default
> magnification, because the driver then wants to use the \pdf*origin
> commands as well, and those aren't supported.
>
> (I wasn't aware of this, obviously, but I'm surprised it hasn't come up
> previously - unless geometry.sty has recently changed. The xetex config
> has been this way for a long time.)
geometry has changed. I checked version 3.2 against v4.2. The older
one didn't use \pdforigin with the pdftex-driver.
So I would say that it is more a geometry bug.
> Maybe it'd be best to change geometry.cfg to use the dvipdfm
> driver. I'm not sure what other interactions that may have,
> though.
\pdfpagewidth and \pdfpageheight are not set with this driver.
--
Ulrike Fischer
More information about the tex-live
mailing list