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

John B. Thoo jthoo at yccd.edu
Thu Sep 28 06:33:58 CEST 2006


Dear Martin and Gerben---

Thanks for your replies.

Martin, your suggestion worked.  So now I'll move everything else I 
have in

   /sw/share/texmf-local

into  /sw/share/texmf-local/tex

:-)

---John.


On Sep 27, 2006, at 5:00 PM, in TeX on Mac OS X Mailing List
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.
>
> After running texhash, you can look with
>
>    kpsewhich interitemtext.sty
>
> whether your tex system sees the file.
>
> --
> Martin

And Gerben Wierda also wrote:

> 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