[tex-live] include directories to search for additonal fileslike *.bib *.sty, etc.

Thomas Jung thomas.jung at public-files.de
Sun May 9 01:23:31 CEST 2010


Hello Karl,

> There is no command line option, unfortunately.  Maybe someday there
> will be.  To date, you have to set environment variables.  In Windows
> syntax (I think):
>
> set TEXINPUTS=sty:
> set BIBINPUTS=bib:
>
> latex ...
> bibtex ...
>
> Putting the files in the TEXMFHOME tree is another possibility.  See the
> TL/kpathsea documentation about that, and the file texmf.cnf.

Yes, I thought this will work, but it's a little bit strange. Because
if I don't define these vars, then I get the error that the bib data and
the style files cannot be found. ok. But if I set these vars as:

set BIBINPUTS=.;bib
set TEXINPUTS=.;tex\sty

then bibtex find my bib data but latex doesn't find the class book.cls ???
Strange. Isn't it?

btw: The setup-process of TeX-Live (tlmgr) doesn't set any var in the
systems or user environment. Even if I start tlmgr as an elevated
Adminstrator (which is similar to the root account on unix/linux)

I'm new to texlive and for me it looks like that the BIBINPUTS and
the TEXNPUTS overwrite some "defaults"

btw: The command "tlmgr conf" looks good and all seem to be right

See: http://tjung.lima-city.de/tex/texlive/tlmgr/conf/


Thomas



More information about the tex-live mailing list