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
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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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?
Any help welcomed
Ben
On 12/12/07 1:12 PM, "James Nugent" jen20@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Ben,
Can you run pdflatex from terminal? What result do you get if you type the command: which pdflatex
If you installed via MacTeX then the proper path should be /usr/ texbin which is one of the places the bundle looks.
Brad
On Dec 12, 2007, at 8: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?
Any help welcomed
Ben
On 12/12/07 1:12 PM, "James Nugent" jen20@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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@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
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@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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 13 Dec 2007, at 09:30, Ben Wooliscroft wrote:
[...] When I type "which pdflatex" into terminal it also returns nothing, but I can go to /usr/texbin and see pdflatex.
So you want to add ‘/usr/texbin’ to the PATH variable.
[...] It appears that the files are there [...] but somehow hidden from the system, but not from TexShop?
Programs (shell commands) are found by looking in the folders specified as a :-separated list in the PATH environment variable.
TexShop likely has /usr/texbin (and probably a few other locations) as a hardcoded place to look for pdflatex, so that it works even w/o users setting up their PATH.
On Dec 13, 2007, at 4:30 AM, Allan Odgaard wrote:
On 13 Dec 2007, at 09:30, Ben Wooliscroft wrote:
[...] When I type "which pdflatex" into terminal it also returns nothing, but I can go to /usr/texbin and see pdflatex.
So you want to add ‘/usr/texbin’ to the PATH variable.
That shouldn't matter though, since we explicitly look for pdflatex under /usr/texbin
The problem here I think is the one fixed with commit 8619, in that the behavior of "which" has changed in Leopard (in the way it reports failure that is), so our code never makes it to the explicit look of paths (since it doesn't recognize the call to "which" that we make as failing).
Ben, are you running the most updated version of the bundle from the subversion repository?
[...] It appears that the files are there [...] but somehow hidden from the system, but not from TexShop?
Programs (shell commands) are found by looking in the folders specified as a :-separated list in the PATH environment variable.
TexShop likely has /usr/texbin (and probably a few other locations) as a hardcoded place to look for pdflatex, so that it works even w/ o users setting up their PATH.
Haris Skiadas Department of Mathematics and Computer Science Hanover College
Latex found!
I'm on the latest Latex bundle and have been all along.
I'm afraid that I'm not sure which of the following two things fixed the problem, they were instituted simultaneously:
Installed tex through i-installer (there was already a full MacTex installation, but a google hunt suggested this might fix a similar problem with Latexit, so I gave it a try).
Saved line:
PATH="/usr/bin:/bin:usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/usr/local/ sbin:/usr/texbin"
In environment.plist (but I'd done that before with no effect, even after logging out and on again).
I'm guessing that something in the i-installer programme has fixed what I couldn't.
Now when I select either MacTex or gwtex with the Tex distribution selector in System Prefs Textmate finds them and runs them, terminal finds them, etc..
It would be nice to know what was wrong, and what is now right, but I'm more than happy that I can get back to my high productivity Latex environment Textmate.
Thanks all
Ben
On 13/12/07 11:12 AM, "Charilaos Skiadas" cskiadas@gmail.com wrote:
On Dec 13, 2007, at 4:30 AM, Allan Odgaard wrote:
On 13 Dec 2007, at 09:30, Ben Wooliscroft wrote:
[...] When I type "which pdflatex" into terminal it also returns nothing, but I can go to /usr/texbin and see pdflatex.
So you want to add /usr/texbin¹ to the PATH variable.
That shouldn't matter though, since we explicitly look for pdflatex under /usr/texbin
The problem here I think is the one fixed with commit 8619, in that the behavior of "which" has changed in Leopard (in the way it reports failure that is), so our code never makes it to the explicit look of paths (since it doesn't recognize the call to "which" that we make as failing).
Ben, are you running the most updated version of the bundle from the subversion repository?
[...] It appears that the files are there [...] but somehow hidden from the system, but not from TexShop?
Programs (shell commands) are found by looking in the folders specified as a :-separated list in the PATH environment variable.
TexShop likely has /usr/texbin (and probably a few other locations) as a hardcoded place to look for pdflatex, so that it works even w/ o users setting up their PATH.
Haris Skiadas Department of Mathematics and Computer Science Hanover College
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate