Broken installation?
Arash Esbati
arash at gnu.org
Sat Dec 28 11:37:45 CET 2024
circumspect.readabilities830 at aceecat.org writes:
> On Tue, Dec 24, 2024 at 07:31:22AM -0500, Haines Brown via tex-live wrote:
>
>> For one thing, I also installed AUCTeX by means of ELPA. However, it
>> does not load when emacs opens a .tex file. In order for AUCTeX to
>> load I have to put this line nto my .emacs file: (load "auctex.el"
>> nil t t)
>
> This is by design,
Nope. By design, AUCTeX should just work OOTB when installed from ELPA.
The easiest way to check the installation is to start Emacs as
emacs -Q
and then eval the following in the scratch buffer:
(progn
(package-initialize t)
(package-activate 'auctex))
Now open a .tex file and if AUCTeX isn't loaded, then the installation
is broken. I suggest to uninstall AUCTeX via the
M-x list-packages RET
interface, close and restart Emacs, and then install AUCTeX again from
the same interface.
> Short version: you need to add an entry to the variable
> `auto-mode-alist'.
Again nope. AUCTeX takes care of everything in the background. I
recommend to have a look at the manual:
https://elpa.gnu.org/packages/doc/auctex.html#Installation
https://elpa.gnu.org/packages/doc/auctex.html#Activating-the-package
Best, Arash
More information about the tex-live
mailing list.