On 2014-11-27 13:31, Tassilo Horn <[email protected]> writes:

> (with-eval-after-load 'reftex-parse
>   (defun reftex-using-biblatex-p ()
>     "Return non-nil if we are using biblatex rather than bibtex."
>     (if (boundp 'TeX-active-styles)
>       ;; the sophisticated AUCTeX way
>       (member "biblatex" TeX-active-styles)
>       ;; poor-man's check...
>       (save-excursion
>       (re-search-forward "^[^%\n]*?\\\\usepackage.*{biblatex}" nil t)))))

Thanks a lot, this is most useful.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

Attachment: signature.asc
Description: PGP signature

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to