EmacsとAUCTeX
Yosemite にアップデートしたついでに、環境整備。
前回の設定の記録(14:49 - 2012年11月14日)tex 環境のはなし、
emacs は cocoa な 24.2 http://emacsformacosx.com/ 使ってるんだが、
auctex はこいつの package からインストールした。
この ELPA http://tromey.com/elpa/ っての、知らなかった。
上記emacsformacosx.com に行ってみたら、何と数日前にリリースされたばかり (cf.GNU Emacs 24.4 Released Today@/.)という 24.4 が すでに出てたので、入ってた 24.2 と入れ替えた。
が、ELPA から auctex が消えてたみたいで、めんどくせー、と。
ソースは AUCTEX / Download for Mac OS X に 11.87 ってのがある。
superuser.com: Installing AucTeX 1.86 over Emacs.app in OS Xみたら Emacs.app で AUCTeX を入れる話が出てて、やる気が出た。
ポイントは、 configure に渡すパラメータ。
そこでは tex 系は MacTeX を想定してて、
./configure --with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/Emacs.app/Contents/Resources/site-lisp
--with-texmf-dir=/usr/local/texlive/texmf-local
として、 make; sudo make install してみる。
./configure --with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/Emacs.app/Contents/Resources/site-lisp
--with-texmf-dir=/opt/local/share/texmf-local
できた。以上。