I submitted this question last week, but didn't get a response. So I'll give it another try.
I have lyx1.3.3 installed on RH7.3
I downloaded the elsart.layout from
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/layouts/
and installed it in ~/.lyx/layouts
In the same directory I have elsart.sty, elsart12.sty and elsart.cls that I downloaded from elsevier and amssymb.sty that I downloaded from
this is the wrong directory. The right one depends to the root access and what directories are searched by TeX. For example on my system:
[EMAIL PROTECTED]:~> kpsepath tex .:/home/voss/texmf/tex/generic//:!!/opt/texlive/texmf-var/tex/generic//: /opt/texlive/texmf-local/tex/generic//:!!/opt/texlive/texmf/tex/generic//: /home/voss/texmf/tex///:!!/opt/texlive/texmf-var/tex///: /opt/texlive/texmf-local/tex///:!!/opt/texlive/texmf/tex///: /home/voss/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX [EMAIL PROTECTED]:~>
I have all local files in /opt/texlive/texmf-local/tex/
Another good choice is
/home/voss/texmf/tex/
because you need no root access.
I ran lyx->reconfigure.
this is only important for the layout file. For the TeX part run first texhash and then reconfigure from within LyX.
Herbert
