On Thu, 9 Dec 1999, Tracy T. Lunt wrote:

> I have copied the thesis.layout file to the layout directoy, the
> thesis-template.lyx file to the templates directory and the thesis.cls
> file to the .tex directory (I just guessed where to put them :).  I
> couldn't find where to put the thesis.sty file.

Put the sty file in the same directory as the .cls file.  The step you
missed out was making sure that latex can find those files.  You probably
need to set TEXINPUTS environment variable (check your latex distro's
documentation) or setup so texhash can be rerun and latex's database of
sty/cls files (a bit more complicated)

tcsh/csh:
        setenv TEXINPUTS ".:/usr/share/lyx/tex:"
bash/sh:
        export TEXINPUTS=".:/usr/share/lyx/tex:"

Something like that should be all you need (adjust the path to lyx/tex as
need be), then run lyx and select Options->Reconfigure.  I guess we need
to add this to the docs (I just had a quick look and didn't see anything
specific although I'm sure it's there somewhere).

Allan. (ARRae)

P.S. if the above setenv/export line works then you should add it to your
     ~/.tcshrc or ~/.bashrc respectively.

Reply via email to