[OS X TeX] problem using /opt/local instead of /usr/local/
Enrico Franconi
franconi at inf.unibz.it
Thu Sep 11 08:16:46 EDT 2008
Have you checked that the TeX Distribution control panel selects TeX
Live as opposed to MacPorts-teTeX?
--e.
On 11 Sep 2008, at 22:13, Christopher Brewster wrote:
> All point to /opt/
> TexLive is being ignored.
>
> christopher-brewsters-macbook-pro-15:vitae kiffer$ which kpsewhich
> /opt/local/bin/kpsewhich
> christopher-brewsters-macbook-pro-15:vitae kiffer$ which latex
> /opt/local/bin/latex
> christopher-brewsters-macbook-pro-15:~ kiffer$ kpsewhich fmtcount.sty
> christopher-brewsters-macbook-pro-15:~ kiffer$ kpsewhich texmf.cnf
> /opt/local/share/texmf/web2c/texmf.cnf
> christopher-brewsters-macbook-pro-15:~ kiffer$ kpsewhich --all
> texmf.cnf
> /opt/local/share/texmf/web2c/texmf.cnf
>
> fmtcount.sty does not exist in /opt/... but does exist in /usr/local/
> texlive/...
>
> How do I get rid of this problem?
> Delete /opt/local ?
> or is there some more correct way?
> Will this be sorted if I install TexLive 2008?
>
> Thank you for your help.
>
> Christopher
>
>
>
> On 11 Sep 2008, at 12:50, Bruno Voisin wrote:
>
> Le 11 sept. 08 à 13:32, Christopher Brewster a écrit :
>
>> No this does not help.
>>
>> It still searches /opt/ first.
>> There must be a setting somewhere else.
>> Changes I make to ~/.profile appear to have no effect on where
>> latex is called.
>>
>> This is causing further frustrations, some style file I am using is
>> looking for "fmtcount.sty" which Locate tells me exists in the
>> TexLive distribution but not in the MacPorts one.
>
> Not sure the following diagnoses will help, but you may try (in
> Terminal):
>
> which kpsewhich
> which latex
> kpsewhich fmtcount.sty
> kpsewhich texmf.cnf
> kpsewhich --all texmf.cnf
>
> The first will tell where kpsewhich is found, which is then used by
> TeX and friends to find all things TeX-related. The second tells
> which latex is used, the third where fmtcount.sty is found.
>
> The fourth and fifth tell which configuration files texmf.cnf are
> used (the effect of these files is cumulative). These are the
> configuration files which define the locations of the various texmf
> trees, in which order they are searched and for which type of TeX
> component.
>
> Here with MacTeX 2008 and no MacPorts I'm getting:
>
> $ which kpsewhich
> /usr/texbin/kpsewhich
> $ which latex
> /usr/texbin/latex
> $ kpsewhich fmtcount.sty
> /usr/local/texlive/2008/texmf-dist/tex/latex/fmtcount/fmtcount.sty
> $ kpsewhich texmf.cnf
> /usr/local/texlive/2008/texmf.cnf
> $ kpsewhich --all texmf.cnf
> /usr/local/texlive/2008/texmf.cnf
> /usr/local/texlive/2008/texmf/web2c/texmf.cnf
>
> Bruno Voisin----------- Please Consult the Following Before Posting
> -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
More information about the MacOSX-TeX
mailing list