[XeTeX] graphics inclusion

Guy camatkara at gmail.com
Sat Dec 8 06:15:45 CET 2007

Thanks for the responses, Jonathan and Bruno.  The problem is probably
very basic; is there any documentation I could read on graphics and
XeTeX?  Including my graphic works fine under the graphicx package in
latex, but I'm missing something with XeTeX.  I followed the advice
below, but still got the same error ("! Unable to load...").  Can I
ask the newbie question of what packages or preamble commands, if any,
are required to use the \XeTeXpdffile command?  And is there a special
option to use when issuing the "xelatex <file.tex>" command?  I tried
also "xelatex -no-pdf file.tex" and "xdvipdfmx -v file.xdv," which did
produce a pdf, but since there was still the same problem to begin
with ("! Unable to load..."), the graphic was not included.  I had the
same problem with an otherwise blank article and got the same result,
so I'm assuming I'm just missing a basic command or bit of
configuration.  Thanks again for the help,


On Dec 6, 2007 6:04 PM, Jonathan Kew <jonathan_kew at sil.org> wrote:
> On 6 Dec 2007, at 1:55 pm, Guy wrote:
> > Hello,
> >
> > I'm new to XeTeX and having difficulty including graphics.  I wondered
> > if anyone could point me in the right direction, documentation-wise.
> > I used the XeTeXpicfile command (\XeTeXpicfile srikanthacrop.pdf --
> > where that file is in the same directory as my .tex file) and also the
> > \box command from the PicFileSample file.  The error I get is:
> >
> >> ! Unable to load picture or PDF file srikanthacrop.pdf'.
> >> <to be read again>
> For PDF files, use \XeTeXpdffile rather than \XeTeXpicfile.
> Also, it's probably wise to quote the filename, so try
>     \XeTeXpdffile "srikanthacrop.pdf"
> JK
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex

More information about the XeTeX mailing list