[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex e351a3a 26/28: Add missing commands `\nameref*'
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex e351a3a 26/28: Add missing commands `\nameref*' and `\Nameref'. |
Date: |
Fri, 07 Aug 2015 15:59:28 +0000 |
branch: externals/auctex
commit e351a3a6ad8bcb15c959d77227849f50cd5d8de9
Author: Arash Esbati <address@hidden>
Commit: Mosè Giordano <address@hidden>
Add missing commands `\nameref*' and `\Nameref'.
* style/nameref.el ("nameref"): Add missing commands `\nameref*'
and `\Nameref'.
Signed-off-by: Mosè Giordano <address@hidden>
---
ChangeLog | 3 +++
style/nameref.el | 19 ++++++++++++-------
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5265019..8ff7097 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-07-21 Arash Esbati <address@hidden>
+ * style/nameref.el ("nameref"): Add missing commands `\nameref*'
+ and `\Nameref'.
+
* style/textpos.el ("textpos"): Fix the name of the provided env's
which is `textblock' and not `textpos'.
diff --git a/style/nameref.el b/style/nameref.el
index d09ddbe..49e7202 100644
--- a/style/nameref.el
+++ b/style/nameref.el
@@ -1,6 +1,6 @@
;;; nameref.el --- AUCTeX style for `nameref.sty'
-;; Copyright (C) 2013 Free Software Foundation, Inc.
+;; Copyright (C) 2013, 2015 Free Software Foundation, Inc.
;; Author: Mads Jensen <address@hidden>
;; Maintainer: address@hidden
@@ -33,17 +33,22 @@
"nameref"
(lambda ()
(TeX-add-symbols
- '("nameref" TeX-arg-ref))
-
+ '("nameref" TeX-arg-ref)
+ '("nameref*" TeX-arg-ref)
+ '("Nameref" TeX-arg-ref))
+
(setq TeX-complete-list
- (append '(("\\\\nameref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}"))
- TeX-complete-list))
-
+ (append
+ '(("\\\\\\(?:N\\|n\\)ameref\\*?{\\([^{}\n\r\\%,]*\\)" 1
LaTeX-label-list "}"))
+ TeX-complete-list))
+
;, Fontification
(when (and (fboundp 'font-latex-add-keywords)
(fboundp 'font-latex-set-syntactic-keywords)
(eq TeX-install-font-lock 'font-latex-setup))
- (font-latex-add-keywords '(("nameref" "{")) 'reference)))
+ (font-latex-add-keywords '(("nameref" "*{")
+ ("Nameref" "{"))
+ 'reference)))
LaTeX-dialect)
(defvar LaTeX-nameref-package-options nil
- [elpa] externals/auctex 24a2a9d 20/28: Add `LCRJ' to `LaTeX-array-column-letters'., (continued)
- [elpa] externals/auctex 24a2a9d 20/28: Add `LCRJ' to `LaTeX-array-column-letters'., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex b9eddc9 11/28: Really ignore dbus errors, Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 1202f83 19/28: Add `X' to `LaTeX-array-column-letters'., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 5178ba6 16/28: Parse hf-tikz messages suggesting to rerun LaTeX., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex bb195ae 15/28: Add new style file for mnras class., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex c2c7dd9 18/28: Parse user-defined new column types., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex e301b71 22/28: Add new style textpos.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex d27e773 21/28: Add new style environ.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 482dddb 24/28: Query for default first arg when (re-)defining env's., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 107f106 23/28: Add new style vwcol.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex e351a3a 26/28: Add missing commands `\nameref*' and `\Nameref'.,
Tassilo Horn <=
- [elpa] externals/auctex 6094700 17/28: Restore deleted preview README., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 166e14b 25/28: Fix a typo in the name of provided env's., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 3fdeb4b 27/28: Setup preview differently; fixes bug#21188, Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 1fc2c7a 28/28: Merge branch 'master' into elpa, Tassilo Horn, 2015/08/07