On 2012-10-30, Guenter Milde wrote:
> Since some time, my LyX (2.0.3 from the Debian package) complains about
> missing LaTeX files (cls, sty, ...) whenever I open a Document (i.e. even
> article.cls is reported as missing).

> However, the files are there and clicking away the warning(s), I can edit
> and compile the document.

> Reconfiguring does not help.

> Help>LaTeX configuration reports the relevant files as present

> ...

I found some more details:

The file ~/.lyx/doc/LaTeXConfig.lyx opened via Help>LaTeX Configuration
is outdated (June 24, 2008 !)

The reconfiguration log ~/.lyx/configure.log says:

  INFO: checking for a Latex2e program...
  INFO: +checking for "latex"...  yes
  INFO: checking for a DVI postprocessing program...
  INFO: +checking for "pplatex"...  no
  INFO: checking for pLaTeX, the Japanese LaTeX...
  INFO: +checking for "platex"...  no
  DEBUG: Add to RC:
  \converter latex      dvi        "latex"      "latex"
  
  
  WARNING: Latex not usable (not LaTeX2e) 
  DEBUG: Removing file chklatex.ltx
  DEBUG: Failed to remove file chklatex.log

and ~/.lyx/textclass.lst has lines like

  "article" "article" "article" "false" "article.cls"

(only docbook related entries contain "true").

The output of `latex --version` is:

  pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
  kpathsea version 6.1.0
  Copyright 2012 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
  There is NO warranty.  Redistribution of this software is
  covered by the terms of both the pdfTeX copyright and
  the Lesser GNU General Public License.
  For more information about these matters, see the file
  named COPYING and the pdfTeX source.
  Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
  Compiled with libpng 1.2.49; using libpng 1.2.49
  Compiled with zlib 1.2.7; using zlib 1.2.7
  Compiled with poppler version 0.18.4

How does lyx test the latex version and how could it possibly assume that my
LaTeX version is not Latex2e?


Günter

Reply via email to