[OS X TeX] les bins MacteX ne sont pas dans le PATH ?

Yvon Thoraval yvon.ubuntu at gmail.com
Wed Jul 4 16:57:38 CEST 2012


2012/7/4 Herbert Schulz <herbs at wideopenwest.com>
>
> Howdy,
>
> First, please restart Terminal after running FixMacTeX2011, or, at least,
> open a new session. Then check your PATH to make sure /usr/texbin is on the
> PATH. (The CLI hasn't been abandoned! :-))
>
> From what you are saying above you are using TeX Live 2010 rather than TeX
> Live 2011 I'm not sure FixMacTeX2011 will really help. Wait... you say you
> installed MacTeX-2011 which installs TeX Live 2011! Assuming you are using
> OS X 10.5 or later (TeX Live 2011 will not run under 10.4 or earlier) and
> you really did install MacTeX-2011.
>
> Did you install MacTeX from the DVD? If so you may have a bad version of
> the TeX Distribution Preference Pane in System Preferences. It should be
> `v. 2.0 (Build 150)' in the lower left corner of the Preference Pane.
> FixMacTeX2011 should fix that.
>
> I've also seen a situation where permissions were set improperly on /usr
> (the x bit must be set for all or the system won't look inside). Could you
> please check that too.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
I've installed TeXLive 2011 using the page <http://www.tug.org/mactex/2011/>.
I do have version 2011 installed :

$ls -al /usr/local/texlive/
total 0
drwxr-xr-x   6 root  wheel  204  3 jul 09:47 .
drwxrwxr-x  19 root  staff  646 23 jui 00:44 ..
drwxr-xr-x  21 root  wheel  714  7 nov  2009 2009
drwxr-xr-x  22 root  wheel  748  4 jul 00:27 2010
drwxr-xr-x  22 root  wheel  748  3 jul 23:34 2011
drwxr-xr-x   9 root  wheel  306  4 jul 00:27 texmf-local

Then I've used "MacTeX.mpkg.zip" (latest).
I'm using Mac OS X Lion 10.7.4.
My TeX Pref Pane is of v. 2.0 (Build 150)

I forgot to set the prefs to TeXLive 2011 (Intel 64).
Then i reapplied "FixMacTeX2011" after the switch in pref pane.
perms of texbin seems to be correct :
$ lal /usr/texbin
lrwxr-xr-x  1 root  wheel  63  4 jul 15:33 /usr/texbin ->
/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin

$ lal  /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin
lrwxr-xr-x  1 root  admin  6  4 jul 15:33
/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin -> x86_64

$ lal  /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/x86_64
lrwxr-xr-x  1 root  admin  61  3 jul 09:50
/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/x86_64 ->
../../../../../../../usr/local/texlive/2011/bin/x86_64-darwin

And, finaly :
$ lal /usr/local/texlive/2011/bin/
drwxr-xr-x  359 root  staff  12206  3 jul 23:42 universal-darwin
drwxr-xr-x  358 root  staff  12172  3 jul 23:42 x86_64-darwin

Quit session too, reopen it.

However I still get :
$ which dvips
dvips not found


then, I've added to my .zshrc :
PATH=/usr/texbin:$PATH
MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH
INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH

and, also :
echo PATH=$PATH > .profile
for TextMate, following :
<http://devilelephant.blogspot.fr/2007/07/textmate-zsh-zshell.html>

I've to mention that MANPATH and INFOPATH are empty...

May be those PATH, MANPATH and INFOPATH are set by an Apple plist ???

Because a man grep works....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20120704/b78ea47c/attachment.html>


More information about the macostex-archives mailing list