[XeTeX] Help with xdvipdfmx and \includegraphics
Akira Kakuto
kakuto at fsci.fuk.kindai.ac.jp
Tue May 15 16:16:43 CEST 2007
> > 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.
Solution (2):
\usepackage[xetex]{graphicx}
Then pdf files can be included without .bb files.
--
Akira Kakuto
More information about the XeTeX
mailing list