[OS X TeX] Two questions (documentation-related)

Gerben Wierda sherlock at rna.nl
Wed Mar 27 08:55:41 EST 2002

On Wednesday, March 27, 2002, at 08:37 , Bruno Voisin wrote:

> - Does anybody know how to search for a file in teTeX's directory 
> /usr/local/teTeX. Everytime I try to use Sherlock on this directory, it 
> finds nothing, even when I search for a file which is actually there. I 
> guess this has something to do with access authorizations (I am 
> administrator on my G4), since Sherlock says the folder 
> /usr/local/teTeX cannot be indexed.

On the command line:


it is not entirely trivial, but mostly

	kpsewhich filename

will work (especially for .tex and .sty files and the like). However, 
sometimes you need to tell it what kind of special file you are looking 

[dumbledore:local/src/www.rna.nl] root# kpsewhich language.dat

[dumbledore:local/src/www.rna.nl] root# kpsewhich config.ps

[dumbledore:local/src/www.rna.nl] root# kpsewhich -format='dvips config' 

As an added bonus, kpsewhich not only tells you where the file is, but 
if there are multiple of the same name, it will tell you which one will 
be used by TeX...


To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.

More information about the MacOSX-TeX mailing list