TeXShop だけ(つまり学生に布教するため)で良ければ、こちらの通りで完璧である(私は加えてLion版のTeXShopをインストールしている)。私は YaTeX を使いたいので、このエントリでは、以前整備した ptexlive の環境からの移行について述べる。
;; .emacs.d/init.el ;; http://sakito.jp/emacs/emacsshell.html#path ;; より下に記述した物が PATH の先頭に追加されます (dolist (dir (list "/sbin" "/usr/sbin" "/usr/bin" "/bin" "/Developer/Tools" "/usr/local/sbin" "/usr/local/bin" "/usr/texbin" ;; 追加 ;"/usr/local/texlive/p2009/bin/x86_64-apple-darwin10.6.0" ;; コメントアウト ;(expand-file-name "~/bin") ;(expand-file-name "~/bin/gnuplot") ))
;; PATH と exec-path に同じ物を追加します (when ;; (and (file-exists-p dir) ;; (not (member dir exec-path))) (setenv "PATH" (concat dir ":" (getenv "PATH"))) (setq exec-path (append (list dir) exec-path)))) ---- .bash_profile 変更前 export PATH=/usr/local/sbin:/usr/local/bin:/usr/local/Cellar/python/2.7.1/bin:/usr/local/texlive/p2009/bin/x86_64-apple-darwin10.6.0:$PATH 変更後 export PATH=/usr/local/sbin:/usr/local/bin:/usr/local/Cellar/python/2.7.1/bin:/usr/texbin:$PATH
コメントを残す