yatex

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 diff
     1.1 --- a/yatex.el	Fri Dec 26 01:10:22 2014 +0900
     1.2 +++ b/yatex.el	Sun Dec 28 16:18:40 2014 +0900
     1.3 @@ -1,6 +1,6 @@
     1.4  ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
     1.5  ;;; (c)1991-2014 by HIROSE Yuuji.[yuuji@yatex.org]
     1.6 -;;; Last modified Fri Dec 26 00:04:43 2014 on firestorm
     1.7 +;;; Last modified Sun Dec 28 16:17:42 2014 on firestorm
     1.8  ;;; $Id$
     1.9  ;;; The latest version of this software is always available at;
    1.10  ;;; http://www.yatex.org/
    1.11 @@ -8,7 +8,7 @@
    1.12  ;;; Code:
    1.13  (require 'comment)
    1.14  (require 'yatexlib)
    1.15 -(defconst YaTeX-revision-number "1.78"
    1.16 +(defconst YaTeX-revision-number "1.78.1"
    1.17    "Revision number of running yatex.el")
    1.18  
    1.19  ;---------- Local variables ----------
     2.1 --- a/yatexprc.el	Fri Dec 26 01:10:22 2014 +0900
     2.2 +++ b/yatexprc.el	Sun Dec 28 16:18:40 2014 +0900
     2.3 @@ -1,7 +1,7 @@
     2.4  ;;; yatexprc.el --- YaTeX process handler
     2.5  ;;; 
     2.6  ;;; (c)1993-2014 by HIROSE Yuuji.[yuuji@yatex.org]
     2.7 -;;; Last modified Fri Dec 26 01:07:52 2014 on firestorm
     2.8 +;;; Last modified Fri Dec 26 16:14:48 2014 on firestorm
     2.9  ;;; $Id$
    2.10  
    2.11  ;;; Code:
    2.12 @@ -866,15 +866,18 @@
    2.13  		  ;; yet. If you find correct command line, PLEASE TELL
    2.14  		  ;; IT TO THE AUTHOR before publishing patch on the web.
    2.15  		  ;; ..PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE..
    2.16 -		  ;; ((string-match "sumatra" previewer)	;;??
    2.17 -		  ;;  (format "%s \"%s.pdf\" -forward-search \"%s\" %d"
    2.18 -		  ;; 	   previewer bnr cf line))
    2.19 -		  ;; ((string-match "qpdfview" previewer)	;;??
    2.20 -		  ;;  (format "%s '%s.pdf#src:%s:%d:0'" ;if NG, tell 
    2.21 -		  ;; 	   previewer bnr cf line))
    2.22 -		  ;; ((string-match "okular" previewer)	;;??
    2.23 -		  ;;  (format "%s '%s.pdf#src:%d' '%s'"
    2.24 -		  ;; 	   previewer bnr line cf))
    2.25 +		  ((string-match "sumatra" previewer)	;;??
    2.26 +		   (format "%s \"%s.pdf\" -forward-search \"%s\" %d"
    2.27 +			   ;;Send patch to the author, please
    2.28 +			   previewer bnr cf line))
    2.29 +		  ((string-match "qpdfview" previewer)	;;??
    2.30 +		   (format "%s '%s.pdf#src:%s:%d:0'"
    2.31 +			   ;;Send patch to the author, please
    2.32 +		  	   previewer bnr cf line))
    2.33 +		  ((string-match "okular" previewer)	;;??
    2.34 +		   (format "%s '%s.pdf#src:%d' '%s'"
    2.35 +			   ;;Send patch to the author, please
    2.36 +		  	   previewer bnr line cf))
    2.37  		  )))
    2.38  	(YaTeX-system cmd "jump-line" 'noask pdir)))))
    2.39