aboutsummaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2020-12-27 10:27:06 -0500
committerRyan Kavanagh <rak@rak.ac>2020-12-27 10:27:06 -0500
commit9da0e9a2d7d6e46b137e116c284de44a178aba08 (patch)
tree7e3d31a65fa2713cb6bfcab59ded1dcf7a23d600 /.emacs
parentDrop moe-theme-set-color (diff)
added Zathura for darwin
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