auctex-devel
[Top][All Lists]
Advanced

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

Re: AUCTeX and in-buffer completion


From: Arash Esbati
Subject: Re: AUCTeX and in-buffer completion
Date: Fri, 14 Oct 2022 14:31:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Uwe Brauer <oub@mat.ucm.es> writes:

>>>> "AE" == Arash Esbati <arash@gnu.org> writes:
>
> Thanks very much

Thanks for giving it a try.

>> The implementation solely relies on Emacs and should work with Corfu,
>> Company etc.  In order to use the library, put the file somewhere, load
>> your .tex file, do
>
>>   M-x load-library RET /pathto/latex-capf.el RET
>
>> and paste this in your .tex file and eval it:
>
>>   (add-hook 'completion-at-point-functions
>>             #'LaTeX-arguments-completion-at-point t t)
>
>
> I followed all of your steps, I am currently running GNU emacs master
>
>> There is also a git branch feature/capf with the latest version.
> ,----
> | emacs-repository-version is a variable defined in ‘version.el’.
> | 
> | Its value is "7bf17ceee8c2d347917541e143ce25609e90ebbb"
> `----
>
> Which should be recent enough 😇

Yes, it should also work with older Emacsen.

> However even after typing 
>
> \fontspec{texgyretermes-regular.otf}[Numbers=Oldstyle,]
>
> I don't see what you posted in the attached gif. What do I miss?

You must have parsing enabled (which I think you have).  Try C-c C-n
followed by C-M-i?  What do you see?

And what completion framework do you use?  I use company.

Best, Arash



reply via email to

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