yatex
diff yatexprc.el @ 352:ecf7b5543e65
Arguments corrected for previewers
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 21 Dec 2014 13:57:27 +0900 |
parents | 0fc7ea5baa5f |
children | 5465428f5a68 |
line diff
1.1 --- a/yatexprc.el Sun Dec 21 11:40:06 2014 +0900 1.2 +++ b/yatexprc.el Sun Dec 21 13:57:27 2014 +0900 1.3 @@ -1,7 +1,7 @@ 1.4 ;;; yatexprc.el --- YaTeX process handler 1.5 ;;; 1.6 ;;; (c)1993-2013 by HIROSE Yuuji.[yuuji@yatex.org] 1.7 -;;; Last modified Sun Dec 21 11:36:21 2014 on firestorm 1.8 +;;; Last modified Sun Dec 21 13:56:03 2014 on firestorm 1.9 ;;; $Id$ 1.10 1.11 ;;; Code: 1.12 @@ -732,14 +732,20 @@ 1.13 YaTeX-xdvi-remote-program 1.14 line cf bnr)) 1.15 ((string-match "Skim" previewer) 1.16 - (format "%s %d %s.pdf %s" 1.17 + (format "%s %d '%s.pdf' '%s'" 1.18 YaTeX-cmd-displayline line bnr cf)) 1.19 - ((string-match "sumatra" previewer) 1.20 - (format "%s %s.pdf %d %s" 1.21 - previewer bnr line cf)) 1.22 + ((string-match "sumatra" previewer) ;;?? 1.23 + (format "%s \"%s.pdf\" -forward-search \"%s\" %d %s" 1.24 + previewer bnr cf line)) 1.25 ((string-match "evince" previewer) 1.26 - (format "%s %s.pdf %d %s" 1.27 - "fwdevince" bnr line cf))))) 1.28 + (format "%s '%s.pdf' %d '%s'" 1.29 + "fwdevince" bnr line cf)) 1.30 + ((string-match "qpdfview" previewer) ;;?? 1.31 + (format "%s '%s.pdf' '#src:%s:%d:0'" 1.32 + previewer bnr cf line)) 1.33 + ((string-match "okular" previewer) ;;?? 1.34 + (format "%s '%s.pdf' '#src:%d' '%s'" 1.35 + previewer bnr line cf))))) 1.36 (YaTeX-system cmd "jump-line" 'noask pdir))))) 1.37 1.38 (defun YaTeX-goto-corresponding-viewer ()