aboutsummaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.emacs8
1 files changed, 8 insertions, 0 deletions
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