Merge pull request #711 from patrl/develop

Added Zathura as a viewer option
This commit is contained in:
Henrik Lissner 2018-06-22 01:51:15 +02:00 committed by GitHub
commit 99902b29f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 (featurep! +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))