auctex-devel
[Top][All Lists]
Advanced

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

Re: reftex-citation is not able to deal with several databases


From: Uwe Brauer
Subject: Re: reftex-citation is not able to deal with several databases
Date: Tue, 23 Apr 2024 16:58:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "AE" == Arash Esbati <arash@gnu.org> writes:

> Uwe Brauer via Discussion list for AUCTeX developers <auctex-devel@gnu.org> 
> writes:
>> Thanks for your answer. I found a solution that I posted, but it did not
>> land in the same thread sorry.

> Ah, Ok, I must have missed that, sorry.

>> So the solution I found in 
>> https://bug-auctex.gnu.narkive.com/s2Oz8HpC/24-3-1-reftex-fails-to-find-multiple-bib-files-in-bibliography-with-commas
>> 
>> I had to set (setq reftex-use-external-file-finders t)
>> 
>> and everything worked as expected.

> So you have your .bib files somewhere not next to your .tex file?  This
> was the case for me.


My main bib file dwells in a (mercurial) repository somewhere on my
disk, the other bib file I don't remember


>> Maybe one should set this variable to t per default.

> I don't think this is a good idea:

> ,----[ C-h v reftex-use-external-file-finders RET ]
> | reftex-use-external-file-finders is a variable defined in ‘reftex-vars.el’.
> | 
> | Its value is nil
> | 
> | Non-nil means, use external programs to find files.
> | Normally, RefTeX searches the paths given in the environment variables
> | TEXINPUTS and BIBINPUTS to find TeX files and BibTeX database files.
> | With this option turned on, it calls an external program specified in the
> | option ‘reftex-external-file-finders’ instead.  As a side effect,
> | the variables ‘reftex-texpath-environment-variables’ and
> | ‘reftex-bibpath-environment-variables’ will be ignored.
> | 
> `----

> Changing the default of `reftex-use-external-file-finders' will break
> for people who have set `reftex-texpath-environment-variables' and/or
> `reftex-bibpath-environment-variables'.

Aha, I did not change the default behavior
,----
| reftex-texpath-environment-variables is a variable defined in 
‘reftex-vars.el’.
| 
| Its value is ("TEXINPUTS")
`----

,----
| reftex-bibpath-environment-variables is a variable defined in 
‘reftex-vars.el’.
| 
| Its value is ("BIBINPUTS" "TEXBIB")
`----

But I see your point. Thanks

Uwe 



-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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