[TxMt] Latex not found
Ben Wooliscroft
bwooliscroft at business.otago.ac.nz
Thu Dec 13 08:30:08 UTC 2007
Following the instructions from Haris Skiadas below results in:
"which pdflatex" returns nothing!
"echo $PATH" returns:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.ap
p/Contents/MacOS:/bin:/sbin:/usr/bin:/usr/sbin:/Applications/TextMate.app/Co
ntents/SharedSupport/Support/bin
When I type "which pdflatex" into terminal it also returns nothing, but I
can go to /usr/texbin and see pdflatex. Trying to run pdflatex from terminal
results in command not found, but it runs (from usr/texbin) in TexShop.
Now I'm really confused. It appears that the files are there (re-installed
with a new download of MacTex after this problem started - which hasn't
fixed the problem) but somehow hidden from the system, but not from TexShop?
Any thoughts much appreciated.
Thanks
Ben
On 12/12/07 3:56 PM, "Charilaos Skiadas" <cskiadas at gmail.com> wrote:
>
> 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
>>>>
>>>>
>
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list