From 21a252d994d3c349fc884dc8f34d66cb14697942 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 7 Jul 2024 21:49:53 -0400 Subject: [PATCH] bump!: :lang latex emacs-straight/auctex@280cd4a0ca5a -> emacs-straight/auctex@764a53c8e931 emacs-straight/adaptive-wrap@a3b179ea21ae -> emacs-straight/adaptive-wrap@dea4e32c18d2 BREAKING CHANGE: This commit also removes the +latexmk flag from the `:lang latex` module, since the auctex-latexmk package is no longer needed (support has been upstreamed into auctex). This means the module won't set `TeX-command-default` to "LaTeXMk" for you anymore; you'll have to do it yourself, e.g. (note the capitalization!) (setq TeX-command-default "laTeXMk") ;; or (setq-hook! LaTeX-mode TeX-command-default "LaTeXMk") Ref: https://git.savannah.gnu.org/cgit/auctex.git/commit/?id=4a345e2234df74f1ad98046ef1372f7ca6fb357d --- modules/lang/latex/README.org | 3 --- modules/lang/latex/config.el | 13 ------------- modules/lang/latex/packages.el | 7 ++----- 3 files changed, 2 insertions(+), 21 deletions(-) diff --git a/modules/lang/latex/README.org b/modules/lang/latex/README.org index 7de0b851b..8edf9c52d 100644 --- a/modules/lang/latex/README.org +++ b/modules/lang/latex/README.org @@ -27,8 +27,6 @@ Provide a helping hand when working with LaTeX documents. - +fold :: Use TeX-fold (from [[doom-package:auctex]]) to fold LaTeX macros to unicode, and make folding hook-based and less manual. -- +latexmk :: - Use LatexMk instead of LaTeX to compile documents. - +lsp :: Enable LSP support in latex buffers. Requires [[doom-module::tools lsp]] and a langserver (supports digestif and TexLab). @@ -36,7 +34,6 @@ Provide a helping hand when working with LaTeX documents. ** Packages - [[doom-package:adaptive-wrap]] - [[doom-package:auctex]] -- [[doom-package:auctex-latexmk]] if [[doom-module:+latexmk]] - [[doom-package:cdlatex]] if [[doom-module:+cdlatex]] - [[doom-package:evil-tex]] if [[doom-module::editor evil +everywhere]] - [[doom-package:latex-preview-pane]] diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index c24273487..65a07f42c 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -250,19 +250,6 @@ Math faces should stay fixed by the mixed-pitch blacklist, this is mostly for :init (setq-default adaptive-wrap-extra-indent 0)) -(use-package! auctex-latexmk - :when (modulep! +latexmk) - :after latex - :init - ;; Pass the -pdf flag when TeX-PDF-mode is active. - (setq auctex-latexmk-inherit-TeX-PDF-mode t) - ;; Set LatexMk as the default. - (setq-hook! LaTeX-mode TeX-command-default "LatexMk") - :config - ;; Add LatexMk as a TeX target. - (auctex-latexmk-setup)) - - (use-package! evil-tex :when (modulep! :editor evil +everywhere) :hook (LaTeX-mode . evil-tex-mode)) diff --git a/modules/lang/latex/packages.el b/modules/lang/latex/packages.el index 61ab4ce0d..9401ee1cd 100644 --- a/modules/lang/latex/packages.el +++ b/modules/lang/latex/packages.el @@ -4,17 +4,14 @@ (package! auctex :recipe (:files ("*.el" "*.info" "dir" "doc" "etc" "images" "latex" "style")) - :pin "280cd4a0ca5a9c80e67efc2bec354b3052258e8d") -(package! adaptive-wrap :pin "a3b179ea21aeb4e8cfaf5646bb66d9d045263780") + :pin "764a53c8e93150f0edd169593a4d453810792abe") +(package! adaptive-wrap :pin "dea4e32c18d285a6ca9f72b1eadd61e27a555ed3") (package! latex-preview-pane :pin "5297668a89996b50b2b62f99cba01cc544dbed2e") (when (modulep! :editor evil +everywhere) (package! evil-tex :pin "2a3177c818f106e6c11032ac261f8691f5e11f74")) ;; Optional module features. -(when (modulep! +latexmk) - (package! auctex-latexmk :pin "b00a95e6b34c94987fda5a57c20cfe2f064b1c7a")) - (when (modulep! +cdlatex) (package! cdlatex :pin "33770dec73138909714711b05a63e79da5a19ccd"))