[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex b24dcb4feb 40/77: Track changes in LaTeX kernel
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex b24dcb4feb 40/77: Track changes in LaTeX kernel 2022-06-01 |
Date: |
Fri, 26 Aug 2022 16:06:35 -0400 (EDT) |
branch: externals/auctex
commit b24dcb4feb823329b79578ae6feb44b88775a4b2
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Track changes in LaTeX kernel 2022-06-01
* font-latex.el (font-latex-built-in-keyword-classes): Add entry
for the top level macro \NewMarkClass.
* latex.el (TeX-read-hook): Query for "insertmark" hook.
(LaTeX-common-initialization): Support macros for the new mark
mechanism and floating point and integer calculations.
* style/ltxdoc.el (LaTeX-ltxdoc-class-options): Add "doc2".
* style/xparse.el ("xparse"): Add "IfBlank*" series of tests.
---
font-latex.el | 1 +
latex.el | 46 ++++++++++++++++++++++++++++++++++++++++++++--
style/ltxdoc.el | 2 +-
style/xparse.el | 5 ++++-
4 files changed, 50 insertions(+), 4 deletions(-)
diff --git a/font-latex.el b/font-latex.el
index 385be3589a..92b6047a7b 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -365,6 +365,7 @@ variable `font-latex-fontify-sectioning'." ',num)
("labelformat" "{{") ("linespread" "{")
("AddToHook" "{[{") ("RemoveFromHook" "{[") ("AddToHookNext" "{{")
("ProvidesClass" "{[") ("ProvidesPackage" "{[") ("ProvidesFile" "{[")
+ ("NewMarkClass" "{")
;; 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 88f2303354..92ae9680a8 100644
--- a/latex.el
+++ b/latex.el
@@ -3386,7 +3386,9 @@ INHERIT-INPUT-METHOD are passed to
;; From ltshipout-doc.pdf
"shipout"
;; From ltpara-doc.pdf
- "para")))
+ "para"
+ ;; From ltmarks-doc.pdf
+ "insertmark")))
(place (lambda (&optional opt pr)
(completing-read
(TeX-argument-prompt opt pr "Where")
@@ -7927,7 +7929,47 @@ function would return non-nil and `(match-string 1)'
would return
(TeX-argument-prompt t nil "Format")
'("\\arabic" "\\roman" "\\Roman" "\\alph" "\\Alph")]
(TeX-arg-counter)
- (TeX-arg-counter "Within counter"))))
+ (TeX-arg-counter "Within counter"))
+
+ ;; Added in LaTeX 2022-06-01
+ '("NewMarkClass" "Class")
+ '("InsertMark" "Class" t)
+ '("TopMark"
+ [TeX-arg-completing-read ("page" "previous-page"
+ "column" "previous-column"
+ "first-column" "last-column")
+ "Region"]
+ (TeX-arg-completing-read ("2e-left" "2e-right" "2e-right-nonempty")
+ "Class"))
+ '("FirstMark"
+ [TeX-arg-completing-read ("page" "previous-page"
+ "column" "previous-column"
+ "first-column" "last-column")
+ "Region"]
+ (TeX-arg-completing-read ("2e-left" "2e-right" "2e-right-nonempty")
+ "Class"))
+ '("LastMark"
+ [TeX-arg-completing-read ("page" "previous-page"
+ "column" "previous-column"
+ "first-column" "last-column")
+ "Region"]
+ (TeX-arg-completing-read ("2e-left" "2e-right" "2e-right-nonempty")
+ "Class"))
+ '("IfMarksEqualTF"
+ [TeX-arg-completing-read ("page" "previous-page"
+ "column" "previous-column"
+ "first-column" "last-column")
+ "Region"]
+ (TeX-arg-completing-read ("2e-left" "2e-right" "2e-right-nonempty")
+ "Class")
+ (TeX-arg-completing-read ("top" "first" "last")
+ "Position 1")
+ (TeX-arg-completing-read ("top" "first" "last")
+ "Position 2")
+ 2)
+ '("fpeval" t)
+ '("dimeval" t)
+ '("skipeval" t) ))
(TeX-run-style-hooks "LATEX")
diff --git a/style/ltxdoc.el b/style/ltxdoc.el
index 16c26e1f39..feeb300d34 100644
--- a/style/ltxdoc.el
+++ b/style/ltxdoc.el
@@ -87,7 +87,7 @@
(progn
(TeX-load-style "article")
(append (remove "a5paper" LaTeX-article-class-options)
- '("nocfg")))
+ '("nocfg" "doc2")))
"Class options for the ltxdoc class.
All options are passed to article class, \"a5paper\" is disabled
by ltxdoc. Therefore it is also removed here.")
diff --git a/style/xparse.el b/style/xparse.el
index fd9bb328b0..b2a2fb051b 100644
--- a/style/xparse.el
+++ b/style/xparse.el
@@ -1,6 +1,6 @@
;;; xparse.el --- AUCTeX style for `xparse.sty' version 2020-03-06 -*-
lexical-binding: t; -*-
-;; Copyright (C) 2013, 2020, 2021 Free Software Foundation, Inc.
+;; Copyright (C) 2013, 2020--2022 Free Software Foundation, Inc.
;; Maintainer: auctex-devel@gnu.org
;; Author: Mosè Giordano <mose@gnu.org>
@@ -311,6 +311,9 @@ TYPE is one of the symbols mac or env."
'("IfValueTF" 3)
'("IfValueT" 2)
'("IfValueF" 2)
+ '("IfBlankTF" 3)
+ '("IfBlankT" 2)
+ '("IfBlankF" 2)
"BooleanTrue"
"BooleanFalse"
;; Argument processors
- [elpa] externals/auctex 58bc18eaf7 11/77: Be more robust against false positive, (continued)
- [elpa] externals/auctex 58bc18eaf7 11/77: Be more robust against false positive, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ba568ead99 24/77: ; Silence the compiler for the change in 37e5a450, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 8404fe8b18 17/77: Provide generic completion functions, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9ca155cdb0 25/77: Improve fontification of kernel macros, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 46373674e2 22/77: ; Fix completion for counters made in 37e5a450, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e30fda8130 26/77: ; Really silence the compiler for the change in 37e5a450, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 59ef475125 30/77: Simplify regexp, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 60ca36b5a1 39/77: ; * .gitignore: Exclude temp files produced by 2022-06-01 kernel., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex d1f2c2cdb2 41/77: Add new style/proc.el, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 054b38887b 42/77: Fix (void-variable compilation-in-progress) error, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex b24dcb4feb 40/77: Track changes in LaTeX kernel 2022-06-01,
Tassilo Horn <=
- [elpa] externals/auctex 4163bb5c42 66/77: Fix `autoconf` warnings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ead30464d8 64/77: * style/listings.el (TeX-add-style-hook): Update fontification., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 7d7e563862 34/77: * doc/changes.texi: Add NEWS item for the previous commit., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 6e25d11aa6 44/77: Add comment, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 4a3d7a2dc2 60/77: Suppress indentation of verbatim env's in docTeX-mode, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ce4bb7c1b6 58/77: ; * style/doc.el: Delete spurious `declare-function'., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex d1d1bd819d 47/77: Control the opening and closing braces during insertion, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 23f4040c9d 57/77: Add new test, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 04b9a6d1f9 56/77: Improve shortvrb.sty support, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 33a01b6928 59/77: Extend test for filling, Tassilo Horn, 2022/08/26