[OS X TeX] Re: MacOSX-TeX Digest #1206 - 11/25/04

Peter Cholak Peter.Cholak.1 at nd.edu
Fri Nov 26 08:21:17 EST 2004


> Isn't it specific to csh? Or does it work with bash (the original
> poster's shell) too?
>
> Also, does it suppress the necessity to create a
> ~/.MacOSX/environment.plist file?
>
The following lines work with any shell and suppress the need for above  
file.  Clearly they will have to be changes to suit where you store  
things.

------------------

;; set the shell for xdvi forward search.

(setq explicit-shell-file-name "/bin/tcsh")

;; Bib-cite does not use kpsewhich. Must set this by hand.

(setq bib-bibtex-env-variable "TEXBIB")

;; Patch to provide missing environment variables to Emacs

(setenv "TEXBIB" ".:/Users/cholak/Library/texmf/bibtex/bib//")

(setenv "PATH" (concat (getenv "PATH")
":/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/bin"))

(setenv "DISPLAY" "localhost:0.0")

(setenv "INFOPATH"  
"/Applications/Emacs.app/Contents/Resources/info:/usr/local/teTeX/info: 
/sw/share/info:/sw/info:/usr/local/share/info:/usr/local/lib/info:/usr/ 
local/info:/usr/share/info")

(setenv "MANPATH"   
"/Applications/Emacs.app/Contents/Resources/info:/usr/local/teTeX/info: 
/sw/share/info:/sw/info:/usr/local/share/info:/usr/local/lib/info:/usr/ 
local/info:/usr/share/info")

;; List of printers.  Command line printing works in 10.3 using cusp.

(setq TeX-printer-list nil)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list