[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex.el,v
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex.el,v |
Date: |
Wed, 24 Aug 2011 07:09:13 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: Tassilo Horn <tsdh> 11/08/24 07:09:12
Index: tex.el
===================================================================
RCS file: /sources/auctex/auctex/tex.el,v
retrieving revision 5.686
retrieving revision 5.687
diff -u -b -r5.686 -r5.687
--- tex.el 24 Aug 2011 06:40:52 -0000 5.686
+++ tex.el 24 Aug 2011 07:09:12 -0000 5.687
@@ -1017,7 +1017,7 @@
;; ("displayline" "displayline %n %o %b")
;; ("open" "open %o")))
(t
- '(("xdvi" ("%(o?)xdvi"
+ `(("xdvi" ("%(o?)xdvi"
(mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"")
((paper-a4 paper-portrait) " -paper a4")
((paper-a4 paper-landscape) " -paper a4r")
@@ -1031,7 +1031,13 @@
("dvips and gv" "%(o?)dvips %d -o && gv %f")
("gv" "gv %o")
("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate " %(outpage)")))
- ("Evince" ("evince" (mode-io-correlate " -p %(outpage)") " %o"))
+ ("Evince" ("evince" (mode-io-correlate
+ ;; With evince 3, -p N opens the page *labeled* N,
+ ;; and -i,--page-index the physical page N.
+ ,(if (string-match "--page-index"
+ (shell-command-to-string "evince
--help"))
+ " -i %(outpage)"
+ " -p %(outpage)")) " %o"))
("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%b")))
("xdg-open" "xdg-open %o"))))
"Alist of built-in viewer specifications.