Added Zathura as a viewer option, via the feature +zathura (n.b. Zathura with synctex is already supported in AUCTeX)

This commit is contained in:
Patrick Elliott 2018-06-21 12:51:17 +02:00
parent 0354edc3a6
commit 64f77fe017

View file

@ -93,6 +93,10 @@
"Skim" '("/Applications/Skim.app/Contents/SharedSupport/displayline -b -g %n %o %b")) "Skim" '("/Applications/Skim.app/Contents/SharedSupport/displayline -b -g %n %o %b"))
(map-put TeX-view-program-selection 'output-pdf '("Skim"))) (map-put TeX-view-program-selection 'output-pdf '("Skim")))
;; Or Zathura
(when (featureep! +zathura)
(map-put TeX-view-program-selection 'output-pdf '("Zathura")))
;; Or PDF-tools, but only if the module is also loaded ;; Or PDF-tools, but only if the module is also loaded
(when (and (featurep! :tools pdf) (when (and (featurep! :tools pdf)
(featurep! +pdf-tools)) (featurep! +pdf-tools))