[OS X TeX] LaTeX command in TextMate

Paul McCann pmccann at gmail.com
Thu Mar 31 01:44:19 EST 2005


Hi Mika,
 
> /bin/bash: line 19: pdflatex: command not found

I think the answer to your problem is relatively straightforward: try
entering the following in TextMate's preferences under "Shell
Variables".

Variable: BASH_ENV
Value: /etc/profile

That gets bash to read this file when executing any command, and with
any luck your /etc/profile will already look similar to mine...

##################
# System-wide .profile for sh(1)

PATH="/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin"
export PATH

[ -r /etc/bashrc ] && source /etc/bashrc
## TeX modifications start at Wed Feb  2 17:00:15 CST 2005
## Do not remove the previous line
if [ `whoami` != "root" ]
then
  PATH="$PATH:/usr/local/teTeX/bin/powerpc-apple-darwin-current"
  export PATH
fi
## Do not remove the next line
## TeX modifications end at Wed Feb  2 17:00:15 CST 2005
#####################

If so you should be OK. 

Best of luck,
Paul
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list