diff options
author | taoka <taoka@FreeBSD.org> | 2001-03-09 05:56:26 +0000 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 2001-03-09 05:56:26 +0000 |
commit | 170eee7c01d2835d1b020a517f64b6e7b6f5a1d3 (patch) | |
tree | 43d1d97b41ae8dc62dba7bb9bdf287f6c94de6c1 /print/yatex/files | |
parent | f17a2882b02653cece34ba8bfbffea30d4eefc76 (diff) | |
download | FreeBSD-ports-170eee7c01d2835d1b020a517f64b6e7b6f5a1d3.zip FreeBSD-ports-170eee7c01d2835d1b020a517f64b6e7b6f5a1d3.tar.gz |
Update version to 1.69.e (this is beta version, 10103091216).
The version supports YaTeX's hilighting for XEmacs (font-lock).
Diffstat (limited to 'print/yatex/files')
-rw-r--r-- | print/yatex/files/yatex-startup.el.tmpl | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/print/yatex/files/yatex-startup.el.tmpl b/print/yatex/files/yatex-startup.el.tmpl index c5da8a6..4460820 100644 --- a/print/yatex/files/yatex-startup.el.tmpl +++ b/print/yatex/files/yatex-startup.el.tmpl @@ -20,10 +20,24 @@ ;; (1=Shift JIS, 2=JIS, 3=EUC) ;(setq YaTeX-kanji-code 3) ;; -;; 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) + +;; To highlight buffer, LaTeX commands (e.g. \section{foo}) +(if (featurep 'xemacs) + (progn + ;;;;;; XEmacs 21 or later ;;;;;; + (setq YaTeX-use-font-lock t) + ) + (if (string-match "19.34" emacs-version) + (progn + ;;;;;; Emacs 19.34 ;;;;; + (setq YaTeX-use-hilit19 t) + ) + (progn + ;;;;;; Emacs 20 or later ;;;;;; + (setq YaTeX-use-hilit19 t) +; (setq YaTeX-use-font-lock t) + ))) + ;; ;;;;;;;; Yahtml (another html-mode) ;;;;;; ;(setq auto-mode-alist |