rpgoldman at sift.info wrote:
[...]
> ! \includegraphics{ex2.pdf}
If you leave off the extension, \includegraphics will
(generally) automatically pick the correct file format (.eps or
.pdf) depending on whether latex or pdflatex is being run.
[...]
--
Lawrence Mitchell <wence at gmx.li>