Re: Emacs and TeX

"William McCallum" <[email protected]> Mon, 11 Nov 2002 20:40:36 -0700
Newsgroups gmane.emacs.macintosh.user
Message-ID <[email protected]>
I've had this before and I think it is a path related problem (although  
it's possible I am forgetting so let me know if the following doesn't  
work). Carbon applications get their environment variables from a file  
called environment.plist which is in a folder called .MacOSX in your  
home directory (yes there's a dot at the beginning to make it  
invisible). Create the folder and the file if they don't exist.  
Attached below is a copy of my environment.plist file, which works with  
Gerben Weirda's teTeX. I use Carbon emacs installed with the binary  
installer available from

http://www.webweavertech.com/ovidiu/emacs.html

I have auctex and reftex installed using fink

http://fink.sourceforge.net/

It's a bit odd that Franconi's emacs doesn't work, I thought he had all  
the path stuff figured out.

In general I find Carbon emacs still a little cranky. If you want a  
smoother experience, install emacs 21 to run under X-windows, also  
availabe from fink, as is xfree86 itself.

Another tip; if you have trouble getting carbon emacs to call up xdvi  
(also from fink), try putting

(setq process-connection-type nil)

in your .emacs file. (This would also be my second guess about your tex  
process problem if my first guess was wrong.)


Here is my environment.plist file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM  
"file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
	<key>DISPLAY</key>
	<string>:0.0</string>
	<key>HOME</key>
	<string>/Users/williamm</string>
	<key>INFOPATH</key>
	<string>/sw/share/info:/sw/info:/usr/local/share/info:/usr/local/lib/ 
info:/usr/local/info:/usr/share/info</string>
	<key>PATH</key>
	<string>/sw/bin:/sw/sbin:/Users/williamm/Library/bin:/Users/williamm/ 
bin/powerpc-apple-darwin:/Users/williamm/bin:/usr/local/bin:/usr/bin:/ 
bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/teTeX/ 
bin/powerpc-apple-darwin-current</string>
         <key>XDVIINPUTS</key>
         <string>  
/usr/local/teTeX/share/texmf/xdvi:/usr/local/teTeX/share/texmf/dvips/ 
config</string>
</dict>
</plist>

(520) 621 6697
http://www.math.arizona.edu/~wmc



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf