auctex
[Top][All Lists]
Advanced

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

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be compl


From: Jean-Jacques Rétorré
Subject: Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.
Date: Wed, 08 Dec 2021 17:24:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

mer. 08 déc. 2021,  Hongyi Zhao <hongyi.zhao@gmail.com> disait :

> On Wed, Dec 8, 2021 at 8:34 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>>
>> On Wed, Dec 8, 2021 at 6:53 PM Jean-Jacques Rétorré
>> <jj.retorre@gmail.com> wrote:
>> >
>> > mer. 08 déc. 2021,  Denis Bitouzé <denis.bitouze@univ-littoral.fr> 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 found there are some LaTeX commands, such as \boldsymbol
>> > >> and \hspace, which can't completed automatically when I type some of
>> > >> their opening characters.
>> > >
>> > > Another one, among a lot of others: \linewidth.
>> > >
>> > >> Any hints for solving this problem?
>> > >
>> > > 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 :)
>> > >
>> > > Regards.
>> >
>> > Adds
>> >
>> >         (TeX-add-symbols '("linewidth")) :....
>> >
>> > in your intit file, and all symbol who lacks.
>> > Usually they come with the style file associated to a package
>> >
>> > (info "(auctex)Adding Support for Macros")
>>
>> But I meet the following error while running the above command by `M-:
>> (info "(auctex)Adding Support for Macros") RET`:
>>
>> user-error: Info file ‘auctex’ does not exist; consider installing it
>
> 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    history.texi         preview-faq.texi       tex-ref.pdf
> auctex.info-1  install.texi         preview-latex.info     tex-ref.tex
> auctex.info-2  intro.texi           preview-latex.texi     todo.texi
> auctex.texi    macros.texi          preview-problems.texi  version.texi
> changes.texi   Makefile             preview-readme.texi    wininstall.texi
> copying.texi   Makefile.in          preview-todo.texi
> faq.texi       preview-dtxdoc.pl    quickstart.texi
> fdl.texi       preview-dtxdoc.texi  tex-ref.log
>
> Regards,
> HZ

It sound like info not installed. Probably you can get some help for
installing it on https://emacs.stackexchange.com/
My Emacs is from Debian repositories; I'm not sure I can help.

Regards

JJR.




reply via email to

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