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: Thu, 9 Dec 2021 10:17:03 +0800

On Thu, Dec 9, 2021 at 7:39 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Thu, Dec 9, 2021 at 4:35 AM Arash Esbati <arash@gnu.org> 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
> > `Info-additional-directory-list'.
>
> The maintainer of straight told me the following here [1]
>
> > ```emacs-lisp
> > ```emacs-lisp
> > (eval-after-load 'info
> >         '(add-to-list 'Info-additional-directory-list
> >                       (concat (straight--repos-dir "auctex") "doc")))
> > ```
>
> > Should be unnecessary. Straight has its own mechanism to build and install 
> > info for packages.
> > If you inspect the value of the variable Info-directory-list you should see 
> > directories under .../straight/build/ added to it.
>
> [1] https://github.com/raxod502/straight.el/issues/800#issuecomment-862036938

The problem has been solved by Nicholas Vollmer, see here [1] for more
detailed discussion. The following are relevant comments excerpted
from there:

You probably need to refine your :files directive in your recipe.
Info files are only linked from the top-level directory per package.
It looks like you want the contents of "doc/*" to be linked.

[1] https://github.com/raxod502/straight.el/issues/899#issuecomment-989356137

HZ



reply via email to

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