Change to AUCTeX

This commit is contained in:
2024-10-04 12:49:16 -07:00
parent a5672f9284
commit cf50a7c5b7
2 changed files with 36 additions and 15 deletions

View File

@ -145,3 +145,18 @@
;; :config
;; (company-quickhelp-mode 1)
;; (setopt company-quickhelp-delay nil))
;; (La)TeX
;; (use-package tex-mode
;; :hook ((latex-mode . eglot-ensure)
;; (tex-mode . my/-setup-tex-mode-compile-command))
;; :init
;; (defun my/-setup-tex-mode-compile-command ()
;; "Setup `compile-command' for `tex-mode'."
;; (let ((quoted-name (shell-quote-argument buffer-file-name)))
;; (setq-local compile-command
;; (concat "latexmk -pdf "
;; "-auxdir=" quoted-name "-build"
;; " " quoted-name))))
;; :config
;; (add-to-list 'auto-mode-alist '("/\\.latexmkrc\\'" . perl-mode)))