On 2017-08-03, Patrick Dupre wrote: > When I generate the pdf file from lyx, every thing is OK. > If I generate a tex file (plain latex), and then, if I compile it > with latex, I get:
> ! LaTeX Error: File `Pictures/17ubar_pub.eps.bb' not found. ... > l.1163 ...raphics[scale=0.51]{Pictures/17ubar_pub} > The issue is with the pictures. Yes. Different latex "flavours" accept different graphics formats: `latex` accepts EPS but no PDF `pdflatex` accepts PDF, JPEG, PNG, ... but no EPS What is the original format of the picture 17ubar_pub? If it is PDF or PNG, then try to export to "LaTeX (pdflatex)" and compile with pdflatex. > What does lyx, that latex does not do? * LyX runs latex and, if required auxiliary commands like bibtex, makeindex, ... and again latex (up to three times). * LyX converts pictures so it is accepted by the converter program (latex, pdflatex, xelatex, or lualatex). * LyX runs postprocessors like ps2pdf to get a PDF from the Postscript document generated by "plain" latex. * ... In short, everything required to generate the output document. There are advanced LaTeX editors that do the same. Günter