[OS X TeX] Problem to install new packages to my Latex distribution.

Bruno Voisin bvoisin at mac.com
Tue Jun 12 12:33:57 CEST 2007


Le 12 juin 07 à 11:35, Behrendt Benjamin a écrit :

> Am 09.06.2007 um 16:31 schrieb Herbert Schulz:
>
>> On Jun 9, 2007, at 5:33 AM, Behrendt Benjamin wrote:
>>
>>> I#m trying to get the glossary package working on my computer for  
>>> quite some time now. So far I managed to install it with "latex  
>>> glossary.ist". However, I have not been able to update my tex  
>>> database.
>>> Could someone tell me how to do that?
>>
>> Where are you putting the glossary package's files? What TeX  
>> distribution do you have?
>
> I have saved the files on my local harddrive in usr/local/teTeX/ 
> share/texmf/glossary . I don't rarly know which TeX distribution I  
> use. It's Tex2 as far as i know. Is there anywere I can find that  
> out? My skills with the terminal are varry limeted,

Using "kpsewhich --show-path=.ist" will tell you were MakeIndex looks  
for index style files. For your teTeX setup, by decreasing order of  
precedence:

.
~/Library/texmf/makeindex//
!!/usr/local/teTeX/share/texmf.local/makeindex//
!!/usr/local/teTeX/share/texmf.gwtex/makeindex//
!!/usr/local/teTeX/share/texmf.tetex/makeindex//
!!/usr/local/teTeX/share/texmf/makeindex//

Hence /usr/local/teTeX/share/texmf.local/makeindex/ would do.  
Regarding the use of kpsewhich, see /usr/local/teTeX/share/ 
texmf.tetex/doc/programs/kpathsea.pdf.

Two remarks:

- Never ever change anything inside /usr/local/teTeX/share/texmf/.  
This should be TeX's private area. Use /usr/local/teTeX/share/ 
texmf.local/ or ~/Library/texmf/ instead. After putting anything in  
the former, run "sudo mktexlsr".

- You seem to be using the teTeX distribution, which is deprecated  
(not longer developed and supported for one or two years, I think).  
There are two current TeX distributions for the Mac (apart from those  
provided by Fink and MacPorts):

--- TeXLive-2007, provided through the all-in-one MacTeX package at  
<http://www.tug.org/mactex/>, a quite extensive compilation of all  
things TeX but also a bit overwhelming and shaky at times.

--- gwTeX, provided through i-Installer <http://ii2.sourceforge.net/ 
 >, no longer supported but still developed, less extensive than the  
full TeXLive but also more consistent and reliable.

Here are the locations for .ist files in the three distributions  
(respectively teTeX, gwTeX and TeXLive-2007). If the texdist command  
doesn't mean anything to you, don't worry, it's irrelevant with  
respect to your problem:


theo8mc233:~ bvoisin$ texdist --texdist=gwTeX-2003-2005 "kpsewhich -- 
show-path=.ist"
.
~/Library/texmf/makeindex//
!!/usr/local/teTeX/share/texmf.local/makeindex//
!!/usr/local/teTeX/share/texmf.gwtex/makeindex//
!!/usr/local/teTeX/share/texmf.tetex/makeindex//
!!/usr/local/teTeX/share/texmf/makeindex//

theo8mc233:~ bvoisin$ texdist --texdist=gwTeX "kpsewhich --show- 
path=.ist".
~/Library/texmf/makeindex//
!!/usr/local/gwTeX/texmf.local/makeindex//
!!/usr/local/gwTeX/texmf.pkgs/makeindex//
!!/usr/local/gwTeX/texmf.gwtex/makeindex//
!!/usr/local/gwTeX/texmf.texlive/makeindex//
!!/usr/local/gwTeX/texmf/makeindex//

theo8mc233:~ bvoisin$ texdist --texdist=TeXLive-2007 "kpsewhich -- 
show-path=.ist"
.
~/.texlive2007/texmf-config/makeindex//
~/.texlive2007/texmf-var/makeindex//
~/Library/texmf/makeindex//
!!/usr/local/texlive/2007/texmf-config/makeindex//
!!/usr/local/texlive/2007/texmf-var/makeindex//
!!/usr/local/texlive/2007/texmf/makeindex//
!!/usr/local/texlive/2007/../texmf-local/makeindex//
!!/usr/local/texlive/2007/texmf-dist/makeindex//

Hope this helps,

Bruno Voisin
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list