When I open a document I made in Lyx 1.4.x in 1.5.x LyX complains that APA is unavailable, and the file was working in 1.4.x using that class:
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 have not removed any packages, so I have no idea why apa.layout would now be missing, and have existed before. I can confirm that I have a "layout" file: $ dpkg -L lyx-common | grep apa.layout /usr/share/lyx/layouts/apa.layout I can also confirm I have the APA classfile: $ kpsewhich apa.cls /usr/share/texmf-texlive/tex/latex/apa/apa.cls The really confusing thing is that as far as I can tell the packages I have in feisty and gusty are the same. When I open the very same file in 1.4.x on feisty I get a different message: The document uses a missing TeX class "apa" LyX will not be able to produce output. Oddly both machines have the same exact same apa.cls. The layout files do differ, but copying the feisty layout into gutsy results in the same error above, after reconfiguring. I can see that LyX is not seeing the apa.cls file on feisty (it does not show up in the TeX information panel) but kpeswhich does say it is installed. On gusty the apa.cls file does show up in TeX information. I solved this one as it seems I had some tetex classes left, I've now installed texlive on the feisty machine, apa.cls does now show up in TeX information, but the same error about the class not being available persists. I can't understand the following: #1. How I was able to create a working article(APA) document in LyX on feisty. (on an machine now upgraded to gutsy) #2. Why that file will not open on gutsy due to a "unsuable" layout file (where the apa.layout files in gutsy and feisty are identical). #3. Why that file will not open on feisty due to a "missing TeX class" (where both feisty and gutsy have installed the same texlive-publishers package that includes the apa.cls class! I I'm really lost at this point and wondering if I imagined this file worked properly using article(APA) Thanks for your time. B. Bogart Juergen Spitzmueller wrote: > B. Bogart wrote: > >> So I reiterate that I was able to use "article(APA)" in 1.4.x, but that >> it is not working in 1.5.x. > > What is not working excatly? > > Jürgen >