! Package pdftex.def Error: File `./filename-eps-converted-to.pdf' not found

! Package pdftex.def Error: File `./filename-eps-converted-to.pdf' not found

当我尝试编译这个时

\documentclass{jprr}
\usepackage{url}
\usepackage{graphicx}
\usepackage[outdir=./]{epstopdf}
\begin{document}
\begin{figure}
\centering
\includegraphics{/home/name/taiwan.eps}
\end{figure}
\end{document}

我一直收到这个错误

! Package pdftex.def Error: File `./taiwan-eps-converted-to.pdf' not found.

See the pdftex.def package documentation for explanation.
Type  H <return>  for immediate help.
...                                              

我正在使用 Textworks,pdfLaTeX。

请帮忙。

在 ubuntu,安装 texlive-font-utils 包解决了我的问题。

sudo apt install texlive-font-utils

我在 "converted-to.pdf' not found" 错误之前注意到了 "repstopdf: not found system returned with code 32512" 错误。我尝试 运行 "repstopdf" 并且 shell 给了我解决方案:

$ repstopdf

Command 'repstopdf' not found, but can be installed with:

sudo apt install texlive-font-utils