auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 2c5c2e1 10/23: Add support for so


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 2c5c2e1 10/23: Add support for some missing kernel macros
Date: Sat, 23 Jan 2021 04:10:07 -0500 (EST)

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

    Add support for some missing kernel macros
    
    * font-latex.el (font-latex-built-in-keyword-classes): Add various
    \<sectioning>mark to "reference" class.
    
    * latex.el (LaTeX-common-initialization): Add support for \...mark
    macros.
---
 font-latex.el | 4 +++-
 latex.el      | 9 +++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/font-latex.el b/font-latex.el
index bf258f1..494fb30 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -338,7 +338,9 @@ variable `font-latex-fontify-sectioning'." ',num)
       ("vref" "*{") ("eqref" "{") ("ref" "{") ("Ref" "{") ("include" "{")
       ("input" "{") ("bibliography" "{") ("index" "{") ("glossary" "{")
       ("footnote" "[{") ("footnotemark" "[") ("footnotetext" "[{")
-      ("marginpar" "[{"))
+      ("marginpar" "[{") ("chaptermark" "{") ("sectionmark" "{")
+      ("subsectionmark" "{") ("subsubsectionmark" "{")
+      ("paragraphmark" "{") ("subparagraphmark" "{"))
      font-lock-constant-face 2 command)
     ("function"
      (("begin" "{") ("end" "{") ("pagenumbering" "{")
diff --git a/latex.el b/latex.el
index 3639bf6..c25cc24 100644
--- a/latex.el
+++ b/latex.el
@@ -6540,9 +6540,18 @@ function would return non-nil and `(match-string 1)' 
would return
      '("textsubscript" "Text")
      '("textcircled" "Text")
      '("mathring" t)
+     '("MakeUppercase" t)
+     '("MakeLowercase" t)
+     '("chaptermark" "Text")
+     '("sectionmark" "Text")
+     '("subsectionmark" "Text")
+     '("subsubsectionmark" "Text")
+     '("paragraphmark" "Text")
+     '("subparagraphmark" "Text")
 
      "LaTeXe"
      "listfiles" "frontmatter" "mainmatter" "backmatter"
+     "leftmark" "rightmark"
      "textcompwordmark" "textvisiblespace" "textemdash" "textendash"
      "textexclamdown" "textquestiondown" "textquotedblleft"
      "textquotedblright" "textquoteleft" "textquoteright"




reply via email to

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