From ba6c838743a00a07e395ce046388bcdc740cb159 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 5 Sep 2017 12:29:53 -0400 Subject: zathura in auctex --- .emacs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.emacs b/.emacs index f4c6999..8b8afd3 100644 --- a/.emacs +++ b/.emacs @@ -33,6 +33,14 @@ '("corollary" LaTeX-env-label) '("lemma" LaTeX-env-label) '("conjecture" LaTeX-env-label)))) + (add-to-list 'TeX-view-program-list + '("Zathura" + ("zathura " + (mode-io-correlate " --synctex-forward %n:0:%b -x \"emacsclient +%{line} %{input}\" ") + " %o") + "zathura")) + (add-to-list 'TeX-view-program-selection + '(output-pdf "Zathura")) (progn (setq TeX-parse-self t ; Parse documents to provide completion ; for packages, etc. -- cgit v1.2.3