[XeTeX] graphics inclusion

Jonathan Kew jonathan_kew at sil.org
Fri Dec 7 00:04:43 CET 2007


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



More information about the XeTeX mailing list