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 found

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






  • Try \includegraphics[scale=0.4]{beer-lambert.eps} with beer-lampert.eps beeing in the same folder as you .tex file – Ruben Feb 18 '18 at 22:33
  • @Ruben: It gives the same error.... – Nick X Tsui Feb 18 '18 at 22:35
  • I can't reproduce your error, it works fine for me with \includegraphics[scale=0.4]{sinogram.eps} and also \includegraphics[scale=0.4]{sinogram}. Does it work with \includegraphics[scale=0.4]{example-image}? – Bobyandbob Jun 19 '18 at 7:21

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.


I really don't know why it did not work, so I decided to uninstall my MikTex. Then I re-downloaded and reinstalled the MikTex, and now it works.

I guess I did not find the root cause, but it was a walk-around. Thanks.

  • Good. For future reference: I suggest that you use the portable version of MikTeX. Once you get it working, make a zip archive of everything. Then, in the event of a future problem, you can discard the current installation and revert to the zip archive. – user139954 Feb 19 '18 at 1:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.