[OS X TeX] TextMate & LaTeX woes

Alan Litchfield alan at alphabyte.co.nz
Wed Aug 3 05:07:39 EDT 2005


On Aug 3, 2005, at 8:49 AM, Mika Luoma-aho wrote:

> Dear All,
>
> having trouble running LaTeX commands on TextMate 1.1b15 on TL2005.  
> It used to work before I made the move TL2005 and/or TM was  
> updated. When I run the command LaTeX and view, I get:
> Compiling LaTeX...
>
> /bin/bash: line 33: pdflatex: command not found
> Success
> Error: PDF file not written to disk
>

Currently your PATH in /etc/profile probably reads:

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

You can add the directory for latex by changing it to read:

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/TeX/bin/powerpc-darwin6.8/"
export PATH

I would suggest you use vi to add the path, but that is just my  
choice in text editors. In which case you enter on a Terminal prompt:

sudo vi profile

Enter your admin password when prompted. Then in vi press i to enter  
INSERT mode. Use the arrow keys to move the cursor to where you want  
to enter the text. Type in the additional text and hit ESC. Then  
type :wq which will write the changes to disk, then quit vi.

You will need to restart the application, but not the computer.

HIH Alan
--------------------- 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