[XeTeX] XeLaTeX in Emacs AUCTeX problem

Peter Dyballa Peter_Dyballa at Web.DE
Wed Mar 30 19:05:35 CEST 2011


Am 30.03.2011 um 17:17 schrieb Christoph Unger:

> Where can I look to find out what the problem is?


In *scratch* buffer:

	(getenv "PATH")

followed by a newline character after the closing parentheses, i.e. C- 
j. The value of $PATH in some *shell* or such buffer is not the same  
which is used when Emacs.app creates a sub-process for whatever.

Extended rumours say that you can set the correct PATH value in your  
login shell's *login* related RC file. For (t)csh it's ~/.login, for  
(Bourne) sh it's ~/.profile, for bash it's ~/.profile if it exists or  
~/.bash_login – see the bash man page for lots of fun. It's also  
possible to use the ~/.MacOSX/environment.plist file, which seem to  
fail in at least one application.

You can fix this also in Emacs by putting into your init file:

	(setenv "PATH" (concat "/usr/texbin" path-separator (getenv "PATH")))

--
Mit friedvollen Grüßen

   Pete

People say that if you play Microsoft CD's backwards, you hear satanic  
things, but that's nothing, because if you play them forwards, they  
install MS Windows.




More information about the XeTeX mailing list