1.   I certainly chose view/pdflatex when the failure occurred.
  2. The pdflatext command is recognized by the failing Windows
     machine: I get a pdf file if I do not include pdf graphics in the
     Lyx file.  It is only the pdf figures that cause it to produce a
     "damaged" file.

------------------------------------------------------------------------

Ehud Kaplan,


Helge Hafting wrote:
Ehud Kaplan wrote:
This must be simple for the experts, but it puzzles me:
I have a file with some figures. It compiles without any problem on both a WINDOWS (with Miktex 2.7) machine and on a Kubuntu 8.10 machine, both running Lyx 16.1. But on another WINDOWS machine (Miktex 2.7, Lyx 1.6.1) it fails to compile (View-->pdflatex), returning an errors.

The exact error messages may be of help.

However, if on that machine the pdf figures are replaced by their eps equivalents, all is fine.

pdflatex is supposed to handle pdf figures - witout any conversion.
The other ways of producing PDF (dvipdfm and ps2pdf) needs eps files.

First, check to make sure that you really did use view->PDF(pdflatex) on
the failing machine. Make sure it isn't view->PDF(ps2pdf) or view->PDF(dvipdfm).

If the failing machine don't have pdflatex, then lyx will still offer the other two alternatives for PDF.


This could also be a path problem. Check that pdflatex is in the path on both machines, i.e. the command "pdflatex" is recognized on the command line on both machines. Having the software is not enough, the PATH
setting must be right too.

Helge Hafting

Reply via email to