[TxMt] Latex not found

Charilaos Skiadas cskiadas at gmail.com
Wed Dec 12 14:56:18 UTC 2007


On Dec 12, 2007, at 9:35 AM, Ben Wooliscroft wrote:

> Hi James
>
> Thanks for the suggestion, unfortunately it still says "pdflatex  
> not found".
> I've googled myself into utter confusion trying to find out what I  
> should
> put in the environment.plist file, but nothing has come close to  
> working.
>
> The real question is why did it stop working in the first place and  
> how can
> it be fixed at the bundle level?

What happens if you open a new plain document in textmate, and type  
the following:

which pdflatex
which kpsewhich
echo $PATH


and then move to  each row and press ctrl-R? I get:

which pdflatex
/usr/texbin/pdflatex
which kpsewhich
/usr/texbin/kpsewhich
echo $PATH
/Users/haris/Library/Application Support/TextMate/Support/bin/ 
CocoaDialog.app/Contents/MacOS:/usr/local/mysql/bin:/bin:/sbin:/usr/ 
bin:/usr/sbin:/usr/local/bin:/usr/texbin:/Users/haris/Library/ 
Application Support/TextMate/Support/bin


If you get something different in the first two options, then what do  
you get from the same commands executed in the terminal? And also,  
how and from where did you install/update your latex installation?  
Did you use MacTeX?

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College


> Any help welcomed
>
> Ben
>
>
>
>
> On 12/12/07 1:12 PM, "James Nugent" <jen20 at bath.ac.uk> wrote:
>
>> Hi,
>>
>> I had a similar problem a couple of days ago, and fixed it by  
>> creating
>> the file environment.plist in a folder named .MacOSX in my home
>> directory, with the following contents:
>>
>> { PATH = "/sw/bin:/usr/bin:/bin:/usr/sbin:/sbin"; }
>>
>> I think it required a logout/in (or possibly a restart).
>>
>> Hope this helps,
>>
>>
>> James
>>
>>
>>
>> On 12 Dec 2007, at 12:05, Ben Wooliscroft wrote:
>>
>>> Hi all,
>>>
>>> I've enjoyed using TextMate a great deal and don't want to use the
>>> other
>>> Latex editors on my computer, but:
>>> - after updating to Leopard all was okay
>>> - I installed the latex Leopard fix and...
>>> - TextMate doesn't find pdflatex and suggests that the path is not
>>> there or
>>> Latex isn't installed
>>> - I know that Latex is installed because Texshop continues to find
>>> it and
>>> run it happily
>>> - I've updated (via a complete re-install of Mactex) Latex, but it
>>> still
>>> isn't found by Textmate and is by Texshop
>>> - I've looked at the manual and see that I should update/modify the
>>> path,
>>> but I'm not sure where to and how to update it.
>>>
>>> Any help or suggestions greatly appreciated,
>>>
>>> Thanks
>>>
>>> Ben
>>>
>>>
>>> -- 
>>> Dr Ben Wooliscroft
>>> Senior Lecturer, University of Otago
>>> Marketing Department
>>>
>>> Currently on sabbatical at the Wirtschaft Universität, Vienna
>>> Postal address:
>>> Dr Ben Wooliscroft
>>> Marketing Scheuch 3.OG [C]
>>> WU-Wien,
>>> Augasse 2-6,
>>> A-1090
>>> Wien
>>> Austria
>>>
>>>






More information about the textmate mailing list