I have read many answers here, but nothing work. I have an error in my lyx with eps to pdf conversion. when I use epstopdf in terminal it works, but with lyx doesn't work. this is my latex code:
%% 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}
this is the error message:
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.
what is the problem
{}
button above the edit window, the code will be properly formatted ;)Document>LaTeX log
. Maybe LyX can't findepstopdf
converter and falls back to eps to png conversion. Show us the LaTeX code (View>Source
) when you insert the figure byInsert>Graphics
. Check for all oocurences ofimage(.something)
in the log.