Thomas Spuhler wrote:
I am new to Lyx (and tetex). I tried to make a new document from a template.
Some of the them work fine, but some come up with the error class missing.
such as:
The document uses a missing TeX class "elsart". LyX will not be able to
produce output.
I installed the elsart.cls file
in /usr/share/texmf/tex/latex/amscls/elsart.cls
Tools -> TexInformation shows it there.
I also did a reconfigure.
I suspect you failed to run texhash after installing elsart.cls.
Without that, LyX sees it (hence it's on the TeX Information list), but
LaTeX can't use it (hence the no output warning). After running
texhash, you'll need to reconfigure LyX again, exit and restart.
/Paul