Created
September 25, 2011 12:14
-
-
Save henry0312/1240549 to your computer and use it in GitHub Desktop.
.emacs for YaTeX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; YaTeX | |
(setq auto-mode-alist | |
(cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) | |
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) | |
(setq load-path (cons (expand-file-name "/Users/henry/.emacs.d/site-lisp/yatex") load-path)) | |
(setq tex-command "~/Library/TeXShop/bin/platex2pdf-utf8" ; eucの場合はplatex2pdf-euc | |
dvi2-command "open -a Preview") ; Preview.appを使ってPDFを開く | |
(setq YaTeX-kanji-code 4) ; (setq YaTeX-kanji-code nil)の方がいいかもしれない。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment