[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 1addc62fc10e52ff29e64
From: |
Mosè Giordano |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 1addc62fc10e52ff29e64486a3754627ac2c1495 |
Date: |
Tue, 3 Jan 2017 17:35:10 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".
The branch, master has been updated
via 1addc62fc10e52ff29e64486a3754627ac2c1495 (commit)
from 4747c24576cd4dfc3bd1356006401eff8aad895a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1addc62fc10e52ff29e64486a3754627ac2c1495
Author: Mosè Giordano <address@hidden>
Date: Tue Jan 3 18:32:39 2017 +0100
Use RefTeX for multiple citations in biblatex
* style/biblatex.el (LaTeX-arg-biblatex-cites): Use RefTeX when
available. Suggested by Arash Esbati.
diff --git a/style/biblatex.el b/style/biblatex.el
index 9ec2b02..4231509 100644
--- a/style/biblatex.el
+++ b/style/biblatex.el
@@ -206,9 +206,15 @@ for citation keys."
(TeX-argument-insert
(TeX-read-string (TeX-argument-prompt t nil "Postnote"))
(equal prenote ""))))
- (setq items (TeX-completing-read-multiple
- (TeX-argument-prompt optional prompt "Key")
- (LaTeX-bibitem-list)))
+ (setq items (if (and (fboundp 'reftex-citation)
+ (fboundp 'reftex-plug-flag)
+ (reftex-plug-flag 3))
+ ;; Use RefTeX when enabled.
+ (reftex-citation t)
+ ;; Multiple citation keys in each argument are allowed.
+ (TeX-completing-read-multiple
+ (TeX-argument-prompt optional prompt "Key(s)")
+ (LaTeX-bibitem-list))))
(apply 'LaTeX-add-bibitems items)
;; If input is empty, insert an empty group only the first time, when
;; `noinsert' flag is nil.
-----------------------------------------------------------------------
Summary of changes:
style/biblatex.el | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 1addc62fc10e52ff29e64486a3754627ac2c1495,
Mosè Giordano <=