cdlatex has 4 main functionalities: + Math and environments snippets: I've disabled these in favor of yasnippet when using :editor snippets by just unbinding the TAB in cdlatex's keymap + Auto insertion of closing delimiters: disabled in favor of smartparens + Fast insertion for some macros: `a becomes \alpha. Kept as-is + Fast accent insertion: a'~ becomes \tilde{a}. Kept as-is I also updated the docs, and added a section explaining how to re-enable cdlatex's snippets despite having yasnippet.
25 lines
745 B
EmacsLisp
25 lines
745 B
EmacsLisp
;; -*- no-byte-compile: t; -*-
|
|
;;; lang/latex/packages.el
|
|
|
|
(package! auctex :pin "fafa28d542")
|
|
(package! adaptive-wrap :pin "1810c0ee8d")
|
|
(package! latex-preview-pane :pin "5297668a89")
|
|
|
|
;; Optional module features:
|
|
|
|
(when (featurep! +latexmk)
|
|
(package! auctex-latexmk :pin "4d35352265"))
|
|
|
|
(when (featurep! +cdlatex)
|
|
(package! cdlatex :pin "b7af5a9884"))
|
|
|
|
;; Features according to other user selected options
|
|
|
|
(when (featurep! :completion company)
|
|
(package! company-auctex :pin "48c42c58ce")
|
|
(package! company-reftex :pin "33935e9654")
|
|
(package! company-math :pin "a796053590"))
|
|
(when (featurep! :completion ivy)
|
|
(package! ivy-bibtex :pin "d4471232be"))
|
|
(when (featurep! :completion helm)
|
|
(package! helm-bibtex :pin "d4471232be"))
|