[OS X TeX] Package installation

Bruno Voisin bvoisin at mac.com
Mon Jun 2 06:56:17 EDT 2008


Le 2 juin 08 à 12:12, Holger Schulz a écrit :

> I put the pstricks-add folder in ~Library/texmf/tex

Make it ~/Library/texmf/tex/latex. Compare with the location in the  
TeXLive tree:

/usr/local/texlive/2007/texmf-dist/tex/latex/pstricks-add

> I thought that would do it, bu it doesn't. Still the old version is  
> used. Do I really have to put alls file manually somewhere in the  
> distribution tree?

What you experience depends on the order in which the various texmf  
trees are searched, which you can probe using kpsewhich (following has  
undergine minor editing):

$ kpsewhich --progname=latex --show-path=.tex | tr : '\n'.
~/.texlive2007/texmf-config/tex/latex//
~/.texlive2007/texmf-var/tex/latex//
~/Library/texmf/tex/latex//
!!/usr/local/texlive/2007/texmf-config/tex/latex//
!!/usr/local/texlive/2007/texmf-var/tex/latex//
!!/usr/local/texlive/2007/texmf/tex/latex//
!!/usr/local/texlive/2007/../texmf-local/tex/latex//
!!/usr/local/texlive/2007/texmf-dist/tex/latex//
~/.texlive2007/texmf-config/tex/generic//
~/.texlive2007/texmf-var/tex/generic//
~/Library/texmf/tex/generic//
!!/usr/local/texlive/2007/texmf-config/tex/generic//
!!/usr/local/texlive/2007/texmf-var/tex/generic//
!!/usr/local/texlive/2007/texmf/tex/generic//
!!/usr/local/texlive/2007/../texmf-local/tex/generic//
!!/usr/local/texlive/2007/texmf-dist/tex/generic//
~/.texlive2007/texmf-config/tex///
~/.texlive2007/texmf-var/tex///
~/Library/texmf/tex///
!!/usr/local/texlive/2007/texmf-config/tex///
!!/usr/local/texlive/2007/texmf-var/tex///
!!/usr/local/texlive/2007/texmf/tex///
!!/usr/local/texlive/2007/../texmf-local/tex///
!!/usr/local/texlive/2007/texmf-dist/tex///

As you see, the standard TeXlive repository for LaTeX packages,  
namely /usr/local/texlive/2007/texmf-dist/tex/latex/, is searched  
*after* ~/Library/texmf/tex/latex/ but *before* ~/Library/texmf/tex/.

Hope this helps,

Bruno Voisin


More information about the MacOSX-TeX mailing list