aboutsummaryrefslogtreecommitdiff
path: root/print/yatex
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2001-03-09 05:56:26 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2001-03-09 05:56:26 +0000
commit06ad58dfb76b3be307b5c72bf4bdba3be1a5ddc3 (patch)
tree40664ddfa064481261f3f75982aeaa9dfd5d15d6 /print/yatex
parenta42cbff4128323430fffdbc21ce599904b421170 (diff)
downloadports-06ad58dfb76b3be307b5c72bf4bdba3be1a5ddc3.tar.gz
ports-06ad58dfb76b3be307b5c72bf4bdba3be1a5ddc3.zip
Update version to 1.69.e (this is beta version, 10103091216).
The version supports YaTeX's hilighting for XEmacs (font-lock).
Notes
Notes: svn path=/head/; revision=39296
Diffstat (limited to 'print/yatex')
-rw-r--r--print/yatex/Makefile11
-rw-r--r--print/yatex/distinfo2
-rw-r--r--print/yatex/files/yatex-startup.el.tmpl22
3 files changed, 26 insertions, 9 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile
index 1d79245a9745..4fa3e20bb389 100644
--- a/print/yatex/Makefile
+++ b/print/yatex/Makefile
@@ -6,17 +6,20 @@
#
PORTNAME= yatex
-PORTVERSION= ${VERSION}
+PORTVERSION= 1.69.e
CATEGORIES?= print elisp
-MASTER_SITES= http://www.yatex.org/
-DISTNAME= ${PORTNAME}${PORTVERSION}
+MASTER_SITES= http://www.yatex.org/ \
+ http://www.gentei.org/~yuuji/tmp/
+DISTNAME= ${PORTNAME}${VERSION}
+#DISTNAME= ${PORTNAME}${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
MAINTAINER= taoka@FreeBSD.org
PKGINSTALL= ${WRKDIR}/INSTALL
PKGDEINSTALL= ${WRKDIR}/DEINSTALL
PKGMESSAGE= ${WRKDIR}/MESSAGE
-VERSION= 1.67
+VERSION= 10103091216
TARGETNAME= YaTeX
DIRSECTION= The Emacs editor and associated tools
EMACS_PORT_NAME?=emacs20
diff --git a/print/yatex/distinfo b/print/yatex/distinfo
index 2aa8e46fe80f..75c2efe5e4ae 100644
--- a/print/yatex/distinfo
+++ b/print/yatex/distinfo
@@ -1 +1 @@
-MD5 (yatex1.67.tar.gz) = ff0fba39a1c6f3fca5d6242b8e1134e1
+MD5 (yatex10103091216.tar.gz) = bd83e924d26c386e5b73597468d89bad
diff --git a/print/yatex/files/yatex-startup.el.tmpl b/print/yatex/files/yatex-startup.el.tmpl
index c5da8a6c56a8..44608202586d 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