Subject: Re: bug#64768: biblatex detection in reftex is too naive, multiple bib files are problematic

From: Arash Esbati <[email-masked]>
Date: Thu, 27 Jul 2023 21:10:03 +0200

"Philipp G. Haselwarter" <[email-masked]> writes:

> To find .bib files, reftex uses `reftex-locate-bibliography-files',
> which in turn checks whether bibtex is in use via
> `reftex-using-biblatex-p'. The latter is too naïve: it only checks if
> "biblatex" is amongst the `TeX-active-styles' or does a simple
> syntactic check of the current buffer. In case \usepackage{biblatex}
> is loaded in, say, an included file, these checks fail, and the use of
> biblatex is not detected.

Can you please describe what you exactly mean with
'\usepackage{biblatex} is an included file'?  I'd like to understand
your setup.

Best, Arash