auctex
[Top][All Lists]
Advanced

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

Re: LaTeX commands and packages names autocomplete.


From: Hongyi Zhao
Subject: Re: LaTeX commands and packages names autocomplete.
Date: Sun, 7 May 2023 08:16:30 +0800

On Sat, May 6, 2023 at 8:22 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Sat, May 6, 2023 at 7:58 PM Arash Esbati <arash@gnu.org> wrote:
> >
> > Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> >
> > > I use the following tex file to do the test, but nothing is completed:
> >
> > From your screenshot, you're using the built-in latex-mode provided by
> > Emacs.
>
> Thank you for pointing this out to me.
>
> > You want to activate AUCTeX for your experiment.
>
> But, we are doing the test using `emacs -Q` and how can I in this
> scenario to enable AUCTeX? I mean, it seems that enabling AUCTeX needs
> complicated configurations, so we use `init.el` to do the trick.

It seems that https://www.gnu.org/software/auctex/manual/auctex.html#Quick-Start
gives some clues, but I'm not sure if eval the following in scratch or
minibuffer is enough for testing with `emacs -Q`:


(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)


> > Then, the
> > value of `completion-at-point-functions' should be:
> >
> >   (TeX--completion-at-point t LaTeX--arguments-completion-at-point)
> >
> > and you should get in-buffer completion.
> >
> > Best, Arash
>
> Regards, Zhao



reply via email to

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