On Mon, Sep 24, 2001 at 04:02:38PM -0400, [EMAIL PROTECTED] wrote:
> herbert held,
> 
> 
> > On Mon, 24 Sep 2001 [EMAIL PROTECTED] wrote:
> 
> > > herbert harumphed,
> > > > "Richard E. Hawkins" wrote:
> 
> > > Thanks, but this gives the error, File `time.sty' not found.
> 
> > package time available at CTAN
> 
> OK, now for the sillier part: I don't see anything in the preferences 
> or document specification to tell lyx where to look for these.  I know 
> I did osmething similar with my dissertation, but it doesn't seem to be 
> on this machine for some reason. 
> 

It's in teTeX documentation. Basically there are several approaches. The
quickest is to

setenv TEXINPUTS directory/where/your/styles/are//:

in your .login, or if you use sh .profile (export TEXINPUTS=...)

Colon ':' could be at the beginning also, but it must be somewhere to
inherit the existing TEXINPUTS path. Double slash is needed to include
all the subdirectories too.

Then run your LyX Edit->Reconfigure menu option.

Trouble begins when you want to add new BibTeX files, new fonts, etc.
and you begin using BIBINPUTS, ...

The most general solution (that I use) is to create a directory in your
home directory called texmf. The subdirectories should be arranged in
the same way as the system texmf tree (see teTeX documentation again --
$TEXMF/doc/index.html). Of course you define only those you need (e.g.
texmf/tex/latex/misc/time.sty or texmf/fonts/type1/adobe/Cheq/). Then in
your .login (adjust for .profile if you use sh) put only this:

setenv TEXMF '{~/texmf,\!\!$TEXMFLOCAL:\!\!$TEXMFMAIN}'                         

and it will see all your texmf subtree additions including fonts,
bibtex styles, latex styles, ...

All this is described in the above mentioned teTeX documentation (see
links to FAQ and TeX directory structure.

Hope this puts you on the right path. :-)

Best regards,
-- 
Zvezdan Petkovic <[EMAIL PROTECTED]>
http://www.cs.wm.edu/~zvezdan/

Reply via email to