auctex
[Top][All Lists]
Advanced

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

Re: Select and insert multiple bibliography entries into one \cite comma


From: Hongyi Zhao
Subject: Re: Select and insert multiple bibliography entries into one \cite command with regexp search.
Date: Fri, 13 Aug 2021 10:15:53 +0800

On Fri, Aug 13, 2021 at 9:35 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Fri, Aug 13, 2021 at 3:59 AM Arash Esbati <arash@gnu.org> wrote:
> >
> > Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> >
> > > On Thu, Aug 12, 2021 at 8:41 PM Vladimir Lomov <lomov.vl@yandex.ru> wrote:
> > > [...]
> > >> The advice is simple: don't use full path, try to put your bibtex files 
> > >> into
> > >> $HOME/texmf/bibtex/bib/hongyi/
> > >
> > > This will work by just using the bibliography file name, but it still
> > > can't let the `C-c [' find the bib file:
> > >
> > > werner@X10DAi:~$ ls $HOME/texmf/bibtex/bib/hongyi/
> > > sample.bib
> >
> > Which brings us back to[1]:
> >
> >     (setq reftex-bibpath-environment-variables
> >           '("/home/werner/texmf/bibtex/bib/hongyi//"))
>
> Yes. It does the trick. But why do you and the example in the document
> use `//' as the ending characters of the variable?
> Based on my tries, all the following forms are sufficient:
>
> "/home/werner/texmf/bibtex/bib/hongyi/"
> "/home/werner/texmf/bibtex/bib/hongyi"

Got it. The documentation page also noted the following:

When searching, RefTeX will also expand recursive path definitions
(directories ending in ‘//’ or ‘!!’).

So, the "/home/werner/texmf/bibtex/bib/hongyi//" will let RefTeX do a
recursive path search under the "/home/werner/texmf/bibtex/bib/hongyi"
directory.

>
> > Best, Arash (who didn't test his advice)
> >
> > Footnotes:
> > [1]  https://www.gnu.org/software/auctex/manual/reftex.html#SEC48
>
> Hongyi



reply via email to

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