[OS X Emacs] LaTeX cannot find its class/style files (obvious fixes attended to)

Peter Dyballa Peter_Dyballa at Web.DE
Sat Jan 5 05:40:59 EST 2008


Am 05.01.2008 um 04:37 schrieb pdfinn:

> I'm not actually using Carbon Emacs; I'm using the standard GNU Emacs
> through a terminal application (iTerm).  The Emacs I'm running  
> seems to know about
> environmental variables set in my bash .profile.

Yes, this one has in its process environment all the variables the  
shell has defined, since it runs (from and) in that shell.

 From shell you can also use a modern Carbon or Cocoa Emacs (I  
presume you're working with Apple's old /usr/bin/emacs 21.2) and it  
will have PATH and all other variables set: just launch it as ``/ 
Applications/Emacs.app/Contents/MacOS/Emacs &´´ – this way you can  
also pass arguments and options. Besides you can in such an Emacs  
with its own windows (frame) use Preview-LaTeX: particularly  
mathematical formulae will be inserted as if in the final PDF output  
from LaTeX. And AUCTeX will use faces and colours to emphasise syntax  
or document structure.


In case you're thinking of using X11 and the GNU Emacs X client, then  
you'll have to use ~/.MacOSX/environment.plist because the X server  
is an Aqua application that does not know anything from the shell  
level environment. And all its "knowledge" gets inherited by its  
clients ... (I've created a little scripts based application to  
correct X11)

--
Greetings

   Pete

If all else fails read the instructions.
				- Donald Knuth






More information about the MacOSX-Emacs mailing list