Am 07.08.2007 um 05:02 schrieb paula.chesley

> /bin/sh: line 1: latex: command not found

This looks a bit strange: are you using a shell script to do a  
particular LaTeX job consisting of a sequence of commands for the  
contents of the AUCTeX buffer? Then you would need to provide the  
complete PATH value for this script (learn how to set up bash) ...

>
> LaTeX exited abnormally with code 127 at Mon Aug  6 21:32:38
>
> My latex run command is /sw/bin/latex, which is where latex is on my
> machine:
>
> 21:58 [EMAIL PROTECTED] ~% which latex
> /sw/bin/latex
>
> Can someone tell me what the problem is?

According to David Reitter from Aquamacs Emacs your problem does not  
exist.

My recommendation is the same as that from Kaspar Daniel Hansen:  
record indispensable environment variables in ~/.MacOS/ 
environment.plist! And be aware that changes to the system need to be  
recorded there too. Apple describes the file here: http:// 
developer.apple.com/qa/qa2001/qa1067.html. When the file is kept up- 
to-date, you can use its contents as in this bash statement:

        export PATH=$(defaults read "${HOME}/.MacOSX/environment" PATH)


You can create ~/.MacOS/environment.plist with:

        mkdir ~/.MacOSX
        defaults write ${HOME}/.MacOSX/environment "PATH" $PATH

When you re-launch Aquamacs Emacs, I think no log-out is needed, it  
is served with information from the file.


With Apple's DeveloperTools package (and Xcode updates too?) comes a  
GUI application to handle such XML files: /Developer/Applications/ 
Utilities/Property List Editor.app. The Public Domain offers other  
GUIs like PlistEdit Pro (http://homepage.mac.com/bwebster/ 
plisteditpro.html) or PrefSetter (http://homepage.mac.com/ 
darkshadow02/apps.htm#prefsetter), and the PLTools (http:// 
www.macorchard.com/PLTools/) for the command line.


--
Greetings

   Pete

War springs from unseen and generally insignificant causes.
                                        -- Anonymous



--~--~---------~--~----~------------~-------~--~----~
"Carbon Emacs" group mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/carbon-emacs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to