On Fri, Dec 10, 2021 at 11:44 AM Ikumi Keita <[email protected]> wrote:
>
> >>>>> Hongyi Zhao <[email protected]> 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.
>
> 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, and can reproduce the working example given
there.

> When I open a skelton file quoted below and type C-c RET bolds TAB, I do
> get completion to "boldsymbol". If that isn't the case for you, I
> suspect that your installation of AUCTeX is somewhat broken.
>
> Bye,
> Ikumi Keita
>
> \documentclass{article}
>
> \usepackage{amsmath}
>
> \begin{document}
>
> \end{document}
>
> %%% Local Variables:
> %%% mode: latex
> %%% TeX-master: t
> %%% End:

Yes. I also can reproduce your above observed behavior.

HZ

Reply via email to