[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex bef4873 22/57: Set `reftex-set-cite-format' to b
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex bef4873 22/57: Set `reftex-set-cite-format' to biblatex or natbib |
Date: |
Wed, 11 Jan 2017 18:01:38 +0000 (UTC) |
branch: externals/auctex
commit bef487308acb26c775d5e79daaa484662e0e2067
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Set `reftex-set-cite-format' to biblatex or natbib
* style/biblatex.el ("biblatex"): Set `reftex-set-cite-format' to
biblatex or natbib depending on package option.
---
style/biblatex.el | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/style/biblatex.el b/style/biblatex.el
index 01c51cf..9ec2b02 100644
--- a/style/biblatex.el
+++ b/style/biblatex.el
@@ -544,7 +544,17 @@ for citation keys."
"NewBibliographyString")
(LaTeX-declare-expert-environments
"biblatex"
- "refsection" "refsegment"))
+ "refsection" "refsegment")
+
+ ;; Tell RefTeX: The entry `biblatex' is defined in
+ ;; `reftex-cite-format-builtin' in reftex-vars.el which will be
+ ;; part of Emacs >= 25.3. It does not issue an error for older
+ ;; Emacsen, but does not work either, i.e. it is ignored.
+ (when (fboundp 'reftex-set-cite-format)
+ (if (or (LaTeX-provided-package-options-member "biblatex" "natbib")
+ (LaTeX-provided-package-options-member "biblatex" "natbib=true"))
+ (reftex-set-cite-format 'natbib)
+ (reftex-set-cite-format 'biblatex))))
LaTeX-dialect)
(defvar LaTeX-biblatex-package-options-list
- [elpa] externals/auctex updated (a580432 -> 3dca7c4), Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 061aaf5 03/57: Mention improvements to `LaTeX-array-count-columns' in news, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex ec3996d 08/57: Query for optional float position, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex def20e7 05/57: Make AUCTeX and RefTeX aware of file loading macro \subfile, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex a55b66d 07/57: Improve inserting arguments of \captionof macro, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex ac02ed2 02/57: Extend test for new column counting code with style files loaded, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex bef4873 22/57: Set `reftex-set-cite-format' to biblatex or natbib,
Tassilo Horn <=
- [elpa] externals/auctex c3a21f2 04/57: Print only first line of the message in error overview, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 48d397c 17/57: Add starred version of \citeauthor and \Citeauthor, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 89ea0e4 19/57: Fix name of macros \lcnamecref and \lcnamecrefs, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex bb390fe 18/57: Add fontification for varioref's referencing macros, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 8186490 06/57: Fix documentation of TeX-arg-file, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 01da194 23/57: ; * style/titletoc.el ("titletoc"): Use `TeX-arg-length'., Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 1addc62 30/57: Use RefTeX for multiple citations in biblatex, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 890163e 26/57: Bring back multi-level script font-locking, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 5ddbd04 12/57: Add new style/titleps.el, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 225bade 14/57: Add new style/titletoc.el, Tassilo Horn, 2017/01/11