[XeTeX] Help with xdvipdfmx and \includegraphics

Nicola Vitacolonna nicola.vitacolonna at dimi.uniud.it
Tue May 15 17:25:24 CEST 2007


On 15/mag/07, at 16:16, Akira Kakuto wrote:

>>> I'm trying to convert an old prosper presentation into xelatex +
>>> beamer format. Unfortunately, I am not able to use any pdf picture,
>>> that is, if I try to include pic.pdf with
>>>
>>> \includegraphics{pic}
>>>
>>> I get the error
>>>
>>> ! LaTeX Error: File `pic.bb' not found.
>>>
>>> Is there any workaround for this?
>>
>> As a quick hack, I have extracted the bounding box manually and I
>> have put it in  \includegraphics, e.g.
>>
>> \includegraphics[bb = 0 0 610 509]{pic}
>>
>> This works for me, but it is rather tedious. Is there any other way?
>
> Solution (1):
>  A command
>  ebb pic.pdf
>  creates the necessary pic.bb.

I have tried the ebb that comes with TeX Live 2007 and I get the  
following error:

Version of PDF file (1.4) is newer than version limit specification.
Can't handle file type for file named pic.pdf

> Solution (2):
>  \usepackage[xetex]{graphicx}
>
>  Then pdf files can be included without .bb files.

I have tried that, but that gives an option clash, i guess because  
beamer already loads graphicx.

Nicola



More information about the XeTeX mailing list