Lyx supports a "external inset" for xfig figures. This fails with pdflatex as pdflatex don't understand the produced .eps files.
Fortunately it don't have to, as fig2dev can be told to export .pdf instead of .eps You don't need to compile anything, all you need is a script and a new external_inset file available from: http://www.aitel.hist.no/~helgehaf/sw/figpdf.html This makes a new XFigPDF inset available. It is identical to the old xfig inset, except that it exports .pdf instead of .eps So it works with pdflatex but not with postscript/dvi export. You can change between one and the other by changing the inset type between xfig and xfigpdf I have tested it with lyx 1.2.0 and lyx 1.2.2, it probably works with 1.2.1 too. Helge Hafting
