[OS X TeX] latex from an xterm window cannot find a .sty file

Gerben Wierda Gerben.Wierda at rna.nl
Wed Sep 27 09:04:03 CEST 2006


On Sep 27, 2006, at 07:52, Martin Costabel wrote:

> John B. Thoo wrote:
>> Hi.  I hope this is not off-topic.
>> I'm using Mac OS X 10.3.9 and tetex installed using Fink (version  
>> 0.7.2.rsync).
>> I have a file "interitemtext.sty" in
>>    /sw/share/texmf-local/interitemtext/interitemtext.sty
>
> Try if putting it into
>
>   /sw/share/texmf-local/tex/interitemtext/interitemtext.sty
>
> helps, i.e. place the "interimtext" directory inside the "tex"  
> directory beside which it is sitting right now. AFAICT, texhash lists  
> only the contents of the "tex" subdirectory of a given directory in  
> which it places its "ls-R" database file.

Afaik, texhash just hashes the entire directory. But kpsewhich only  
looks for sty files inside the tex subdirectory when looking for .tex  
or .sty files.

G

kpsewhich -progname=pdflatex -show-path=.tex

.:/Volumes/Data/Users/gerben/Library/texmf/pdftex/latex//:!!/usr/local/ 
teTeX/share/texmf.local/pdftex/latex//:!!/usr/local/teTeX/share/ 
texmf.gwtex/pdftex/latex//:!!/usr/local/teTeX/share/texmf.tetex/pdftex/ 
latex//:!!/usr/local/teTeX/share/texmf/pdftex/latex//:/Volumes/Data/ 
Users/gerben/Library/texmf/tex/latex//:!!/usr/local/teTeX/share/ 
texmf.local/tex/latex//:!!/usr/local/teTeX/share/texmf.gwtex/tex/latex/ 
/:!!/usr/local/teTeX/share/texmf.tetex/tex/latex//:!!/usr/local/teTeX/ 
share/texmf/tex/latex//:/Volumes/Data/Users/gerben/Library/texmf/ 
pdftex/generic//:!!/usr/local/teTeX/share/texmf.local/pdftex/generic/ 
/:!!/usr/local/teTeX/share/texmf.gwtex/pdftex/generic//:!!/usr/local/ 
teTeX/share/texmf.tetex/pdftex/generic//:!!/usr/local/teTeX/share/ 
texmf/pdftex/generic//:/Volumes/Data/Users/gerben/Library/texmf/tex/ 
generic//:!!/usr/local/teTeX/share/texmf.local/tex/generic//:!!/usr/ 
local/teTeX/share/texmf.gwtex/tex/generic//:!!/usr/local/teTeX/share/ 
texmf.tetex/tex/generic//:!!/usr/local/teTeX/share/texmf/tex/generic//: 
/Volumes/Data/Users/gerben/Library/texmf/pdftex///:!!/usr/local/teTeX/ 
share/texmf.local/pdftex///:!!/usr/local/teTeX/share/texmf.gwtex/ 
pdftex///:!!/usr/local/teTeX/share/texmf.tetex/pdftex///:!!/usr/local/ 
teTeX/share/texmf/pdftex///:/Volumes/Data/Users/gerben/Library/texmf/ 
tex///:!!/usr/local/teTeX/share/texmf.local/tex///:!!/usr/local/teTeX/ 
share/texmf.gwtex/tex///:!!/usr/local/teTeX/share/texmf.tetex/tex///:!! 
/usr/local/teTeX/share/texmf/tex///

Fink teTeX should give comparable results in the /sw tree.

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list