!软件包pdftex.def错误:找不到文件`./filename-eps-converted-to.pdf'

问题描述 投票:0回答:1

当我尝试编译时

\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。

请帮助。

image latex pdflatex
1个回答
0
投票

在ubuntu上,安装texlive-font-utils软件包为我解决了这个问题。

sudo apt install texlive-font-utils

我注意到“ repstopdf:未找到系统返回的代码为32512的错误”,然后出现“未转换为pdf的错误”错误。我尝试运行“ repstopdf”,shell给了我解决方案:

$ repstopdf

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

sudo apt install texlive-font-utils
© www.soinside.com 2019 - 2024. All rights reserved.