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.
This commit is contained in:
parent
c96c2aa7fb
commit
2e6c362df9
3 changed files with 45 additions and 33 deletions
|
@ -11,6 +11,13 @@
|
|||
enabling unicode symbols in math regions. This requires the unicode-math latex
|
||||
package to be installed.")
|
||||
|
||||
(defconst +latex-viewers `(skim zathura okular pdf-tools)
|
||||
"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
|
||||
pdf-tools.
|
||||
|
||||
If no viewers are found, `latex-preview-pane' is used.")
|
||||
|
||||
;;
|
||||
(defvar +latex--company-backends nil)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue