On Saturday 09 December 2006 16:54, Paul A. Rubin wrote:
> 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

Worked. Thanks. 
BTW is there a rule where exactly thos x.cls files should go?

-- 

Thomas 

Attachment: pgp8OD7jbFwqC.pgp
Description: PGP signature

Reply via email to