diff options
Diffstat (limited to 'app-emacs/yatex/files/50yatex-gentoo.el')
-rw-r--r-- | app-emacs/yatex/files/50yatex-gentoo.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-emacs/yatex/files/50yatex-gentoo.el b/app-emacs/yatex/files/50yatex-gentoo.el new file mode 100644 index 0000000..2b3b457 --- /dev/null +++ b/app-emacs/yatex/files/50yatex-gentoo.el @@ -0,0 +1,18 @@ + +;;; yatex site-lisp configuration + +;; YaTeX-mode +(setq auto-mode-alist + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) +(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) + +;; YaHtml-mode +(setq auto-mode-alist + (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) +(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) + +;; If your Kanji code is EUC-JP, then it is better to add following +;; lines into .emacs, and it makes file encoding EUC. + +(setq YaTeX-kanji-code 3) +(setq yahtml-kanji-code 3) |