On 2012-10-31, Paul A  Rubin wrote:
> Guenter Milde <milde <at> users.sf.net> writes:

>> How does lyx test the latex version

...

> Try putting the following in a text file naed chklatex.ltx someplace
> convenient (like your desktop):

> \nonstopmode\makeatletter
> \ifx\undefined\documentclass\else
>   \message{ThisIsLaTeX2e}
> \fi
> \@@end

> Open a shell there and run latex against that file. You should get a message
> in the shell (stdout) containing ThisIsLaTeX2e. If not, perhaps you can
> figure out what failed.

Thanks for this tip. Indeed there was a hidden problem, running the file
resulted in:

  This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
   restricted \write18 enabled.
  ---! /home/milde/.texmf-var/web2c/pdftex/latex.fmt doesn't match pdftex.pool
  (Fatal format file error; I'm stymied)

After removing the offending file (actually all contents of ~/texmf-var), the
configuration ran smootly.

Thanks,

Günter

Reply via email to