When I run Andrew Robert's import.tex
in MikTeX I get an error message saying that the image file is not found:
! LaTeX Error: File `chick' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.21 \includegraphics{chick}
?
I have put the image file (in this case chick.eps
) in the same folder as import.tex
.
Best Answer
You are probably use
pdflatex
instead oflatex
. The former is actually recommended but doesn't support EPS graphics but only JPG, PNG and PDF. You should convert the EPS to PDF using e.g.epstopdf
. Newer versions ofpdflatex
from TeX Live should do this conversion automatically by running a restricted version (for safety reasons) calledrepstopdf
.