yatex setup

yatexの設定
本家からyatexのtar.gzを持ってくる
解凍(tar -xvzf)して、makefileをいじる。
Carbon Emacsではなく/usr/bin/emacsを使うつもりなので、mule
のとこの設定をコメントアウトし、emacsってところのコメントを外す。
インストール先は/usr/loca/share/emacsにする。たしかデフォルトでなってる。

ついでにバイトコンパイルもしてみるので、
make elc
make install
を実行
.emacs
(setq load-path (cons (expand-file-name "/usr/local/share/emacs/site-lisp/yatex") load-path))
(setq auto-mode-alist
(cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
を追加