# HG changeset patch # User HIROSE Yuuji # Date 1419751120 -32400 # Node ID a536acc07a751def6a2e1f810b711c85f2ce1ec5 # Parent 8ee8514e06edc18597320a856fc8d7576d461987 Re-activate forward-search code. diff -r 8ee8514e06ed -r a536acc07a75 yatex.el --- 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 ---------- diff -r 8ee8514e06ed -r a536acc07a75 yatexprc.el --- 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)))))