[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: activating LaTeX-mode automatically
From: |
Paul Nelson |
Subject: |
Re: activating LaTeX-mode automatically |
Date: |
Mon, 1 Jul 2024 03:16:01 +0200 |
Hi Arash,
Indeed, your suggestion (or deleting ":mode" from mine) fixes things.
I get now that *.tex maps to tex-mode which remaps to TeX-tex-mode,
etc.
Thanks,b est,
Paul
On Sun, Jun 30, 2024 at 10:40 PM Arash Esbati <arash@gnu.org> wrote:
>
> Hi Paul,
>
> Paul Nelson <ultrono@gmail.com> writes:
>
> > What's the recommended way nowadays to activate LaTeX-mode
> > automatically upon opening a tex file? I would have thought that
> >
> > (use-package tex
> > :ensure auctex
> > :mode ("\\.tex\\'" . LaTeX-mode))
>
> I presume you've installed AUCTeX from ELPA, does this work as expected?
>
> (use-package auctex
> :ensure t)
>
> Best, Arash