Meadow のインストーラーで YaTeX のインストールまで可能である。 残念ながら多少の設定は必要であるらしい。 筆者は .emacs に
(require 'yatex-startup) |
| yatex-startup.el |
;; a startup elisp for YaTeX
;; -- S. Taoka <taoka@FreeBSD.org>
;;;;;;;;;;; YaTeX (Ver.1.67) ;;;;;;;;;;;
(setq load-path (append (list
"c:/meadow/packages/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)
;;
;(setq tex-command "latex")
(setq tex-command "c:/tex/bin/platex")
;(setq dvi2-command "xdvi -geo +0+0 -s 3")
(setq dvi2-command "c:/tex/dviout/dviout -GIF=5")
;; If you use dvipsk as default, you should use the following three
lines.
;(setq dviprint-from-format "-p %b")
;(setq dviprint-to-format "-l %b")
;(setq dviprint-command-format "dvips %f %t %s | lpr")
;; specifying a Kanji code for Mule
;; (1=Shift JIS, 2=JIS, 3=EUC)
;(setq YaTeX-kanji-code 3)
(setq YaTeX-kanji-code 1)
;;
;; For XEmacs, it is not supported that YaTeX originally color
;; LaTeX commands (e.g. \section{foo}) by using hilit19
;; so you had better uncomment the next line.
;(put 'yatex-mode 'font-lock-defaults 'latex-mode)
;;
;;;;;;;; Yahtml (another html-mode) ;;;;;;
;(setq auto-mode-alist
; (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
;(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
;; Write your favorite browser. But netscape is advantageous.
;(setq yahtml-www-browser "netscape")
;; Write correspondence alist from ABSOLUTE unix path name to URL path.
;(setq yahtml-path-url-alist
; '(("/home/yuuji/public_html" . "http://www.mynet/~yuuji")
; ("/home/staff/yuuji/html" . "http://www.othernet/~yuuji")))
(provide 'yatex-startup)
|
次のところから入手して、C:¥meadow¥site-lisp に コピーするのが簡単である。
http://www.math.meiji.ac.jp/~mk/math-comp/conf/yatex-startup.el