Sander Klous wrote:
> +checking for document class elsart [elsart,amssymb.sty]... no
> 
> And I don't get a listing in lyx->document->class.
> 
> What's wrong?

LaTeX doesn't know to look in the .lyx directory.
Your directory tree should have
        /usr/share/texmf
which contains the 'standard' tex distribution. Note the 'ls-R' file. 
This is generated by runing 'texhash' and contains a listing of all 
files in your /usr/share/texmf directory tree. The tex search engine 
uses this and other, similar files to find stuff.

Personally, I would create
        /usr/local/share/texmf
and add the new files to that:
        /usr/local/share/texmf/tex/latex/elsart/elsart.sty
        /usr/local/share/texmf/tex/latex/elsart/elsart12.sty
        /usr/local/share/texmf/tex/latex/elsart/elsart.cls

I'm surprised that you don't have amssymb.sty in your distribution.
$ grep amssymb.sty /usr/share/texmf/ls-R

Assuming that you don't, add it to your local files. Eg:
        /usr/local/share/texmf/tex/latex/amssymb/amssymb.sty

Finally, from /usr/local/share/texmf, run texhash to update the tex 
database.

HTH,
-- 
Angus

Reply via email to