怎么解决mac OS 系统中latex fails within Emacs.app, but works in terminal
M-x getenv for PATH showed that /usr/texbin was missing, which explains why LaTex was not working inside the Emacs.app shell.following Alan Munn's idea to stay away from editing a .plist I found some good info here and hacked together this in ~/.emacs
(getenv "PATH")
(setenv "PATH"
(concat
"/usr/texbin" ":"
(getenv "PATH")))
/usr/texbin is now part of thePATH and LaTeX will play nice with Emacs.app
参考http://tex.stackexchange.com/questions/24510/pdflatex-fails-within-emacs-app-but-works-in-terminal
页:
[1]