[macemacsjp-english 797] Re: emacs/latex problem

Back to archive index

Peter Dyballa Peter_Dybal****@Web*****
Thu Dec 21 08:25:53 JST 2006


Am 20.12.2006 um 22:12 schrieb Roussanka Loukanova:

> But bash does not see the command:
>
> $ ps4pdf.sh lec2.tex
> -bash: ps4pdf.sh: command not found

Can you invoke in Terminal

	echo $PATH

It seems that your bash is not set up to look also into ~/bin ... The  
cure would be to do this on the command line in Terminal:

	echo "export PATH=\$PATH:\$HOME/bin" >> ~/.bashrc

After you have run this you should be able to use ps4pdf.sh. No  
reboot, no logging out and in needed, just quit Terminal and launch  
it again, so that bash can "load" your .bashrc file and expand the  
search path for executables. Emacs is a bit different, you would need  
to add something like this to your .emacs file:

	(setenv "PATH" (concat "$HOME/bin" ":" (getenv "PATH")))

but I'm not sure about this. Hopefully some Elisp author corrects me!

--
Greetings

   Pete

How many Microsoft engineers does it take to screw in a light-bulb?
None.
They just redefine "dark" as the new standard.





More information about the macemacsjp-english mailing list
Back to archive index