[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 1addc62 30/57: Use RefTeX for mul
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 1addc62 30/57: Use RefTeX for multiple citations in biblatex |
Date: |
Wed, 11 Jan 2017 18:01:39 +0000 (UTC) |
branch: externals/auctex
commit 1addc62fc10e52ff29e64486a3754627ac2c1495
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Use RefTeX for multiple citations in biblatex
* style/biblatex.el (LaTeX-arg-biblatex-cites): Use RefTeX when
available. Suggested by Arash Esbati.
---
style/biblatex.el | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
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.
- [AUCTeX-diffs] [elpa] externals/auctex updated (a580432 -> 3dca7c4), Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 061aaf5 03/57: Mention improvements to `LaTeX-array-count-columns' in news, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex def20e7 05/57: Make AUCTeX and RefTeX aware of file loading macro \subfile, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex ac02ed2 02/57: Extend test for new column counting code with style files loaded, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 89ea0e4 19/57: Fix name of macros \lcnamecref and \lcnamecrefs, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 4747c24 29/57: Simple docfix, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 4c42f7a 25/57: Revert "Remove multi-level/invisible feature of font-latex-fontify-script", Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 1addc62 30/57: Use RefTeX for multiple citations in biblatex,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex 0b16551 51/57: * Makefile.in (release-commit): Use UTF-8 coding for ChangeLog entry., Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 0766526 41/57: Don't use cl function copy-list, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex a181b14 55/57: ; make change-history-commit, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 61e56f2 40/57: Fix bug where font-latex-sub/superscript-face was not applied to ^_, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex bc47cb0 39/57: Fontify script characters with a new face, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex bef4873 22/57: Set `reftex-set-cite-format' to biblatex or natbib, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 1de2359 13/57: Add new style/titlesec.el, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 01da194 23/57: ; * style/titletoc.el ("titletoc"): Use `TeX-arg-length'., Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 69fc320 27/57: Add a newline only if \label is inserted, Tassilo Horn, 2017/01/11
- [AUCTeX-diffs] [elpa] externals/auctex 343ca9c 36/57: Fix script unfontification bug, Tassilo Horn, 2017/01/11