[pdftex] Cannot get \includegraphics to work

Heiko Oberdiek oberdiek at ruf.uni-freiburg.de
Wed Jun 13 14:08:34 CEST 2001

On 13 Jun 2001, Claus Tondering wrote:

>    \usepackage[pdftex]{graphics}
>    \includegraphics[1cm,2cm][10cm,10cm]{xx.pdf}

PDF does not know a BoundingBox. With PDF the MediaBox
is used. For example, a pdf file with the image without
margins and the correct MediaBox can be generated from
a eps file with correct BoundingBox via epstopdf.

If you want to have a part of the image, you can
use the graphicx options viewport or trim for
\includegraphics. (But this requires graphicx,
an uptodate pdftex.def, and pdfTeX >= 0.14).

Yours sincerely
  Heiko <oberdiek at ruf.uni-freiburg.de>

More information about the pdftex mailing list