[OS X TeX] TEXINPUTS?

Bruno Voisin bvoisin at mac.com
Thu Aug 17 06:44:13 EDT 2006


Le 17 août 06 à 11:
     44, trashomatic1 at mac.com a écrit :


> Hello.  A new question:
>      I used to have my pdflatex set up to look for \inputs in ~/ 
> Library/texmf/tex/latex .  I thought it came from adding that to  
> the TEXINPUTS path in my .bashrc with a command like;
>
> TEXINPUTS="$TEXINPUTS:
>     .:
>     $HOME/Library/texmf/tex/latex"
> export TEXINPUTS
>
> This doesn't work, however.  How can I set latex to look in that  
> folder by default?  Thanks.

As Peter Dyballa already said, looking into ~/Library/texmf doesn't  
come from any ~/.bashrc, it's built-in inside gwTeX. It's defined  
through

	/usr/local/teTeX/texmf.cnf
	/usr/local/teTeX/share/texmf/web2c/texmf.cnf

and is all explained in

	/usr/local/teTeX/share/texmf.gwtex/README.howtexfindsfiles

In particular, this document mentions the use of kpsewhich to know  
where pdflatex looks for files of extension .tex (and .sty, .cls  
etc.). Try

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

yielding here

	.:
	/Users/brunovoisin/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//:
         /Users/brunovoisin/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//:
         /Users/brunovoisin/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//:
         /Users/brunovoisin/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//:
         /Users/brunovoisin/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///:
         /Users/brunovoisin/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///

Bruno Voisin------------------------- 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 MacOSX-TeX mailing list