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:
flakeuser
2025-04-05 20:39:01 -07:00
committed by Henrik Lissner
parent 35e348ea20
commit 90b64a0313
5 changed files with 17 additions and 39 deletions

View File

@@ -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