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 e351a3a6ad8bcb15c959d77227849f50cd5d8de9 (commit) from 166e14bf5496e2c8a85bcefb1786c7ae9e474a14 (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 e351a3a6ad8bcb15c959d77227849f50cd5d8de9 Author: Arash Esbati <a.esb...@elumatec.net> Date: Tue Jul 21 22:18:47 2015 +0200 Add missing commands `\nameref*' and `\Nameref'. * style/nameref.el ("nameref"): Add missing commands `\nameref*' and `\Nameref'. Signed-off-by: Mosè Giordano <m...@gnu.org> diff --git a/ChangeLog b/ChangeLog index 5265019..8ff7097 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-07-21 Arash Esbati <esb...@gmx.de> + * 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 <m...@inducks.org> ;; Maintainer: auctex-devel@gnu.org @@ -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 ----------------------------------------------------------------------- Summary of changes: ChangeLog | 3 +++ style/nameref.el | 19 ++++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) hooks/post-receive -- GNU AUCTeX
_______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs