Re: Completion of \boldsymbol

2021-12-09 Thread Ikumi Keita
> Hongyi Zhao writes: >> Do you mean that you don't get completion by AUCTeX in LaTeX documents >> with \usepackage{amsmath} in the preamble? > Sorry for my unclear description. I mean that I've > \usepackage{amsmath} in the preamble and enabled `TeX-parse-self' > option in the init file,

Re: Completion of \boldsymbol

2021-12-09 Thread Hongyi Zhao
On Fri, Dec 10, 2021 at 11:44 AM Ikumi Keita wrote: > > > Hongyi Zhao writes: > >> Standard LaTeX doesn't provide \boldsymbol, while amsmath does. You will > >> obtain completion support for \boldsymbol in AUCTeX when you add > >> \usepackage{amsmath} in the preamble (and enable

Completion of \boldsymbol

2021-12-09 Thread Ikumi Keita
> Hongyi Zhao writes: >> Standard LaTeX doesn't provide \boldsymbol, while amsmath does. You will >> obtain completion support for \boldsymbol in AUCTeX when you add >> \usepackage{amsmath} in the preamble (and enable `TeX-parse-self' option). > Yes. All these conditions are met in my tests.

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