diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index 50d993ef0..a73d5bb5a 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -124,6 +124,8 @@ If no viewers are found, `latex-preview-pane' is used.") :when (featurep! +cdlatex) :hook (LaTeX-mode . cdlatex-mode) :config + ;; Use \( ... \) instead of $ ... $ + (setq cdlatex-use-dollar-to-ensure-math nil) ;; Disabling keys that have overlapping functionality with other parts of Doom (map! :map cdlatex-mode-map ;; smartparens takes care of inserting closing delimiters, and if you diff --git a/modules/lang/latex/packages.el b/modules/lang/latex/packages.el index db8796c1d..b758accbb 100644 --- a/modules/lang/latex/packages.el +++ b/modules/lang/latex/packages.el @@ -11,13 +11,13 @@ (package! auctex-latexmk :pin "4d35352265")) (when (featurep! +cdlatex) - (package! cdlatex :pin "b7af5a9884")) + (package! cdlatex :pin "a5cb624ef5")) ;; Features according to other user selected options (when (featurep! :completion company) (package! company-auctex :pin "48c42c58ce") - (package! company-reftex :pin "33935e9654") + (package! company-reftex :pin "275ef708f0") (package! company-math :pin "a796053590")) (when (featurep! :completion ivy) (package! ivy-bibtex :pin "d4471232be"))