aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2017-09-05 12:29:53 -0400
committerRyan Kavanagh <rak@debian.org>2017-09-05 12:29:53 -0400
commitba6c838743a00a07e395ce046388bcdc740cb159 (patch)
treebf73779a304e86a4ea985be0f85094e4976b352f
parentPython crap in emacs (diff)
zathura in auctex
Diffstat (limited to '')
-rw-r--r--.emacs8
1 files changed, 8 insertions, 0 deletions
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.