edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

external commands doen't seem to be found #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IMPORTANT! Before creating a new Issue please search the old Issues for
duplicates.  Also, please do not use this page to ask questions, instead
post to the vim_mac mailing list.  There are more people on that list that
can answer questions.  Only file an issue if you have found a bug.  (You
can safely delete this text now that you have read it and enter an issue
report.  Thank you for taking the time to report new bugs!)

What steps will reproduce the problem?
:make on a tex file, :!path_to_script for custom shell script, also
:!pdflatex
/bin/bash: pdflatex: command not found

What is the expected output? What do you see instead?
compile a pdf of my tex document. I get the error "/bin/bash: pdflatex:
command not found, when I then tried calling pdflatex from my custom script
it was not found either, the other commands in the bash script worked as
expected

What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")? OS X 10.5.6 & MacVim 7.2 stable 1.2

Please provide any additional information below.
Doesn't work in cli either: "LaTeX Error: Missing \begin{document}." from
cli vim while \begin{document} is clearly there, however calling my custom
script from cli vim works fine. But as I said MacVim doesn't even find
pdflatex.

My custom script: texmake
#!/bin/bash
pdflatex ~/Desktop/test/test.tex
open test.pdf

Original issue reported on code.google.com by kcd...@gmail.com on 27 Apr 2009 at 4:05

GoogleCodeExporter commented 9 years ago
Please only use the Issue page to report bugs.  If you need help with 
Mac-specific problems you can ask on 
the vim_mac Google group, or on vim_use if you have general Vim problems.

That being said, the solution to your problem may be as easy as:

Go to: MacVim -> Preferences -> Advanced
Make sure the following is enabled: "LaunchVim processes in a login shell"

If not, ask on one of the mailing lists (vim_mac would be a good bet).

Original comment by bjorn.winckler@gmail.com on 27 Apr 2009 at 4:27

GoogleCodeExporter commented 9 years ago
Sorry about using the wrong place. And thank you very much for helping any way!

Original comment by kcd...@gmail.com on 27 Apr 2009 at 10:07

GoogleCodeExporter commented 9 years ago
This problem appear mac vim 7.3.x 

In 7.x, advanced tab menu don't have "Make sure the following is enabled: 
"LaunchVim processes in a login shell"

Check please

Original comment by neoc...@gmail.com on 31 Jan 2011 at 12:38

GoogleCodeExporter commented 9 years ago
First of all, go through the steps listed at:

https://github.com/b4winckler/macvim/wiki/Troubleshooting

If that doesn't help you identify the problem you may ask on vim_mac but do 
give details about your setup (do you use bash, zsh, etc.?).  I recall other 
people having similar problems but it is usually something about their setup 
which causes it.

Original comment by bjorn.winckler@gmail.com on 1 Feb 2011 at 6:44