From 9da0e9a2d7d6e46b137e116c284de44a178aba08 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 27 Dec 2020 10:27:06 -0500 Subject: added Zathura for darwin --- .emacs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.emacs') diff --git a/.emacs b/.emacs index c181c8d..00d2bec 100644 --- a/.emacs +++ b/.emacs @@ -816,6 +816,14 @@ If not, issue a warning." (TeX-source-correlate-method 'synctex) (TeX-PDF-mode t) ; use pdftex by default :config + (cond + ((eq system-type 'darwin) + (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"))) (use-package tool-bar -- cgit v1.2.3