mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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
@ -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)
|
||||
)
|
||||
|
Reference in New Issue
Block a user