[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: |
Sat, 27 May 2023 20:51:07 +0800 |
On Sat, May 27, 2023 at 6:31 PM Arash Esbati <arash@gnu.org> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > Is there a way to let \ref{} and \eqref{} trigger the already defined
> > labels list for completion?
>
> This feature is already implemented in AUCTeX, just parse your document
> with `C-c C-n' and check the value of `LaTeX-label-list'. If it is
> non-nil, you should get completion OOTB. See attachment for an example
> how it looks for me with a small file.
Thank you. It works. But why must you first run `C-c C-n'?
> Best, Arash
Regards,
Zhao