auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 431375f 04/34: Support new kernel


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 431375f 04/34: Support new kernel macro \footref
Date: Sun, 6 Jun 2021 11:40:00 -0400 (EDT)

branch: externals/auctex
commit 431375f4d84117e0dc64b83e2356eebda6be9a97
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    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.
---
 font-latex.el | 5 +++--
 latex.el      | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)

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




reply via email to

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