From 64f77fe0176deb2b24f53cd619541419a1c199cc Mon Sep 17 00:00:00 2001 From: Patrick Elliott Date: Thu, 21 Jun 2018 12:51:17 +0200 Subject: [PATCH] Added Zathura as a viewer option, via the feature +zathura (n.b. Zathura with synctex is already supported in AUCTeX) --- modules/lang/latex/config.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index e7912bc93..527740328 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -93,6 +93,10 @@ "Skim" '("/Applications/Skim.app/Contents/SharedSupport/displayline -b -g %n %o %b")) (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 (when (and (featurep! :tools pdf) (featurep! +pdf-tools))