B. Bogart wrote:

I did indeed do "reconfigure" and restarted LyX.

LyX complains about the file with the following:

The layout file requested by this document,
apa.layout,
is not usable. This is probably because a LaTeX
class or style file required by it is not
available. See the Customization documentation
for more information.
LyX will not be able to produce output.

I confirm that I do have APA installed:

$ kpsewhich apa.cls
/usr/share/texmf-texlive/tex/latex/apa/apa.cls

Perhaps apa.layout was included in the ubuntu 1.4.x package, but not in
1.5.1?


Don't know the answer to that -- I haven't installed an ubuntu package (yet -- it's on my to-do-someday list). You should be able to find the layout files in <LyX root>/Resources/layouts and confirm whether apa.layout is there. If not, I can easily e-mail it to you. I'm pretty sure you have the layout file, though: you posted earlier that it was listed in LyX as "unavailable". If you didn't have the layout file, it would not be listed at all.

You might confirm (via kpsewhich) that apacite.sty is also installed. If I'm reading apa.layout correctly, it tells LyX that apacite.sty is also used. I'm not sure what would happen if the configuration package found apa.cls but not apacite.sty.

As of version 1.5.x at least, when you reconfigure LyX, it writes a log file in your user directory (at least on Windows). If present, it will tell you whether it searched for, and whether it found, the APA class. For instance, mine has

+checking for document class apa [apa,apacite.sty]... yes

If there's no "checking for" message, it didn't see a layout file. If there's a message but it says "no", it found the layout file but not the class or style file(s).

/Paul

Reply via email to