[texhax] Style location

Lars Madsen daleif at imf.au.dk
Sun May 29 17:51:24 CEST 2005

Konstantin Karapetyan :

> Dear TeX users,
> I have a sty file located in a directory above the project directory.
> And I don't want to include it into the texmf tree. Therefore I call
> the sty file with
> \usepackage{../foo}.
> Everything works fine but I get
> LaTeX Warning: You have requested package `../foo',
>               but the package provides `foo'.
> In the foo.sty it is defined as
> \ProvidesPackage{foo}[2005/05/20 v1.0b]
> How do I get rid of this warning?
> TIA!
> Happy TeXing,
> Konstantin.

why don't you just include it into your personal texmf tree, usually 
~/texmf/tex/latex is a good place.

otherwise add the directory to the TEXINPUTS variable



``You cannot help men permanently by doing for them 
what they could and should do for themselves. ''
  -- Abraham Lincoln

More information about the texhax mailing list