Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2022-05-03 Thread Denis Bitouzé
Le 03/05/22 à 14h07, Denis Bitouzé a écrit : > │ Here is an example of the > │ declaration I made for the `graphicx` package (the distribution in the > │ different classes being perhaps suboptimal) and you can see its effect > │ in the attached TeX and PDF files: Sorry, I forgot

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2022-05-03 Thread Denis Bitouzé
Hi, Le 18/12/21 à 14h00, Mandar Mitra a écrit : > Denis Bitouzé wrote (Wed, Dec 15, 2021 at 10:31:41PM +0100): >> >> Agree, but tedious. That's why I proposed to benefit from the `.cwl` >> >> completion files of TXS: it's also probably not so hard to provide >> >> a converter (maybe I will have

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-18 Thread Denis Bitouzé
Le 18/12/21 à 14h00, Mandar Mitra a écrit : >> OK. I'll contact this guy in few weeks. > > Could you please post here when you do? Of course. > If time and ability permits, > I would like to help. Much appreciated! :) > Thanks, You're welcome. -- Denis

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-18 Thread Denis Bitouzé
Le 16/12/21 à 22h58, Arash Esbati a écrit : >>> Agreed, but \includegraphics is indeed more an exception. >> >> In that case, could it be treated differently? > > I don't see how this can be achieved the way currently > `LaTeX-arg-graphicx-includegraphics-key-val'[1] and the workhorse >

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-18 Thread Mandar Mitra
Denis Bitouzé wrote (Wed, Dec 15, 2021 at 10:31:41PM +0100): > >> Agree, but tedious. That's why I proposed to benefit from the `.cwl` > >> completion files of TXS: it's also probably not so hard to provide > >> a converter (maybe I will have a look when I'll have some spare time). > > > > Highly

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-16 Thread Arash Esbati
Denis Bitouzé writes: > Le 09/12/21 à 18h41, Arash Esbati a écrit : > sorry for the late answer. No problem. >> Highly welcome. There will be a question reg. licence, but we can be >> worried about that later. > > OK. I'll contact this guy in few weeks. Thanks. >> Agreed, but

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-15 Thread Denis Bitouzé
Hi Arash, sorry for the late answer. Le 09/12/21 à 18h41, Arash Esbati a écrit : > Denis Bitouzé writes: > >> Le 09/12/21 à 12h44, Arash Esbati a écrit : >> >>> You can always drop a line to auctex-devel asking for an addition. Or >>> even better provide code for the missing package/command.

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-09 Thread Hongyi Zhao
On Fri, Dec 10, 2021 at 11:10 AM Ikumi Keita wrote: > > > Hongyi Zhao writes: > >> > For \boldsymbol, it works for me when I put point inside a > >> > (inline) math environment and type \bol (i.e., $\bol*$ * being point) > >> > and hit C-M-i, then I get \boldsymbol. > >> > >> I got the

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-09 Thread Ikumi Keita
> Hongyi Zhao writes: >> > For \boldsymbol, it works for me when I put point inside a >> > (inline) math environment and type \bol (i.e., $\bol*$ * being point) >> > and hit C-M-i, then I get \boldsymbol. >> >> I got the following completion result while testing your above example: >> >>

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-09 Thread Hongyi Zhao
On Fri, Dec 10, 2021 at 8:40 AM Hongyi Zhao wrote: > > On Thu, Dec 9, 2021 at 10:16 PM Arash Esbati wrote: > > > > Hongyi Zhao writes: > > > > > On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of > > > Emacs and installed AUCTeX, company-math, cdlatex, etc. as a > > >

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-09 Thread Hongyi Zhao
On Thu, Dec 9, 2021 at 10:16 PM Arash Esbati wrote: > > Hongyi Zhao writes: > > > On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of > > Emacs and installed AUCTeX, company-math, cdlatex, etc. as a > > LaTeX-based document preparation environment. > > > > But I still found

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-09 Thread Arash Esbati
Denis Bitouzé writes: > Le 09/12/21 à 12h44, Arash Esbati a écrit : > >> You can always drop a line to auctex-devel asking for an addition. Or >> even better provide code for the missing package/command. I think for >> most of packages out there providing only user macros it's not hard to >>

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-09 Thread Denis Bitouzé
Le 09/12/21 à 12h44, Arash Esbati a écrit : >> Not for `\linewidth`: > > Maybe I wasn't clear, I meant \linewidth is available for completion of > \hspace. Ah, I see. >> with `C-c C-m line', I only get: >> >> ┌ >> │ Click on a completion to select it. >> │ In this buffer, type RET to

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-09 Thread Arash Esbati
Hongyi Zhao writes: > On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of > Emacs and installed AUCTeX, company-math, cdlatex, etc. as a > LaTeX-based document preparation environment. > > But I still found there are some LaTeX commands, such as \boldsymbol > and \hspace, which

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-09 Thread Arash Esbati
Denis Bitouzé writes: > Le 08/12/21 à 12h39, Arash Esbati a écrit : > >> AUCTeX has support for \hspace, just try `C-c C-m hs RET' and >> when asked for 'Length: ", press TAB and check the completion. > > OK for `\hspace`. > >> \linewidth is also available. > > Not for `\linewidth`: Maybe I

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Hongyi Zhao
On Thu, Dec 9, 2021 at 7:39 AM Hongyi Zhao wrote: > > On Thu, Dec 9, 2021 at 4:35 AM Arash Esbati wrote: > > > > Why don't you tell Emacs about the > > > > /home/werner/.emacs.d/straight/build/auctex/doc/ > > ^^^ > > > > directory? Maybe that

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Hongyi Zhao
On Thu, Dec 9, 2021 at 4:35 AM Arash Esbati wrote: > > Why don't you tell Emacs about the > > /home/werner/.emacs.d/straight/build/auctex/doc/ > ^^^ > > directory? Maybe that helps finding the auctex.info file. There is >

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Hongyi Zhao
On Thu, Dec 9, 2021 at 4:35 AM Arash Esbati wrote: > > Hongyi Zhao writes: > > > I have also checked the variable `Info-directory-list`, and see the > > following entry in it: > > > > "/home/werner/.emacs.d/straight/build/auctex/" > > > > Then I checked the doc directory as shown below: > > > >

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Arash Esbati
Hongyi Zhao writes: > I have also checked the variable `Info-directory-list`, and see the > following entry in it: > > "/home/werner/.emacs.d/straight/build/auctex/" > > Then I checked the doc directory as shown below: > > $ ls /home/werner/.emacs.d/straight/build/auctex/doc/ > auctex.info

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Denis Bitouzé
Le 08/12/21 à 17h37, Jean-Jacques Rétorré a écrit : > Does TXS can easyly provide completion for home made macros ? Yes: it is enough to have e.g. \newcommand{\dst}{Dostoïevski} in your document to get completion for `\dst`. And that works as well for macros with (mandatory or optional)

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Jean-Jacques Rétorré
mer. 08 déc. 2021, Denis Bitouzé disait : > > I would say, all! :) What I want to say is that I don't need a specific > one at the moment but anybody can miss any of them at anytime. By > comparison, TXS provides 1387 completion files: > > ┌ > │

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Jean-Jacques Rétorré
mer. 08 déc. 2021, Hongyi Zhao disait : > On Wed, Dec 8, 2021 at 8:34 PM Hongyi Zhao wrote: >> >> On Wed, Dec 8, 2021 at 6:53 PM Jean-Jacques Rétorré >> wrote: >> > >> > mer. 08 déc. 2021, Denis Bitouzé disait : >> > >> > > Le 08/12/21 à 11h34, Hongyi Zhao a écrit : >> > > >> > >> On Ubuntu

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Denis Bitouzé
Le 08/12/21 à 12h39, Arash Esbati a écrit : > Denis Bitouzé writes: > >> IMO, it's something that should be provided by the editor (or, here, by >> AUCTeX), not done by the user. > > AUCTeX has support for \hspace, just try `C-c C-m hs RET' and > when asked for 'Length: ", press TAB and check

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Hongyi Zhao
On Wed, Dec 8, 2021 at 8:34 PM Hongyi Zhao wrote: > > On Wed, Dec 8, 2021 at 6:53 PM Jean-Jacques Rétorré > wrote: > > > > mer. 08 déc. 2021, Denis Bitouzé disait : > > > > > Le 08/12/21 à 11h34, Hongyi Zhao a écrit : > > > > > >> On Ubuntu 20.04.3 LTS, I use the self-compiled git master

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Hongyi Zhao
On Wed, Dec 8, 2021 at 6:53 PM Jean-Jacques Rétorré wrote: > > mer. 08 déc. 2021, Denis Bitouzé disait : > > > Le 08/12/21 à 11h34, Hongyi Zhao a écrit : > > > >> On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of > >> Emacs and installed AUCTeX, company-math, cdlatex, etc. as

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Arash Esbati
Denis Bitouzé writes: > Le 08/12/21 à 11h45, Jean-Jacques Rétorré a écrit : > >>> Compared to LaTeX IDE, e.g. TeXstudio, AUCTeX is much less handy from >>> this point of view. Would be nice for this aspect to be improved :) >>> >> >> Adds >> >> (TeX-add-symbols '("linewidth")) : >>

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Denis Bitouzé
Le 08/12/21 à 11h45, Jean-Jacques Rétorré a écrit : >> Compared to LaTeX IDE, e.g. TeXstudio, AUCTeX is much less handy from >> this point of view. Would be nice for this aspect to be improved :) >> > > Adds > > (TeX-add-symbols '("linewidth")) : > > in your intit file, and all symbol

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Denis Bitouzé
Le 08/12/21 à 16h12, Hongyi Zhao a écrit : >> Compared to LaTeX IDE, e.g. TeXstudio, AUCTeX is much less handy from >> this point of view. > > But Emacs also has its strength, e.g., company-ispell based words > completion with a customized exhaustive word-list [1]. Indeed! >> Would be nice for

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Jean-Jacques Rétorré
mer. 08 déc. 2021, Denis Bitouzé disait : > Le 08/12/21 à 11h34, Hongyi Zhao a écrit : > >> On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of >> Emacs and installed AUCTeX, company-math, cdlatex, etc. as a >> LaTeX-based document preparation environment. >> >> But I still

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Jean-Jacques Rétorré
mer. 08 déc. 2021, Denis Bitouzé disait : > Le 08/12/21 à 11h34, Hongyi Zhao a écrit : > >> On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of >> Emacs and installed AUCTeX, company-math, cdlatex, etc. as a >> LaTeX-based document preparation environment. >> >> But I still

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-08 Thread Hongyi Zhao
On Wed, Dec 8, 2021 at 2:16 PM Denis Bitouzé wrote: > > Le 08/12/21 à 11h34, Hongyi Zhao a écrit : > > > On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of > > Emacs and installed AUCTeX, company-math, cdlatex, etc. as a > > LaTeX-based document preparation environment. > > > >

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-07 Thread Denis Bitouzé
Le 08/12/21 à 11h34, Hongyi Zhao a écrit : > On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of > Emacs and installed AUCTeX, company-math, cdlatex, etc. as a > LaTeX-based document preparation environment. > > But I still found there are some LaTeX commands, such as \boldsymbol

Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.

2021-12-07 Thread Hongyi Zhao
On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of Emacs and installed AUCTeX, company-math, cdlatex, etc. as a LaTeX-based document preparation environment. But I still found there are some LaTeX commands, such as \boldsymbol and \hspace, which can't completed automatically