[Top][All Lists]

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

[elpa] externals/auctex 16f3dd4 43/69: Add support for Zathura viewer

From: Tassilo Horn
Subject: [elpa] externals/auctex 16f3dd4 43/69: Add support for Zathura viewer
Date: Sat, 26 Mar 2016 21:36:36 +0000

branch: externals/auctex
commit 16f3dd415aa0ef1c870f9724dda9f895f2467133
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Add support for Zathura viewer
    * tex.el (TeX-view-program-list-builtin): Add Zathura.
    * doc/changes.texi: Mention Zathura support and reworked error parsing.
 doc/changes.texi |    8 ++++++++
 tex.el           |    7 ++++++-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/doc/changes.texi b/doc/changes.texi
index 2905400..b4d5954 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,14 @@
 @itemize @bullet
+Parsing of the compilation log has been reworked.  You should encounter
+fewer mistaken files while navigating through errors and warnings.
+Added support for Zathura viewer.  Forward and inverse search requires a
+recent version of the program to work (3.4 or later).
 A new function, @code{TeX-documentation-texdoc}, for reading
 documentation with @samp{texdoc} has been added.  @code{TeX-doc} is
 still available but now @kbd{C-c ?} runs
diff --git a/tex.el b/tex.el
index 3633fd3..ee11202 100644
--- a/tex.el
+++ b/tex.el
@@ -1304,7 +1304,12 @@ the requirements are met."
                                  " -p %(outpage)")) " %o")) "evince")
       ("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%a")) 
       ("xdg-open" "xdg-open %o" "xdg-open")
-      ("PDF Tools" TeX-pdf-tools-sync-view))))
+      ("PDF Tools" TeX-pdf-tools-sync-view)
+      ("Zathura"
+       ("zathura %o"
+       (mode-io-correlate
+        " --synctex-forward %n:0:%b -x \"emacsclient +%{line} %{input}\""))
+       "zathura"))))
   "Alist of built-in viewer specifications.
 This variable should not be changed by the user who can use
 `TeX-view-program-list' to add new viewers or overwrite the

reply via email to

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