Hi,
I'm a biology grad student trying make my university supported thesis 'class file' (dalthesis.cls) available in my linux distribution (ubuntu 7.10) in Lyx (v1.5.1). On my computer Lyx uses the 'texlive' distribution of latex. From what I've read on the web/help files, it seemed just a matter of adding the new class file into the "texmf" tree and then re-building the "texmf" index. But when I reconfigure Lyx it doesn't see the new class file. I'm a newbie but I think the issue might be that texhash updates texlive no matter what directory new files are put and Lyx requires a specific directory. (?) Below the line are a couple of examples of attempts to install the class file.
Any help greatly appreciated!
Trevor.
--------------
#1) copy file to 'texmf' tree
sudo cp dalthesis.cls /usr/share/texmf-texlive/tex/latex/base
#2) rebuild 'texmf' index and output
sudo texhash
#texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
#texhash: Updating /var/lib/texmf/ls-R-TEXLIVE...
#texhash: Updating /var/lib/texmf/ls-R...
#texhash: Done.
#3) start Lyx, Tools>Reconfigure, restart Lyx
#also tried repeating steps #2,#3 after creating a new directory and copying files here
sudo cp dalcsthesis.cls /usr/share/texmf-texlive/tex/latex/dalthesis
#and here, after reading suggestions online
sudo cp dalcsthesis.cls /usr/share/texmf/tex/latex/lyx
LyX ⇒ new class file
NEW: TikZ book now 40% off at Amazon.com for a short time.
new class file
It seems that you also must create a layout file for the new document class. See this page.