Hi, I'm using TextMate on Leopart to use Latex. I've installed the full Latex package for Mac.
When I try to typeset & view a document I get the error: "env: ruby: Not a directory".
In the preferences, the Shell Variables are:
TM_LATEX_VIEWER -> TeXinscope PATH -> /usr/texbin/kpsewhi (I've checked it exist on this path)
Do you know what could I do?
Thanks!
xxx xxxx
Warning: This e-mail is privileged, confidential and contains private information. Any reading, retention, distribution or copying of this communication by any person other than its intended recipient is prohibited.
On Sun, Aug 16, 2009 at 8:26 PM, xxx<xxxx> wrote:
Hi, I'm using TextMate on Leopart to use Latex. I've installed the full Latex package for Mac. When I try to typeset & view a document I get the error: "env: ruby: Not a directory". In the preferences, the Shell Variables are: TM_LATEX_VIEWER -> TeXinscope PATH -> /usr/texbin/kpsewhi (I've checked it exist on this path) Do you know what could I do?
I had to delete ~/Library/Application Support/TextMate/Bundles/Latex.tmbundle (deleted Latextra.tmbundle as well but I don't know if that is necessary) and therefore revert to the original bundle in the app itself, then rename tm_interactive_input.dylib in the TextMate.app (it's in TextMate.app/Contents/SharedSupport/Support/lib/) - oh yes and search for that file in ~/Library/Application Support/TextMate/Support as well and rename it there, too. After that TextMate and LaTeX worked fine.
Have a look in http://ticket.macromates.com/show?ticket_id=FAB08510 as well - if you use MacPorts there's a hint regarding that as well.
If you did a clean install - don't forget to install fonts you used in your files… I had some rendering problems because I did not yet installed all fonts I used ;)
Niels
What name should I put to tm_interactive_input.dylib?
Thanks!
xxx xxxx
Warning: This e-mail is privileged, confidential and contains private information. Any reading, retention, distribution or copying of this communication by any person other than its intended recipient is prohibited.
On Sun, Aug 16, 2009 at 8:47 PM, Niels Kobschaetzki < n.kobschaetzki@googlemail.com> wrote:
On Sun, Aug 16, 2009 at 8:26 PM, xxx<xxxx> wrote:
Hi, I'm using TextMate on Leopart to use Latex. I've installed the full Latex package for Mac. When I try to typeset & view a document I get the error: "env: ruby: Not
a
directory". In the preferences, the Shell Variables are: TM_LATEX_VIEWER -> TeXinscope PATH -> /usr/texbin/kpsewhi (I've checked it exist on this path) Do you know what could I do?
I had to delete ~/Library/Application Support/TextMate/Bundles/Latex.tmbundle (deleted Latextra.tmbundle as well but I don't know if that is necessary) and therefore revert to the original bundle in the app itself, then rename tm_interactive_input.dylib in the TextMate.app (it's in TextMate.app/Contents/SharedSupport/Support/lib/) - oh yes and search for that file in ~/Library/Application Support/TextMate/Support as well and rename it there, too. After that TextMate and LaTeX worked fine.
Have a look in http://ticket.macromates.com/show?ticket_id=FAB08510 as well - if you use MacPorts there's a hint regarding that as well.
If you did a clean install - don't forget to install fonts you used in your files… I had some rendering problems because I did not yet installed all fonts I used ;)
Niels
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Aug 16, 2009, at 4:47 PM, xxx wrote:
What name should I put to tm_interactive_input.dylib?
You aren't using snow leopard are you?
If you are getting an error from env, I think that you probably just have a bad path. What is the whole PATH variable that you are using?
—Alex
I'm using Leopard 10.5.7. and the variable PATH is set to " /usr/texbin/kpsewhi". Is it correct?
xxx xxxx
Warning: This e-mail is privileged, confidential and contains private information. Any reading, retention, distribution or copying of this communication by any person other than its intended recipient is prohibited.
On Mon, Aug 17, 2009 at 2:02 AM, Alex Ross tm-alex@rosiba.com wrote:
On Aug 16, 2009, at 4:47 PM, xxx wrote:
What name should I put to tm_interactive_input.dylib?
You aren't using snow leopard are you?
If you are getting an error from env, I think that you probably just have a bad path. What is the whole PATH variable that you are using?
—Alex
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
xxx <xxxx> wrote:
I'm using Leopard 10.5.7. and the variable PATH is set to " /usr/texbin/kpsewhi". Is it correct?
Almost certainly not: I would imagine that
"/usr/texbin"
would be the appropriate directory here, as it contains all the tex/latex binaries. (Do you really have a directory "/usr/texbin/kpsewhi"? That looks like it's a truncated version of the location of the "kpsewhich" utility, which finds latex bits and pieces (ie it's the latex version of the usual "which" command in unix.)
More to the point: I don't think you actually need to set the PATH manually for latex to work: if you've used MacTeX to install things TextMate should find what it needs to compile your files automatically. See the "Help" file inside the latex bundle.
Cheers, Paul