On Sun, Mar 16, 2008 at 4:40 PM, Niels Kobschaetzki n.kobschaetzki@googlemail.com wrote:
I installed MacTeX today with the Leopard-Fix for making the TeX-environment-switch possible. I added /usr/texbin to my .bash_login as well. TeXShop has no problems rendering files. TextMate just tells me: /bin/sh: kpsewhich: command not found Error: Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
My tip: the path-variable TextMate uses doesn't include /usr/texbin When I type env in the Terminal I get a PATH that includes /usr/texbin but it seems that the stuff from .bash_login is only read in my session when I type . ~/.bash_login Therefore I guess there was a change in Mac OS X where my stuff gets its environment from.
My question: How do I get TeX working again in TextMate (and maybe: How do I get Terminal to use .bash_login always)?
More search in the archive helped me to solve the problem…just put /usr/texbin in /etc/profile
Niels