[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex bd2f3a8 63/71: Track changes in L
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex bd2f3a8 63/71: Track changes in LaTeX kernel 2021-11-15 |
Date: |
Fri, 17 Dec 2021 15:00:38 -0500 (EST) |
branch: externals/auctex
commit bd2f3a806cee336fc94767ebc77f0e09264ad8cd
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Track changes in LaTeX kernel 2021-11-15
* font-latex.el (font-latex-built-in-keyword-classes): Add the
macros \counterwith(in|out) to variable keyword-class.
* latex.el (LaTeX-common-initialization): Support completion for
\counterwith(in|out) macros.
---
font-latex.el | 1 +
latex.el | 29 ++++++++++++++++++++++++++++-
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/font-latex.el b/font-latex.el
index 43b074e..5f1f888 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -247,6 +247,7 @@ variable `font-latex-fontify-sectioning'." ',num)
("settodepth" "{{") ("setcounter" "{|{\\")
("addtolength" "|{\\{") ("addtocounter" "{|{\\")
("stepcounter" "{") ("refstepcounter" "{")
+ ("counterwithin" "*[{{") ("counterwithout" "*[{{")
("arabic" "{") ("roman" "{") ("Roman" "{") ("alph" "{") ("Alph" "{")
("fnsymbol" "{"))
font-lock-variable-name-face 2 command)
diff --git a/latex.el b/latex.el
index 52a0a9c..96e55df 100644
--- a/latex.el
+++ b/latex.el
@@ -7428,7 +7428,34 @@ function would return non-nil and `(match-string 1)'
would return
;; LaTeX hook macros:
'("AddToHook" TeX-arg-hook [ "Label" ] t)
'("RemoveFromHook" TeX-arg-hook [ "Label" ])
- '("AddToHookNext" TeX-arg-hook t)))
+ '("AddToHookNext" TeX-arg-hook t)
+
+ ;; Added in LaTeX 2021-11-15
+ '("counterwithin"
+ [TeX-arg-eval completing-read
+ (TeX-argument-prompt t nil "Format")
+ '("\\arabic" "\\roman" "\\Roman" "\\alph" "\\Alph")]
+ (TeX-arg-counter)
+ (TeX-arg-counter "Within counter"))
+ '("counterwithin*"
+ [TeX-arg-eval completing-read
+ (TeX-argument-prompt t nil "Format")
+ '("\\arabic" "\\roman" "\\Roman" "\\alph" "\\Alph")]
+ (TeX-arg-counter)
+ (TeX-arg-counter "Within counter"))
+
+ '("counterwithout"
+ [TeX-arg-eval completing-read
+ (TeX-argument-prompt t nil "Format")
+ '("\\arabic" "\\roman" "\\Roman" "\\alph" "\\Alph")]
+ (TeX-arg-counter)
+ (TeX-arg-counter "Within counter"))
+ '("counterwithout*"
+ [TeX-arg-eval completing-read
+ (TeX-argument-prompt t nil "Format")
+ '("\\arabic" "\\roman" "\\Roman" "\\alph" "\\Alph")]
+ (TeX-arg-counter)
+ (TeX-arg-counter "Within counter"))))
(TeX-run-style-hooks "LATEX")
- [AUCTeX-diffs] [elpa] externals/auctex 0419539 37/71: Improve style/babel.el, (continued)
- [AUCTeX-diffs] [elpa] externals/auctex 0419539 37/71: Improve style/babel.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex d62d8f3 34/71: Update style/fontspec.el to package version 2.7i, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 9e97edc 49/71: Fix wrong logic of the previous commit, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 8c50665 62/71: Add new style/unicodefonttable.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 7b632c6 43/71: * doc/todo.texi (Mid-term Goals): Add TODO about tool bar., Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 7c4147b 57/71: Improve handling of key=vals in style/tcolorbox.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex f6dd4a4 25/71: ; Silence the compiler, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex df0d719 52/71: Improve handling of key=vals in style/hologo.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 2e26d49 61/71: Update style/siunitx.el to package version 3, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex b9545c8 45/71: Improve handling of key=vals in style/fancyvrb.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex bd2f3a8 63/71: Track changes in LaTeX kernel 2021-11-15,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex d77f49e 54/71: Fontify \tabularnewline macro, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex df0545f 39/71: Improve handling of key=vals in style/empheq.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 9fdb117 67/71: ; Fix previous commit, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 8e13306 66/71: Update style/url.el to package version 3.4, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 9fa3859 38/71: ; Remove duplicates, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 19cd047 69/71: Add new style/rotating.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 25c8d0f 12/71: Add NEWS for two commands available in Texinfo mode, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 0376fd2 32/71: ; Fix doc strings, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 2db5e3c 40/71: Improve handling of key=vals style/newfloat.el, Tassilo Horn, 2021/12/17
- [AUCTeX-diffs] [elpa] externals/auctex 17277d8 65/71: Fix marker management, Tassilo Horn, 2021/12/17