LyXnew class file

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
tkdoerksen
Posts: 1
Joined: Sat Mar 15, 2008 6:51 pm

new class file

Post by tkdoerksen »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

new class file

Post by Juanjo »

It seems that you also must create a layout file for the new document class. See this page.
Post Reply