我在这里读了很多答案,但都不起作用。我的 lyx 在将 eps 转换为 pdf 时出现错误。当我在终端中使用 epstopdf 时它可以工作,但使用 lyx 则不起作用。这是我的 latex 代码:
%% LyX 2.1.2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{graphicx}
\usepackage{epstopdf}
\makeatother
\usepackage{babel}
\begin{document}
yxfsdfcsdf
sdf
sd
fs
df
ds
f\includegraphics[width=0.8\textwidth]{image}
sd
f
dsf
sd
f
d
sfs
fd
\end{document}
这是错误信息:
Package epstopdf Info: Source file: <image.eps>(epstopdf)
date: 2014-10-27 18:32:50(epstopdf) size: 14009 bytes
(epstopdf) Output file: <image-eps-converted-to.pdf>
(epstopdf) Command: <repstopdf --outfile=image-eps-converted-to.pdf
image.eps>
(epstopdf) \includegraphics on input line 32.
system(repstopdf --outfile=image-eps-converted-to.pdf image.eps) executed.
Package epstopdf Info: Result file: <image-eps-converted-to.pdf>.
! Package pdftex.def Error: File `image-eps-converted-to.pdf' not found.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
问题是什么
答案1
就我而言,我遇到了同样的问题,直到我将目录更改为非目录后,一切都没有起作用UNC
。根据我的经验UNC
,该软件包似乎不支持这些路径epstopdf
。