On May 17, 2008, at 10:53 AM, Jean Magnan de Bornier wrote:
Le 17 mai à 10:11:13 Dalyoung Jeong
écrit notamment: | However, the same command worked well in a terminal.
| Maybe the system setup of yours is different from mine. | Usually I run "source .luatex" first before running luatex. | So my guess is that emacs couldn't know the luatex path even though it | is known in another program "terminal".
| Am I correct? If so, how to apply environment .luatex to global | condition? Otherwise, what are wrong in my setup?
Yes I think you are correct; if you start emacs *from this terminal from which you issued "source .luatex"* you will probably see that emacs knows luatex; this is what I had on my system, before I found how to have all my emacs know the proper environment. I am on linux and I believe you are on mac, so I'm not sure my experience can be extended to you?
If needed I will be more specific.
hth
Yes, you're both right. What I do (and what I find the easiest way): start emacs from the same terminal where you have issued "source .luatex" with the command "open -a emacs". That way, emacs should know about path variables. Thomas