Installing AUCTeX
AUCTeX is a package distributed at ELPA, Emacs Lisp Package Archive. To install AUCTeX, simply do M-x list-packages RET, mark the auctex package for installation with i, and hit x to execute the installation procedure. That’s all.
Caution. If you have installed former AUCTeX as regular tarball release, uninstall it and delete the initialization codes
emacs-lisp
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)in your init file. Otherwise you’ll get into troubles.
use-package users can use this simple recipe in their user-init-file which essentially does the same as the manual installation explained above.
emacs-lisp
(use-package auctex
:ensure t)For past ELPA releases, see https://elpa.gnu.org/packages/auctex.html. Once the installation is completed, you can skip the rest of this section and proceed to Quick Start.