[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. dbc1fa09d37b5ce9b73e9
From: |
Arash Esbati |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. dbc1fa09d37b5ce9b73e92548c311c87ab66da0f |
Date: |
Sun, 22 Sep 2019 16:51:49 -0400 (EDT) |
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 dbc1fa09d37b5ce9b73e92548c311c87ab66da0f (commit)
from 3542a23e61592b882eacd75594eb5b8ee0f33286 (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 dbc1fa09d37b5ce9b73e92548c311c87ab66da0f
Author: Arash Esbati <address@hidden>
Date: Sun Sep 22 22:45:18 2019 +0200
Support new kernel macros \Ref and \labelformat
* font-latex.el (font-latex-built-in-keyword-classes): Add \Ref to
reference and \labelformat to function class.
* latex.el (LaTeX-common-initialization): Add support for \Ref and
\labelformat which are part of LaTeX kernel 2019-10-01 release.
diff --git a/font-latex.el b/font-latex.el
index 486f39f..4df9526 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -340,7 +340,7 @@ variable `font-latex-fontify-sectioning'." ',num)
font-lock-constant-face 2 command)
("reference"
(("nocite" "*{") ("cite" "*[[{") ("label" "{") ("pageref" "{")
- ("vref" "*{") ("eqref" "{") ("ref" "{") ("include" "{")
+ ("vref" "*{") ("eqref" "{") ("ref" "{") ("Ref" "{") ("include" "{")
("input" "{") ("bibliography" "{") ("index" "{") ("glossary" "{")
("footnote" "[{") ("footnotemark" "[") ("footnotetext" "[{")
("marginpar" "[{"))
@@ -356,7 +356,9 @@ variable `font-latex-fontify-sectioning'." ',num)
("newcounter" "{[") ("renewenvironment" "*{[[{{")
("renewcommand" "*|{\\[[{") ("renewtheorem" "{[{[")
("usepackage" "[{[") ("fbox" "{") ("mbox" "{") ("rule" "[{{")
- ("addvspace" "{") ("vspace" "*{") ("hspace" "*{") ("thinspace" "")
("negthinspace" "")
+ ("addvspace" "{") ("vspace" "*{") ("hspace" "*{")
+ ("thinspace" "") ("negthinspace" "")
+ ("labelformat" "{{")
;; XXX: Should macros without arguments rather be listed in a
;; separate category with 'noarg instead of 'command handling?
("enspace" "") ("enskip" "") ("quad" "") ("qquad" "") ("nonumber" "")
diff --git a/latex.el b/latex.el
index 602e2df..b4cf54f 100644
--- a/latex.el
+++ b/latex.el
@@ -6222,6 +6222,9 @@ function would return non-nil and `(match-string 1)'
would return
'("label" TeX-arg-define-label)
'("pageref" TeX-arg-ref)
'("ref" TeX-arg-ref)
+ ;; \Ref and \labelformat are part of kernel with LaTeX 2019-10-01:
+ '("Ref" TeX-arg-ref)
+ '("labelformat" TeX-arg-counter t)
'("newcommand" TeX-arg-define-macro [ TeX-arg-define-macro-arguments ] t)
'("renewcommand" TeX-arg-macro [ TeX-arg-define-macro-arguments ] t)
'("newenvironment" TeX-arg-define-environment
-----------------------------------------------------------------------
Summary of changes:
font-latex.el | 6 ++++--
latex.el | 3 +++
2 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. dbc1fa09d37b5ce9b73e92548c311c87ab66da0f,
Arash Esbati <=