emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112688: * lisp/textmodes/reftex-pars


From: Tassilo Horn
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112688: * lisp/textmodes/reftex-parse.el (reftex-locate-bibliography-files):
Date: Thu, 23 May 2013 17:21:54 +0200
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112688
committer: Tassilo Horn <address@hidden>
branch nick: trunk
timestamp: Thu 2013-05-23 17:21:54 +0200
message:
  * lisp/textmodes/reftex-parse.el (reftex-locate-bibliography-files):
    Accept options for bibliography commands.
  * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands): Add
    addbibresource.  Basic Biblatex support.
modified:
  lisp/ChangeLog
  lisp/textmodes/reftex-parse.el
  lisp/textmodes/reftex-vars.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-05-23 08:43:18 +0000
+++ b/lisp/ChangeLog    2013-05-23 15:21:54 +0000
@@ -1,3 +1,11 @@
+2013-05-23  RĂ¼diger Sonderfeld  <address@hidden>
+
+       * lisp/textmodes/reftex-parse.el
+       (reftex-locate-bibliography-files): Accept options for
+       bibliography commands.
+       * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
+       Add addbibresource.  Basic Biblatex support.
+
 2013-05-23  Michael Albinus  <address@hidden>
 
        * net/tramp-gvfs.el (top):

=== modified file 'lisp/textmodes/reftex-parse.el'
--- a/lisp/textmodes/reftex-parse.el    2013-05-21 07:25:14 +0000
+++ b/lisp/textmodes/reftex-parse.el    2013-05-23 15:21:54 +0000
@@ -360,9 +360,9 @@
 ;           "\\(\\`\\|[\n\r]\\)[^%]*\\\\\\("
             "\\(^\\)[^%\n\r]*\\\\\\("
             (mapconcat 'identity reftex-bibliography-commands "\\|")
-            "\\){[ \t]*\\([^}]+\\)") nil t)
+            "\\)\\(\\[.+?\\]\\)?{[ \t]*\\([^}]+\\)") nil t)
           (setq files
-                (split-string (reftex-match-string 3)
+                (split-string (reftex-match-string 4)
                               "[ \t\n\r]*,[ \t\n\r]*")))))
   (when files
     (setq files

=== modified file 'lisp/textmodes/reftex-vars.el'
--- a/lisp/textmodes/reftex-vars.el     2013-05-09 01:40:20 +0000
+++ b/lisp/textmodes/reftex-vars.el     2013-05-23 15:21:54 +0000
@@ -1112,7 +1112,7 @@
   :group 'reftex)
 
 (defcustom reftex-bibliography-commands
-  '("bibliography" "nobibliography" "setupbibtex\\[.*?database=")
+  '("bibliography" "nobibliography" "setupbibtex\\[.*?database=" 
"addbibresource")
   "LaTeX commands which specify the BibTeX databases to use with the document."
   :group 'reftex-citation-support
   :type '(repeat string))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]