mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
refactor(latex): replace latex-preview-pane w/ auctex-cont-latexmk
Since latex-preview-pane is unmaintained, replace it with auctex-cont-latexmk.el and a simple function to compile the document and open the default viewer. Close: #3128 Close: #5249
This commit is contained in:
committed by
Henrik Lissner
parent
35e348ea20
commit
90b64a0313
@@ -31,9 +31,7 @@ package to be installed.")
|
||||
(defvar +latex-viewers '(skim evince sumatrapdf 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, evince, sumatrapdf, zathura,
|
||||
okular and pdf-tools.
|
||||
|
||||
If no viewer is found, `latex-preview-pane-mode' is used.")
|
||||
okular and pdf-tools.")
|
||||
|
||||
;;
|
||||
(defvar +latex--company-backends nil)
|
||||
@@ -219,7 +217,8 @@ Math faces should stay fixed by the mixed-pitch blacklist, this is mostly for
|
||||
(let ((LaTeX-indent-environment-list LaTeX-indent-environment-list))
|
||||
(dolist (item '("itemize" "enumerate" "description"))
|
||||
(setf (alist-get item LaTeX-indent-environment-list nil t #'equal) nil))
|
||||
(apply fn args))))
|
||||
(apply fn args)))
|
||||
)
|
||||
|
||||
|
||||
(use-package! preview
|
||||
|
Reference in New Issue
Block a user