On 09/16/2015 02:49 PM, Will Parsons wrote:
On Wednesday, 16 Sep 2015 12:31 PM -0400, Richard Heck wrote:
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?
% kspewhich article.cls
kspewhich: Command not found.
Sorry, as I said in a different message, typo: try "kpsewhich article.cls".
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.
OK - I put it at pastebin:
http://pastebin.com/RkyZ0nX6
The script seems to be running correctly, and it's finding a lot of
things, including some docbook classes, but it's not finding any of your
LaTeX classes or packages. So try to command above, which will tell us
whether the packages can be found from the command line.
Richard