yatex

diff yatexprc.el @ 369:a536acc07a75

Re-activate forward-search code.
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 28 Dec 2014 16:18:40 +0900
parents d4413f5043dc
children 037f8d4c3c70
line diff
     1.1 --- a/yatexprc.el	Fri Dec 26 01:09:32 2014 +0900
     1.2 +++ b/yatexprc.el	Sun Dec 28 16:18:40 2014 +0900
     1.3 @@ -1,7 +1,7 @@
     1.4  ;;; yatexprc.el --- YaTeX process handler
     1.5  ;;; 
     1.6  ;;; (c)1993-2014 by HIROSE Yuuji.[yuuji@yatex.org]
     1.7 -;;; Last modified Fri Dec 26 01:07:52 2014 on firestorm
     1.8 +;;; Last modified Fri Dec 26 16:14:48 2014 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;;; Code:
    1.12 @@ -866,15 +866,18 @@
    1.13  		  ;; yet. If you find correct command line, PLEASE TELL
    1.14  		  ;; IT TO THE AUTHOR before publishing patch on the web.
    1.15  		  ;; ..PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE..
    1.16 -		  ;; ((string-match "sumatra" previewer)	;;??
    1.17 -		  ;;  (format "%s \"%s.pdf\" -forward-search \"%s\" %d"
    1.18 -		  ;; 	   previewer bnr cf line))
    1.19 -		  ;; ((string-match "qpdfview" previewer)	;;??
    1.20 -		  ;;  (format "%s '%s.pdf#src:%s:%d:0'" ;if NG, tell 
    1.21 -		  ;; 	   previewer bnr cf line))
    1.22 -		  ;; ((string-match "okular" previewer)	;;??
    1.23 -		  ;;  (format "%s '%s.pdf#src:%d' '%s'"
    1.24 -		  ;; 	   previewer bnr line cf))
    1.25 +		  ((string-match "sumatra" previewer)	;;??
    1.26 +		   (format "%s \"%s.pdf\" -forward-search \"%s\" %d"
    1.27 +			   ;;Send patch to the author, please
    1.28 +			   previewer bnr cf line))
    1.29 +		  ((string-match "qpdfview" previewer)	;;??
    1.30 +		   (format "%s '%s.pdf#src:%s:%d:0'"
    1.31 +			   ;;Send patch to the author, please
    1.32 +		  	   previewer bnr cf line))
    1.33 +		  ((string-match "okular" previewer)	;;??
    1.34 +		   (format "%s '%s.pdf#src:%d' '%s'"
    1.35 +			   ;;Send patch to the author, please
    1.36 +		  	   previewer bnr line cf))
    1.37  		  )))
    1.38  	(YaTeX-system cmd "jump-line" 'noask pdir)))))
    1.39