Since I'm running Debian Sid I do the following: mkdir /usr/localshare/texmf/tex/latex
Underneath that directory you can either make a separate directory/folder for each class style or leave them separate if it is just one file. For cleanliness I make sure each one has its own directory. Now if its a package from www.ctan.org it usually is tar'd up with its own directory in the first place. Underneath my directory tree I have the following so far: IEEEtran/ algorithms/ epigraph/ memoir/ paper/ pdfcolmk/ pdfdraftcopy/ pdftricks/ preprint/ prettyref/ resume/ runic/ .... move back up to the /usr/local/share/texmf directory. run texhash ls-R should be autogenerated. Then within LyX run Reconfigure followed by restarting LyX. Now LyX doesn't fully support memoir so when I need that class I use the latest version of Kile and code by hand, even though Kile does quite a bit of helping one out. -Marc On Monday 10 May 2004 08:05, Francisco Hidalgo Sola wrote: > El Lun 10 May 2004 09:49, Jim escribió: > > This is one of the most common questions I see asked. You need to either > > copy the appropriate files (i.e; hollywood.cls) from > > /usr/share/lyx/examples (on my gentoo system) to somewhere in your tetex > > path, and of course run texhash, then reconfigure in lyx. > > I put a separate folder in /etc/texmf , called lyx and stuck the files > > there. Kind of a hack, but I don't update very often. Good luck. > > Jim > > Well, I guess you meant /usr/share/lyx/tex, I'm using gentoo too. > From what I've read somewere else it should work if I run > `texhash /usr/share/lyx/tex/` it would be the same, but it didn't work. > So I simlinked that directory to /usr/share/texmf/tex/latex/lyx and after a > texhash worked fine. > So, thank you, it finally worked. > > Francisco