Merge pull request #1195 from xhcoding/develop
Add: sumatrapdf as pdf viewer on Windows
This commit is contained in:
commit
85b1983c89
2 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,10 @@
|
||||||
(file-exists-p! (or "/Applications/Skim.app"
|
(file-exists-p! (or "/Applications/Skim.app"
|
||||||
"~/Applications/Skim.app")))
|
"~/Applications/Skim.app")))
|
||||||
(add-to-list 'TeX-view-program-selection '(output-pdf "Skim"))))
|
(add-to-list 'TeX-view-program-selection '(output-pdf "Skim"))))
|
||||||
|
(`sumatrapdf
|
||||||
|
(when (and IS-WINDOWS
|
||||||
|
(executable-find "SumatraPDF"))
|
||||||
|
(add-to-list 'TeX-view-program-selection '(output-pdf "SumatraPDF"))))
|
||||||
|
|
||||||
(`okular
|
(`okular
|
||||||
(when (executable-find "okular")
|
(when (executable-find "okular")
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
enabling unicode symbols in math regions. This requires the unicode-math latex
|
enabling unicode symbols in math regions. This requires the unicode-math latex
|
||||||
package to be installed.")
|
package to be installed.")
|
||||||
|
|
||||||
(defvar +latex-viewers `(skim zathura okular pdf-tools)
|
(defvar +latex-viewers `(skim sumatrapdf zathura okular pdf-tools)
|
||||||
"A list of enabled latex viewers to use, in this order. If they don't exist,
|
"A list of enabled latex viewers to use, in this order. If they don't exist,
|
||||||
they will be ignored. Recognized viewers are skim, zathura, okular and
|
they will be ignored. Recognized viewers are skim, zathura, okular and
|
||||||
pdf-tools.
|
pdf-tools.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue