bump!: :lang latex
emacs-straight/auctex@280cd4a0ca -> emacs-straight/auctex@764a53c8e9 emacs-straight/adaptive-wrap@a3b179ea21 -> emacs-straight/adaptive-wrap@dea4e32c18 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
This commit is contained in:
parent
dfe9d572a7
commit
21a252d994
3 changed files with 2 additions and 21 deletions
|
@ -27,8 +27,6 @@ Provide a helping hand when working with LaTeX documents.
|
||||||
- +fold ::
|
- +fold ::
|
||||||
Use TeX-fold (from [[doom-package:auctex]]) to fold LaTeX macros to unicode, and make folding
|
Use TeX-fold (from [[doom-package:auctex]]) to fold LaTeX macros to unicode, and make folding
|
||||||
hook-based and less manual.
|
hook-based and less manual.
|
||||||
- +latexmk ::
|
|
||||||
Use LatexMk instead of LaTeX to compile documents.
|
|
||||||
- +lsp ::
|
- +lsp ::
|
||||||
Enable LSP support in latex buffers. Requires [[doom-module::tools lsp]] and a langserver
|
Enable LSP support in latex buffers. Requires [[doom-module::tools lsp]] and a langserver
|
||||||
(supports digestif and TexLab).
|
(supports digestif and TexLab).
|
||||||
|
@ -36,7 +34,6 @@ Provide a helping hand when working with LaTeX documents.
|
||||||
** Packages
|
** Packages
|
||||||
- [[doom-package:adaptive-wrap]]
|
- [[doom-package:adaptive-wrap]]
|
||||||
- [[doom-package:auctex]]
|
- [[doom-package:auctex]]
|
||||||
- [[doom-package:auctex-latexmk]] if [[doom-module:+latexmk]]
|
|
||||||
- [[doom-package:cdlatex]] if [[doom-module:+cdlatex]]
|
- [[doom-package:cdlatex]] if [[doom-module:+cdlatex]]
|
||||||
- [[doom-package:evil-tex]] if [[doom-module::editor evil +everywhere]]
|
- [[doom-package:evil-tex]] if [[doom-module::editor evil +everywhere]]
|
||||||
- [[doom-package:latex-preview-pane]]
|
- [[doom-package:latex-preview-pane]]
|
||||||
|
|
|
@ -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))
|
: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
|
(use-package! evil-tex
|
||||||
:when (modulep! :editor evil +everywhere)
|
:when (modulep! :editor evil +everywhere)
|
||||||
:hook (LaTeX-mode . evil-tex-mode))
|
:hook (LaTeX-mode . evil-tex-mode))
|
||||||
|
|
|
@ -4,17 +4,14 @@
|
||||||
(package! auctex
|
(package! auctex
|
||||||
:recipe (:files ("*.el" "*.info" "dir"
|
:recipe (:files ("*.el" "*.info" "dir"
|
||||||
"doc" "etc" "images" "latex" "style"))
|
"doc" "etc" "images" "latex" "style"))
|
||||||
:pin "280cd4a0ca5a9c80e67efc2bec354b3052258e8d")
|
:pin "764a53c8e93150f0edd169593a4d453810792abe")
|
||||||
(package! adaptive-wrap :pin "a3b179ea21aeb4e8cfaf5646bb66d9d045263780")
|
(package! adaptive-wrap :pin "dea4e32c18d285a6ca9f72b1eadd61e27a555ed3")
|
||||||
(package! latex-preview-pane :pin "5297668a89996b50b2b62f99cba01cc544dbed2e")
|
(package! latex-preview-pane :pin "5297668a89996b50b2b62f99cba01cc544dbed2e")
|
||||||
(when (modulep! :editor evil +everywhere)
|
(when (modulep! :editor evil +everywhere)
|
||||||
(package! evil-tex :pin "2a3177c818f106e6c11032ac261f8691f5e11f74"))
|
(package! evil-tex :pin "2a3177c818f106e6c11032ac261f8691f5e11f74"))
|
||||||
|
|
||||||
;; Optional module features.
|
;; Optional module features.
|
||||||
|
|
||||||
(when (modulep! +latexmk)
|
|
||||||
(package! auctex-latexmk :pin "b00a95e6b34c94987fda5a57c20cfe2f064b1c7a"))
|
|
||||||
|
|
||||||
(when (modulep! +cdlatex)
|
(when (modulep! +cdlatex)
|
||||||
(package! cdlatex :pin "33770dec73138909714711b05a63e79da5a19ccd"))
|
(package! cdlatex :pin "33770dec73138909714711b05a63e79da5a19ccd"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue