FIG conversion to EPS and PDF uses different software. One of them might be set up
wrongly. First, try Tools->Reconfigure, and restart lyx.
If that did not help, Tools->Preferences, select "File Handling"
You will find a list of converters between various file formats. You should find
FIG->EPS (which works for you) and FIG->PDFTEX which doesn't. Check that the software
mentioned is installed, and is available in the PATH.
In my case, the converter is
python -tt $$s/scripts/fig2pdftex.py $$i $$o
So "python" must exist in the path somewhere. (Try typing python on the command line.
If it fails with unknown command, then you know why it doesn't work for LyX.) Install
the software. If it is installed, either fix the PATH setting, or give the full path
to the converter instead of just the filename. (I.e. C:\programs\something\python )
I checked all settings in Tools->Preferences->File Handling in a native Win7 LyX installation (version 2.1.2)
but I could not find any mistake.
These are the converter commands:
for FIG->EPS: fig2dev -L eps $$i $$o
for FIG->PDFTEX: python -tt $$s/scripts/fig2pdftex.py $$i $$o
As stated before, the preview in LyX works perfectly.
If I hit the shortcut key CTRL+T for PS preview I realize a command beginning with "python -tt ..." in the status bar and immediately the ghostview is launched to display the temporarily produced PS file.
In LyX the path prefix starts with "$LyXDir\bin;$LyXDir\Python;$LyXDir\Python\Lib; ... ".
However, if I try to generate the PDF file I always get the pdfTeX error "... .pdftex_t' not found."
As stated before, in a fedora-vbox I do not experience this problem (with LyX 2.1.1).
Thanks for help in advance.
Jens