auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 431375f4d84117e0dc64b


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 431375f4d84117e0dc64b83e2356eebda6be9a97
Date: Wed, 5 May 2021 05:38:04 -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  431375f4d84117e0dc64b83e2356eebda6be9a97 (commit)
      from  7ff332397dad4bfe2afe62cec5a4577d92301182 (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 431375f4d84117e0dc64b83e2356eebda6be9a97
Author: Arash Esbati <arash@gnu.org>
Date:   Wed May 5 11:37:01 2021 +0200

    Support new kernel macro \footref
    
    * font-latex.el (font-latex-built-in-keyword-classes): Add entry
    for footref to reference class.
    
    * latex.el (LaTeX-common-initialization): Add support for
    \footref macro.

diff --git a/font-latex.el b/font-latex.el
index 4352ac1..bbaad61 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -331,8 +331,9 @@ variable `font-latex-fontify-sectioning'." ',num)
      font-lock-constant-face 2 command)
     ("reference"
      (("nocite" "*{") ("cite" "*[[{") ("label" "{") ("pageref" "{")
-      ("vref" "*{") ("eqref" "{") ("ref" "{") ("Ref" "{") ("include" "{")
-      ("input" "{") ("bibliography" "{") ("index" "{") ("glossary" "{")
+      ("vref" "*{") ("eqref" "{") ("ref" "{") ("Ref" "{")
+      ("footref" "{") ("include" "{") ("input" "{")
+      ("bibliography" "{") ("index" "{") ("glossary" "{")
       ("footnote" "[{") ("footnotemark" "[") ("footnotetext" "[{")
       ("marginpar" "[{") ("chaptermark" "{") ("sectionmark" "{")
       ("subsectionmark" "{") ("subsubsectionmark" "{")
diff --git a/latex.el b/latex.el
index c018e7d..f9cfdeb 100644
--- a/latex.el
+++ b/latex.el
@@ -6360,6 +6360,8 @@ function would return non-nil and `(match-string 1)' 
would return
    ;; \Ref and \labelformat are part of kernel with LaTeX 2019-10-01:
    '("Ref" TeX-arg-ref)
    '("labelformat" TeX-arg-counter t)
+   ;; \footref is part of kernel with LaTeX 2021-06-01:
+   '("footref" TeX-arg-ref)
    '("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 | 5 +++--
 latex.el      | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]