aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorTassilo Horn2013-05-23 17:21:54 +0200
committerTassilo Horn2013-05-23 17:21:54 +0200
commitc43d45f9de721df8f92db16e82ad44c10c148652 (patch)
tree19c3800875cc18fa83a65444a3e9257f808ae261 /lisp/textmodes
parent2af0948d2c7abccc2a8b3fb9b168a0e971f214c7 (diff)
downloademacs-c43d45f9de721df8f92db16e82ad44c10c148652.tar.gz
emacs-c43d45f9de721df8f92db16e82ad44c10c148652.zip
* 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.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/reftex-parse.el4
-rw-r--r--lisp/textmodes/reftex-vars.el2
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el
index 945e82e365d..3a64aad6a06 100644
--- a/lisp/textmodes/reftex-parse.el
+++ b/lisp/textmodes/reftex-parse.el
@@ -360,9 +360,9 @@ of master file."
360; "\\(\\`\\|[\n\r]\\)[^%]*\\\\\\(" 360; "\\(\\`\\|[\n\r]\\)[^%]*\\\\\\("
361 "\\(^\\)[^%\n\r]*\\\\\\(" 361 "\\(^\\)[^%\n\r]*\\\\\\("
362 (mapconcat 'identity reftex-bibliography-commands "\\|") 362 (mapconcat 'identity reftex-bibliography-commands "\\|")
363 "\\){[ \t]*\\([^}]+\\)") nil t) 363 "\\)\\(\\[.+?\\]\\)?{[ \t]*\\([^}]+\\)") nil t)
364 (setq files 364 (setq files
365 (split-string (reftex-match-string 3) 365 (split-string (reftex-match-string 4)
366 "[ \t\n\r]*,[ \t\n\r]*"))))) 366 "[ \t\n\r]*,[ \t\n\r]*")))))
367 (when files 367 (when files
368 (setq files 368 (setq files
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 47bec5e7218..3792ab4cbde 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -1112,7 +1112,7 @@ buffer."
1112 :group 'reftex) 1112 :group 'reftex)
1113 1113
1114(defcustom reftex-bibliography-commands 1114(defcustom reftex-bibliography-commands
1115 '("bibliography" "nobibliography" "setupbibtex\\[.*?database=") 1115 '("bibliography" "nobibliography" "setupbibtex\\[.*?database=" "addbibresource")
1116 "LaTeX commands which specify the BibTeX databases to use with the document." 1116 "LaTeX commands which specify the BibTeX databases to use with the document."
1117 :group 'reftex-citation-support 1117 :group 'reftex-citation-support
1118 :type '(repeat string)) 1118 :type '(repeat string))