Function: reftex-using-biblatex-p
reftex-using-biblatex-p is a byte-compiled function defined in
reftex-parse.el.gz.
Signature
(reftex-using-biblatex-p)
Documentation
Return non-nil if we are using biblatex or other specific cite package.
biblatex and other similar packages like multibib allow multiple macro calls to load a bibliography file. This function should be able to detect those packages.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-parse.el.gz
(defun reftex-using-biblatex-p ()
"Return non-nil if we are using biblatex or other specific cite package.
biblatex and other similar packages like multibib allow multiple macro
calls to load a bibliography file. This function should be able to
detect those packages."
(if (boundp 'TeX-active-styles)
;; the sophisticated AUCTeX way
(or (member "biblatex" TeX-active-styles)
(member "multibib" TeX-active-styles))
;; poor-man's check...
(save-excursion
(re-search-forward
"^[^%\n]*?\\\\usepackage\\(\\[[^]]*\\]\\)?{biblatex\\|multibib}" nil t))))