[XeTeX] \includegraphics problem

Stephen Moye stephenmoye at mac.com
Fri Aug 25 01:37:25 CEST 2006


I am having a problem with \includegraphics. If I TeX this file:

-----

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

\documentclass[10pt]{article}

\usepackage{graphicx}

\title{The feeding of dogs}
\author{Nathan}

\begin{document}

\includegraphics{AMSseal.pdf}

\maketitle

\end{document}

-----

using pdflatex it works perfectly. If I run it using XeTeX (using the [xetex] option to graphicx, I get this error message:

-----

This is XeTeX, Version 3.141592-2.2-0.995 (Web2C 7.5.5)
entering extended mode
(./grxtest.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, british, french, german, n
german, dutch, italian, norsk, portuges, spanish, swedish, nohyphenation, loade
d.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf.local/tex/xelatex/graphics/graphics.cfg)
(./xetex.def
...supports rotation and scaling
))) (./grxtest.aux)
! Unable to load picture or PDF file 'AMSseal.pdf}'.
<to be read again> 
                   \dimen 
l.13 \includegraphics{AMSseal}
                              
? 

-----

The graphic (AMSseal.pdf) is where it should be. I have tried using 'AMSseal.pdf' in the  \includegraphics command as well. I have looked at the suggestions for graphics.cfg and color.cfg, but they do not seem to make a difference.

Any light shed upon this conundrum would be very appreciated!

SGM



More information about the XeTeX mailing list