Re: How to tell Auctex where Latex is?

Jörg Eschenfelder <[email protected]> Sun, 13 Mar 2005 00:58:44 +0800
Newsgroups gmane.emacs.auc-tex
Message-ID <BE5940C4.43C5%[email protected]>
Hi David,

Thank you for your help. It works fine now.

Have a nice day,

Joerg


On 12.03.2005 19:28 Uhr, "David Kastrup" <[email protected]> wrote:

> Jörg Eschenfelder <[email protected]> writes:
> 
>> I am a total newbie to Emacs and Auctex and I have a silly question but
>> though I looked at the faq and the manual I cannot figure out, how to tell
>> Auctex where my TeX is.
>> 
>> To your information:
>> I am running the Carbon Emacs 21.3.5 on an iBook G4 Mac OSX 10.3 and have a
>> Latex-installation in /Users/Applications/TexLive2004....
>> 
>> But whenever I try to run Latex I get the message that the process ended
>> without writing a page.
>> If I run the same file in TexShop everything is fine and the process ends
>> without any error.
> 
> Put it in your PATH.  I don't know your shells and the MacOSX
> organization of files, but as long as you are running only from within
> Emacs, something like
> 
> (unless (string-match ":/Users/Applications/TexLive2004/bin/macos:"
>            (concat ":" (getenv "PATH") ":"))
>   (setenv "PATH" (concat "/Users/Applications/TexLive2004/bin/macos:"
>      (getenv "PATH"))))
> 
> in ~/.emacs should do the trick.  The binary directory will likely be
> called something different than "macos".
> 
> In the long run, it might be more sensible to do this on startup.  If
> you have a .profile file in your home directory, something like
> 
> case ":$PATH:" in *:/Users/Applications/TexLive2004/bin/macos:*) ;;
> *) PATH="/Users/Applications/TexLive2004/bin/macos:$PATH" ;;
> esac
> 
> should to the trick there.

*******************
28 Wilby Road
#02-41 The Tessarina
Singapore 276309

ph: +65 6468 4295
hp: +65 9184 6570
email: [email protected]