[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 00d9438 45/69: Add support for dviout viewer

From: Tassilo Horn
Subject: [elpa] externals/auctex 00d9438 45/69: Add support for dviout viewer
Date: Sat, 26 Mar 2016 21:36:36 +0000

branch: externals/auctex
commit 00d94386b6b4d0a7cdf4aef0f82a2952227d5d88
Author: Arash Esbati <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Add support for dviout viewer
    * doc/changes.texi: Mention support for dviout on Windows.
    * tex.el (TeX-view-program-list-builtin): Add support for dviout
    on Windows.  This setup works for `TeX-source-correlate-method'
    set to (dvi . source-specials).
    Reorder " %o" in entry for SumatraPDF.
    Signed-off-by: Mosè Giordano <address@hidden>
 doc/changes.texi |   11 +++++++++++
 tex.el           |    5 +++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/doc/changes.texi b/doc/changes.texi
index b0c666b..f13a8b1 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -16,6 +16,17 @@ Parsing of the compilation log has been reworked.  You 
should encounter
 fewer mistaken files while navigating through errors and warnings.
+Added support for dviout viewer on Windows.  Note that this setup works
+when @code{TeX-source-correlate-method} is set to use
address@hidden for @acronym{DVI}, e.g.:
+(setq TeX-source-correlate-method
+      '((dvi . source-specials)
+        (pdf . synctex)))
address@hidden lisp
+which is the default.
 Added support for SumatraPDF viewer on Windows.
diff --git a/tex.el b/tex.el
index 3c11786..090965eb 100644
--- a/tex.el
+++ b/tex.el
@@ -1270,9 +1270,10 @@ the requirements are met."
    ((eq system-type 'windows-nt)
     '(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
+      ("dviout" ("dviout -1 %d" (mode-io-correlate "\"# %n %b\"")) "dviout")
-       ("SumatraPDF -reuse-instance %o"
-       (mode-io-correlate " -forward-search \"%b\" %n"))
+       ("SumatraPDF -reuse-instance"
+       (mode-io-correlate " -forward-search \"%b\" %n") " %o")
       ("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
       ("start" "start \"\" %o")))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]