I have a LaTeX file which includes a PDF image file as follows
\begin{figure}[t]
\includegraphics[width=0.4\textwidth]{chapter1/figure/image.pdf}
\caption{...}
\label{aa:b}
\end{figure}
I can compile this without any problems using pdflatex
. But when I include the package hyperref
and a bunch of other packages, it gives me the following error:
File 'chapter1/figure/image.bb' not found. ...dth]{chapter1/figure/image.pdf}
Cannot determine the size of graphic in chapter1/figure/image.bb (no BoundingBox). ...dth]{chapter1/figure/image.pdf}
Best Answer
You are most likely calling
graphicx
with a specific driver option not compatible with the compiler/graphics format. For exampleRemove this option and let
graphicx
do its own thing of figuring out the required graphics driver.Alternatively, if all else fails, you could also try supplying the correct bounding box as option:
where
llx lly urx ury
denotes thel
ower-l
eft (x
,y
) andu
pper-r
ight (x
,y
) coordinate of the image inbp
s (big points).