On 09. juli 2014 15:39, Jens Nellesen wrote:
Hello everyone,
after upgrading to LyX 2.1.0 on Win7
I realized that I cannot produce PDF output if an xfig drawing is included in
the LyX document. (BUT the preview of the xfig drawing works. Strangely enough,
PS output DOES work.)
In a fedora-vbox I do not experience this problem.
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 )