[OS X TeX] Using eps files

Herbert Schulz herbs at wideopenwest.com
Tue Mar 9 00:16:16 CET 2010

On Mar 8, 2010, at 4:28 PM, <facenda at us.es> wrote:

> Hi all,
> I have a problem with eps files. I have a file, figure.eps
> I think that texshop 2.33 converts this file to pdf when I compile the document with the order  \includegraphics[]{figure}.
> But I get the error
> ! Package pdftex.def Error: File `figure-eps-converted-to.pdf' not found
> See the pdftes.def package documentation for explanation
> Any help would be appreciated
> Thanks in advance,
> José A. Facenda


Assuming that you are i)trying to use pdflatex to compile your tex file, ii)are using the epstopdf package along with the graphicx package via


in your preamble (a sample file would have been useful), iii)are using MacTeX(TeX Live)-2009 there are a few possible solutions:

1)Continue to use pdflatex as assumed above but make sure that TeXShop->Preferences->Engine->pdfTeX->Tex & Latex have the --shell-escape option set. This allows the epstopdf package to run the conversion of the foo.eps->foo-eps-converted-to.pdf.
2)Convert foo.eps->foo.pdf by simply dropping the eps file onto TeXShop. Then the \includegraphics{foo} will automatically pick up the converted foo.pdf. You won't need to use the epstopdf package if you go this route.
3)If you have many eps figures and no pdf, png, jpg figures you can simply compile with latex+dvips+ps2pdf by putting the line

% !TEX TS-program = latex

to tell TeXShop to use that engine rather than the pdflatex engine.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the macostex-archives mailing list