[tex-live] TeXLive 2009: XeLaTeX: Undefined control sequence with mag!=1000

George N. White III gnwiii at gmail.com
Thu Dec 3 16:09:33 CET 2009


2009/12/3 Dr. Werner Fink <werner at suse.de>:
> Hi,
>
> just fresh taken from a user report (http://bugzilla.novell.com/show_bug.cgi?id=559257)
> the file
>
>  \documentclass{article}
>  \usepackage[mag=1500]{geometry}

Try: \usepackage[dvipdfm,mag=1500]{geometry}

The documentation suggests the driver should be automagically detected, so this
has a buggy flavour.

>  \begin{document}
>  Hi
>  \end{document}

I get:

gala:Werner gwhite$ xelatex t
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009)
entering extended mode
(./t.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2009/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2009/texmf-dist/tex/xelatex/xetexconfig/geometry.cfg))
(./t.aux)
*geometry detected driver: dvipdfm*
[1] (./t.aux) )
Output written on t.pdf (1 page).
Transcript written on t.log.
gala:Werner gwhite$ open t.pdf
gala:Werner gwhite$ pdfinfo t.pdf
Creator:         XeTeX output 2009.12.03:1106
Producer:       xdvipdfmx (0.7.8)
CreationDate:   Thu Dec  3 11:06:59 2009
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      1376.99 x 1781.99 pts
File size:      2003 bytes
Optimized:      no
PDF version:    1.4




> cause
>
>  [...]
>  *geometry detected driver: pdftex*
>  ! Undefined control sequence.
>  \@begindocumenthook ...\mag sp\divide \pdfhorigin
>                                                   \@tempdima \multiply \pdfh...
>  l.3 \begin{document}
>
>  ?
>  ! Missing number, treated as zero.
>  <to be read again>
>                    \multiply
>  l.3 \begin{document}
>  [...]
>
>
> Is this a known fact and how can this be solved?
>
>
>         Werner
>
> --
>  "Having a smoking section in a restaurant is like having
>          a peeing section in a swimming pool." -- Edward Burr
>



-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia


More information about the tex-live mailing list