[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblat
From: |
Alan Schmitt |
Subject: |
Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex) |
Date: |
Thu, 27 Nov 2014 14:15:53 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (darwin) |
On 2014-11-27 13:31, Tassilo Horn <address@hidden> 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
signature.asc
Description: PGP signature
- [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Alan Schmitt, 2014/11/27
- Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Uwe Brauer, 2014/11/27
- Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Tassilo Horn, 2014/11/27
- Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Uwe Brauer, 2014/11/27
- Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Tassilo Horn, 2014/11/27