[TxMt] How do I set up TextMate for LaTeX correctly?

Gewitterbukk gewitterbukk at me.com
Thu Mar 19 02:21:20 UTC 2009


Dear TextMate/LaTeX specialists!

I consult you because I've got a problem with setting up TextMate  
(TM) for LaTeX correctly. At the moment TM seems to choose between  
using "latex" or "pdflatex" by itself independent of the default  
engine setting. For example when I'm using packages like "auto-pst- 
pdf" or "pstricks" TM uses "latex" to compile although "pdflatex" is  
set as default engine. This results in problems like everyone can  
imagine. The only way to avoid this is inserting the line "%!TEX TS- 
program = pdflatex" at the beginning if the LaTeX code. But that's  
not the general idea I think.

When I try to compile LaTeX-Code for the first time, I get the window  
which is shown in the screenshot "pic1" attached in the appendix of  
this mail. Up to now I've pressed the button "Set PATH and Relaunch".  
Just because I don't know what "kpsewhich" means and where it is to  
find. Maybe that's the crunchpoint. After that the Terminal starts,  
sets the PATH and TM restarts. But it doesn't work correctly in my  
opinion. "Pic2" shows my LaTeX preferences. My current PATH is "/bin:/ 
sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin". The shell  
variables are shown in "pic3". I'm using Mac OS 10.4.11, TeXLive 2008  
and the current version of TM.

I would be very lucky if someone could help me by letting me know the  
right settings.

Thanks a lot beforehand!

Best regards from Germany

A. van Ohlen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic1.jpg
Type: image/jpeg
Size: 52063 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20090319/c662da19/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic2.jpg
Type: image/jpeg
Size: 50984 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20090319/c662da19/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic3.jpg
Type: image/jpeg
Size: 43625 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20090319/c662da19/attachment-0002.jpg>


More information about the textmate mailing list