I'm trying to compile some .tex
files in WinEdt 7 with pdfLaTeX using MikTex 2.9. I have a lot of eps figures and was previously using epstopdf
in the preamble without any problems. But for some reason when i try and recompile the .tex
files (after deleting the converted PDFs) i'm getting the error:
Package pdftex.def Error: File 'subFolder_Name/Figure_Name-eps-converted-to.pdf' not found.
For some reason the .eps
source file is not getting converted into a PDF. I'm baffled because this was working fine previously and I haven't changed anything with the WinEdt setup.
Any help would be great.
Best Answer
I had the same issue and it seems that it is due to some path problem. The solution is to add
to the LaTeX header. This will cause
epstopdf
to generate files in the specified.aux
directory instead of the directory of the images (which it does if you would have run texify from the command line).