changeset 369:a536acc07a75 dev

Re-activate forward-search code.
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 28 Dec 2014 16:18:40 +0900
parents 8ee8514e06ed
children 037f8d4c3c70
files yatex.el yatexprc.el
diffstat 2 files changed, 15 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/yatex.el	Fri Dec 26 01:10:22 2014 +0900
+++ b/yatex.el	Sun Dec 28 16:18:40 2014 +0900
@@ -1,6 +1,6 @@
 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
 ;;; (c)1991-2014 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Fri Dec 26 00:04:43 2014 on firestorm
+;;; Last modified Sun Dec 28 16:17:42 2014 on firestorm
 ;;; $Id$
 ;;; The latest version of this software is always available at;
 ;;; http://www.yatex.org/
@@ -8,7 +8,7 @@
 ;;; Code:
 (require 'comment)
 (require 'yatexlib)
-(defconst YaTeX-revision-number "1.78"
+(defconst YaTeX-revision-number "1.78.1"
   "Revision number of running yatex.el")
 
 ;---------- Local variables ----------
--- a/yatexprc.el	Fri Dec 26 01:10:22 2014 +0900
+++ b/yatexprc.el	Sun Dec 28 16:18:40 2014 +0900
@@ -1,7 +1,7 @@
 ;;; yatexprc.el --- YaTeX process handler
 ;;; 
 ;;; (c)1993-2014 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Fri Dec 26 01:07:52 2014 on firestorm
+;;; Last modified Fri Dec 26 16:14:48 2014 on firestorm
 ;;; $Id$
 
 ;;; Code:
@@ -866,15 +866,18 @@
 		  ;; yet. If you find correct command line, PLEASE TELL
 		  ;; IT TO THE AUTHOR before publishing patch on the web.
 		  ;; ..PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE..
-		  ;; ((string-match "sumatra" previewer)	;;??
-		  ;;  (format "%s \"%s.pdf\" -forward-search \"%s\" %d"
-		  ;; 	   previewer bnr cf line))
-		  ;; ((string-match "qpdfview" previewer)	;;??
-		  ;;  (format "%s '%s.pdf#src:%s:%d:0'" ;if NG, tell 
-		  ;; 	   previewer bnr cf line))
-		  ;; ((string-match "okular" previewer)	;;??
-		  ;;  (format "%s '%s.pdf#src:%d' '%s'"
-		  ;; 	   previewer bnr line cf))
+		  ((string-match "sumatra" previewer)	;;??
+		   (format "%s \"%s.pdf\" -forward-search \"%s\" %d"
+			   ;;Send patch to the author, please
+			   previewer bnr cf line))
+		  ((string-match "qpdfview" previewer)	;;??
+		   (format "%s '%s.pdf#src:%s:%d:0'"
+			   ;;Send patch to the author, please
+		  	   previewer bnr cf line))
+		  ((string-match "okular" previewer)	;;??
+		   (format "%s '%s.pdf#src:%d' '%s'"
+			   ;;Send patch to the author, please
+		  	   previewer bnr line cf))
 		  )))
 	(YaTeX-system cmd "jump-line" 'noask pdir)))))
 

yatex.org