unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64768: biblatex detection in reftex is too naive, multiple bib files are problematic
@ 2023-07-21 12:19 Philipp G. Haselwarter
  2023-07-27 19:10 ` Arash Esbati
  0 siblings, 1 reply; 5+ messages in thread
From: Philipp G. Haselwarter @ 2023-07-21 12:19 UTC (permalink / raw)
  To: 64768

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

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. As a result, only the
first of potentially several \addbibresource{fooN.bib} statements is picked
up, and subsequent bib resources aren't parsed by reftex.

This is doubly unfortunate, because auctex's "style" (black) magic exposes
`LaTeX-bibliography-list', which does pick up the different bib files, and
could be used in reftex when available.

[-- Attachment #2: Type: text/html, Size: 870 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-31 20:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-21 12:19 bug#64768: biblatex detection in reftex is too naive, multiple bib files are problematic Philipp G. Haselwarter
2023-07-27 19:10 ` Arash Esbati
2023-07-28  9:58   ` Philipp G. Haselwarter
2023-07-31  7:40     ` Arash Esbati
2023-08-31 20:24       ` Arash Esbati

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).