[XeTeX] XeLaTeX in Emacs AUCTeX problem
herbs at wideopenwest.com
Wed Mar 30 17:35:16 CEST 2011
On Mar 30, 2011, at 10:17 AM, Christoph Unger wrote:
> I have a question that I am not quite sure where to ask. I am editing
> my xelatex documents normally in Emacs.app 23 running in Terminal.app
> on MacOSX 10.5 and it has been working fine. Recently, I deprecated
> Fink (using MacPorts only now) and installed TeXLive 2010 through MacTex 2010
> and removed my earlier TeXLive 2008 installation (not MaCTeX). I now
> have the following problem:
> 1. Running Emacs.app -nw in terminal, and Emacs.app with GUI does not
> run xelatex (or xetex), complaining that the command was not found.
> 2. Using Aquamacs with the same .emacs file and custamizations,
> xelatex works fine.
> Obviously, this must be a PATH related problem, but the PATH seems to
> be fine. Here is the result of 'echo $PATH':
> So /usr/texbin is in the path, and therefore Emacs.app should find the
> programs just as Aquamacs does. But it doesn't.
> Typing the commands 'xelatex' and 'xetex' in the
> terminal does run the commands. However, 'whereis xetex' doesn't give
> a result, but 'which xetex' gives the result '/usr/texbin/xetex' (and
> likewise for 'xelatex').
> Where can I look to find out what the problem is?
Sorry, I'm not an emacs user but you might also try asking on the Mac OS X TeX email list since there are folks there using emacs. You can get more information at <http://mactex-wiki.tug.org/wiki/index.php/TeX_on_Mac_OS_X_mailing_list>.
One thing you might examine is if there are things in /opt/local/* that is interfering with the usual path search.
(herbs at wideopenwest dot com)
More information about the XeTeX