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

@ -65,3 +65,11 @@ typically insert macros."
(if +latex-enable-unicode-math
(company-math-symbols-unicode command arg)
(company-math-symbols-latex command arg)))
;;;###autoload
(defun +latex/live-preview ()
"Launch the AUCTeX viewer and keep the document live compiled on save."
(interactive)
(auctex-cont-latexmk-mode)
(TeX-command-sequence t t)
)