auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot get AUCTeX to work


From: Pastiche P
Subject: Re: cannot get AUCTeX to work
Date: Sat, 9 Jan 2021 13:12:40 +0100

The error is gone, but I'm not sure AUCTeX itself is properly loaded. E.g., the command LaTeX-section is undefined. Or perhaps I'm misunderstanding something?

Thanks!

On Sat, 9 Jan 2021 at 11:18, Tassilo Horn <tsdh@gnu.org> wrote:
Pastiche P <pastiche228@gmail.com> writes:

Hi Pastiche,

> I just installed AUCTeX 13.0.1 using M-x list-packages. This is Emacs
> 27.1 under Windows.
>
> I put this in my config:
>
> (use-package tex
>   :ensure auctex
>   :config
>   (setq TeX-auto-save t)
>   (setq TeX-parse-self t))
>
> Whenever I open a *.tex file, I get
>
> Debugger entered--Lisp error: (void-function TeX-latex-mode)

Please try this use-package spec:

(use-package tex-mode
  :ensure auctex
  :config
  (setq TeX-auto-save t)
  (setq TeX-parse-self t))

Does that work?  It does for me.

Bye,
Tassilo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]