On 09/16/2015 10:18 AM, Will Parsons wrote:
I had a working installation of LyX under FreeBSD, but at some point
fairly recently (I'm not sure the exact circumstances), my LyX
installation can't produce PDF files anymore because (almost) all
document classes are marked unavailable.  Googling has been no help -
the common recommendations of running (from LyX) "Tools =>
Reconfigure" and (from the command line) "fmtutil-sys --all" have not
solved the problem.

The document that I am currently working on uses the "article" class,
and under /usr/local/share/texmf-dist/tex/latex/base there is a file
"article.cls" (among other *.cls files).  I'm at a loss.  Can anyone
shed light on what might be wrong?

(I've already posted this to a FreeBSD mailing list without success so
far.)

Try running "kspewhich article.cls" first. Is it found?

Another possibility is some kind of python misconfiguration. Try this:
    mkdir /tmp/lyx
    cd /tmp/lyx
    python /usr/local/share/lyx/configure.py
or whatever the right path is for you. This basically treats /tmp/lyx as a LyX user directory and dumps appropriate files there. You may just see various error messages, in which case you can report them. If not, post the resulting configure.log file.

Richard



Reply via email to