当我尝试编译这段代码时
\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。
请帮帮忙。
发布于 2020-01-01 02:14:15
在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
https://stackoverflow.com/questions/44917577
复制相似问题