[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Package doesn't recognize my Fink teTeX installation

From: Armin Goralczyk
Subject: Re: [AUCTeX] Package doesn't recognize my Fink teTeX installation
Date: Tue, 10 May 2005 15:10:43 +0200

I've also installed AUCTeX manually, to work with this version of Emacs -- and it does, except that it doesn't find my teTeX installation. (For the record, I installed all of these just yesterday, including the CVS version of Emacs, so they should be up to date.)

Hi Chad
I work with carbon-emacs and Latex provided by fink/teTeX. AUCTeX is already installed with the carbon-emacs package (see http:// carbonemacspackage.html or e.html). Notice that there is a different package for Tiger and Panther, but I think AUCTeX is included in both.

You can either use the AUCTeX that comes with it (change nothing) or use your fink AUCTeX (see search=CarbonEmacsPackage).

The general problem is that Fink installs its packages into a separate directory /sw/bin, which is not included in the usual $PATH. Fink's setup includes creating a file called ".profile" in my home directory which adds /sw/bin (among others) to $PATH when I work in Terminal. Emacs, though, doesn't look at this file at all, and thus doesn't normally see the outside utilities.

Easily you can make it aware of environment variables even when starting it from the Finder (see emacs-en/MacOSTweaks), e.g. for use with any other fink package like teTex.

In the case of ispell, I was able to fix this by modifying the exec- path variable through the customize utility. teTeX is a bit different; emacs tries to invoke these programs by starting a shell, one which looks at .bashrc instead of .profile. I simply made .bashrc a hard link to .profile, which fixed the problem -- *if* I don't load AUCTeX. If I do, I get an error of the form "LaTeX exited abnormally with code 127" etc., which it seems means that LaTeX never actually started.

These websites also explain how to use ispell, aspell (which is also included in the package), fink aspell or cocoAspell. What you did is not necessary.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]