[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Let \ref{} and \eqref{} trigger the already defined labels list for
From: |
Hongyi Zhao |
Subject: |
Re: Let \ref{} and \eqref{} trigger the already defined labels list for completion. |
Date: |
Sun, 28 May 2023 08:28:48 +0800 |
On Sun, May 28, 2023 at 12:47 AM Arash Esbati <arash@gnu.org> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > Thank you. It works. But why must you first run `C-c C-n'?
>
> AUCTeX parsing abilities are disabled by default for various reasons
> (search the archives for the reasons). Check the manual for some
> possibilities how you can configure AUCTeX acc. to your needs in that
> regard.
It's the following setting, as explained in the document here [1],
which I enabled so far:
(setq TeX-parse-self t) ; Enable parse on load.
(setq TeX-auto-save t) ; Enable parse on save.
[1] https://www.gnu.org/software/auctex/manual/auctex/Parsing-Files.html
> Best, Arash
Regards,
Zhao