Package pdftex.def Error: File `xyz-eps-converted-to.pdf’ not found: using draft setting. [Ubuntu]


Recently we were struggling with the following error whenever we were trying to use an eps figure with the pdflatex compiler.

Package pdftex.def Error: File `xyz-eps-converted-to.pdf' not found: using draft setting.

After trying several online remedies which all failed, we tried to convert the eps figure to pdf manually on the shell and we got the following error:

$ epstopdf
Command 'epstopdf' not found, but can be installed with:
sudo apt install texlive-font-utils

Following the advice on the shell, we installed texlive-font-utils and guess what? After compiling our Latex document again, the error was gone and the eps figure was successfully converted to a pdf!!

This post is also available in: Greek

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.