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: Hongyi Zhao
Subject: Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.
Date: Wed, 8 Dec 2021 20:58:54 +0800

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



reply via email to

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