[Tex/LaTex] ! Package pdftex.def Error: ‘eps-converted-to.pdf’ not found


I have following code simply testing I can insert an image. I got the error message basically says:

! Package pdftex.def Error: 'eps-converted-to.pdf' not

I googled a little bit

  1. I have an image beer-lambert.eps in the folder of C:/Users/tsui/writing/chapter_1/figures/
  2. There does not seem to be any space in the path

I don't understand, because I have another LaTeX project, that simply does not have such a problem. So I assume my setup on my MikTex (Windows 10) is correct?

Following is my code.





I change the code, as Ruben suggested, to simplify the problem. Now the .eps image is in the same folder as the .tex file, but it still gives the same

'eps-converted-to.pdf' not found







Best Answer

I had a similar problem. In my case the problem was resolved simply by incorporating the \graphicspath{path of the directory where the image files are kept} command in the header.

Related Question