[XeTeX] includegraphics and pdf

Bruno Voisin bvoisin at me.com
Sun Aug 17 11:15:55 CEST 2008

Le 17 août 08 à 09:26, M. Niedermair a écrit :

> \documentclass[10pt,a4paper]{scrartcl}
> \usepackage{pdfpages}
> \begin{document}
> \includepdf[pages=7]{v_schiffe_versenken.pdf}
> \end{document}
> pdflatex: works fine
> xelatex:
> ...
> /etc/texmf/tex/latex/config/graphics.cfg)
> (/usr/share/texmf-texlive/tex/xelatex/graphics/xetex.def)))
> (/usr/share/texmf-texlive/tex/latex/tools/calc.sty)
> (/usr/share/texmf-texlive/tex/latex/eso-pic/eso-pic.sty
> (/usr/share/texmf-texlive/tex/latex/everyshi/everyshi.sty))
> ! Undefined control sequence.
> <argument> pp\AM at driver
>                         .def
> l.53 \input{pp\AM at driver.def}

Must be a problem with the version of the LaTeX packages involved,  
probably pdfpages. Here, using a beta MacTeX-2008 from August 2 (a TeX  
distribution for the Mac based on TeXLive-2008), I'm getting no error.

In case your TeX distro is based on TeXlive-2007, that would explain  
the problem: pdfpages has been added XeTeX support (driver file  
ppxetex.def) relatively recently, a few months ago IIRC.

Below is console output for:


Bruno Voisin

This is XeTeXk, Version 3.1415926-2.2-0.999.4 (Web2C 7.5.7)
  %&-line parsing enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,  
dumylang, noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, 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, la
tin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese,  
romanian, rus
sian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish,  
h, ukrainian, uppersorbian, welsh, loaded.
Document Class: scrartcl 2007/12/24 v2.98 KOMA-Script document class  
Package scrlfile, 2007/12/18 v2.98 KOMA-Script package (loading files)
                   Copyright (C) Markus Kohm

)) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo)
Package typearea, 2007/12/24 v2.98 KOMA-Script package (type area)
                   Copyright (C) Frank Neukam, 1992-1994
                   Copyright (C) Markus Kohm, 1994-

)) (/usr/local/texlive/2008/texmf-dist/tex/latex/pdfpages/pdfpages.sty
(./test.aux) ABD: EveryShipout initializing macros
<use  "Doc_Boot_Camp.pdf"  page7>

Package pdfpages Warning: Erroneous page width of 0.0pt is corrected.

Package pdfpages Warning: Erroneous page height of 0.0pt is corrected.

<use  "Doc_Boot_Camp.pdf"  page7> <use  "Doc_Boot_Camp.pdf"  page7>
<use  "Doc_Boot_Camp.pdf"  page7> <use  "Doc_Boot_Camp.pdf"  page7> [1]

  *File List*
scrartcl.cls    2007/12/24 v2.98 KOMA-Script document class (article)
scrkbase.sty    2007/12/24 v2.98 KOMA-Script package (basics and  
keyval use)
   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty    2007/12/18 v2.98 KOMA-Script package (loading files)
   size10.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
typearea.sty    2007/12/24 v2.98 KOMA-Script package (type area)
pdfpages.sty    2008/06/22 v0.4f Insert pages of external PDF  
documents (AM)
   ifthen.sty    2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
    xetex.def    2006/08/10 v0.92 LaTeX color/graphics driver for  
XeTeX (RRM, mo
d. JK)
     calc.sty    2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
  eso-pic.sty    2006/07/14 v1.1d eso-pic (RN)
everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
  ppxetex.def    2008/06/22 v0.4f Pdfpages driver for XeTeX (AM)
    color.sty    2005/11/14 v1.0j Standard LaTeX Color (DPC)
    color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
Doc_Boot_Camp.pdf    Graphic file (type QTm)
Doc_Boot_Camp.pdf    Graphic file (type QTm)

Output written on test.pdf (1 page).
Transcript written on test.log.

More information about the XeTeX mailing list