On Fri, Nov 27, 2009 at 6:22 PM, Paul Rubin <ru...@msu.edu> wrote: > Venable wrote: >> Dear LyX users, >> >> I have recently started getting a strange error when I try to export a >> LyX file to plain LaTeX via File - Export - LaTeX (plain). >> >> When I attempt to export, an error message appears reading >> LyX: Cannot convert file >> No information for converting pdf format files to eps >> Define a converter in the preferences >> >> As one might expect, I have only seen this error occur when the >> document includes a pdf file as a graphic. However, the error seems >> strange since I am not trying to convert anything to eps, just create >> LaTeX code. Despite the error message, the LaTeX file actually is >> created and seems to be correct. However, it (a) is annoying and (b) >> leads me to think something else may be wrong, so I would like to fix >> it. >> >> First of all, does anyone have any insight into why LyX would ask for >> a PDF -> EPS converter when the requested conversion is not to eps? > > Exporting to plain LaTeX, as opposed to LaTeX (pdflatex), implies an > intent to generate a DVI file. Since LaTeX can only include EPS > graphics (not PDF) in DVI output, LyX helpfully converts your PDF > graphics to EPS (or at least tries to). Bear in mind that LyX must > insert a path to the image file; the alternative would be for LyX to > include a path to the PDF file, which would be doomed to failure when > you ran LaTeX against the document. > > Pdflatex, in contrast, wants PDF files and cannot handle EPS files, so > in your case compiling with pdflatex requires no conversions. >>
Thanks Paul, compiling with pdflatex (File - Export - LaTeX (pdflatex)) went through with no error message, and the resulting tex file looks great.