Commit graph

11 commits

Author SHA1 Message Date
Henrik Lissner
85b1983c89
Merge pull request #1195 from xhcoding/develop
Add: sumatrapdf as pdf viewer on Windows
2019-02-24 21:05:29 -05:00
Henrik Lissner
7c5eefee3e
General, minor refactoring 2019-02-24 13:58:56 -05:00
xhcoding
5da216a1c5 Add: sumatrapdf as pdf viewer on Windows 2019-02-24 17:44:06 +08:00
Henrik Lissner
9653185478
lang/latex: fix PDF Tools viewer on MacOS 2018-08-11 01:59:37 +02:00
Henrik Lissner
14816ef173
lang/latex: fix detection for other viewers
Incorrect use of cl-block/cl-return meant latex-preview-pane would
always be used as the default pdf viewer.

Reported by @UndeadKernel
2018-08-02 16:12:53 +02:00
Henrik Lissner
cf4ea445a1
lang/latex: don't reverse +latex-viewers
This incorrectly reversed the priority ordering of +latex-viewers. This
is an artifact from a rejected approach at short-circuiting
+latex-viewer, which was replaced with cl-block->cl-return.

Reported by @UndeadKernel
2018-08-02 15:48:32 +02:00
Henrik Lissner
2e6c362df9
lang/latex: replace viewer flags with variable
The +zathura, +skim, +okular and +pdf-tools module flags have been
removed in favor of +latex-viewers, which takes a list of symbols. Its
order determines the priority. The first viewer found on your system is
used.

If none of these viewers are found, it will fall back to
latex-preview-pane.
2018-07-30 03:43:43 +02:00
Patrick Elliott
eeb10ae6cd Put comment in right place 2018-07-18 17:25:27 +02:00
Patrick Elliott
f497d1bf0d Fix regression 2018-07-18 16:59:15 +02:00
Patrick Elliott
e7465018fc This shouldn't be tied to pdf-tools 2018-07-18 13:38:48 +02:00
Patrick Elliott
39e03f4cf1 Move viewer setup into different file 2018-07-18 12:12:04 +02:00