[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex c9ab5d58f3 19/39: Update style/babel.el to packa
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex c9ab5d58f3 19/39: Update style/babel.el to package version 3.88 |
Date: |
Thu, 20 Jul 2023 04:21:49 -0400 (EDT) |
branch: externals/auctex
commit c9ab5d58f327c759a23f7f6b8618383b2822dcdc
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Update style/babel.el to package version 3.88
* style/babel.el ("babel"): Add support for optional argument for
\foreignlanguage macro and otherlanguage* environment.
Change the keywords class for \foreignlanguage to `textual'.
(bug#63396)
(LaTeX-babel-package-options-list): Update package options.
---
style/babel.el | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/style/babel.el b/style/babel.el
index 2483b73b50..495e9f6468 100644
--- a/style/babel.el
+++ b/style/babel.el
@@ -1,4 +1,4 @@
-;;; babel.el --- AUCTeX style for `babel.sty' version 3.31. -*-
lexical-binding: t; -*-
+;;; babel.el --- AUCTeX style for `babel.sty' version 3.88. -*-
lexical-binding: t; -*-
;; Copyright (C) 2005-2023 Free Software Foundation, Inc.
@@ -26,7 +26,7 @@
;;; Commentary:
-;; This file adds support for `babel.sty' version 3.31 from 2019/05/04.
+;; This file adds support for `babel.sty' version 3.88 from 2023/04/18.
;;; Code:
@@ -256,6 +256,7 @@
(TeX-arg-completing-read (LaTeX-babel-active-languages)
"Language"))
'("foreignlanguage"
+ [TeX-arg-completing-read-multiple ("date" "captions")]
(TeX-arg-completing-read (LaTeX-babel-active-languages)
"Language")
t)
@@ -364,6 +365,7 @@
(TeX-arg-completing-read (LaTeX-babel-active-languages)
"Language"))
'("otherlanguage*" LaTeX-env-args
+ [TeX-arg-completing-read-multiple ("date" "captions")]
(TeX-arg-completing-read (LaTeX-babel-active-languages)
"Language"))
'("hyphenrules" LaTeX-env-args
@@ -374,7 +376,6 @@
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))
(font-latex-add-keywords '(("selectlanguage" "{")
- ("foreignlanguage" "{{")
("babeltags" "{")
("babelensure" "{{")
("shorthandon" "{")
@@ -394,7 +395,9 @@
(font-latex-add-keywords '(("defineshorthand" "[{{")
("aliasshorthand" "{{")
("languageattribute" "{{"))
- 'variable)))
+ 'variable)
+ (font-latex-add-keywords '(("foreignlanguage" "[{{"))
+ 'textual)))
TeX-dialect)
(defvar LaTeX-babel-package-options-list
@@ -426,6 +429,9 @@
("layout" ("sectioning" "counters" "lists"
"contents" "footnotes" "captions"
"columns" "graphics" "extras"))
+ ("provide" ("*"))
+ ("provide+" ("*"))
+ ("provide*" ("*"))
("base"))
(mapcar #'list LaTeX-babel-language-list)))
"Package options for the babel package.")
- [elpa] externals/auctex 7e420cff9b 08/39: ; * style/soul.el ("soul"): Use `LaTeX-soul-auto-cleanup'., (continued)
- [elpa] externals/auctex 7e420cff9b 08/39: ; * style/soul.el ("soul"): Use `LaTeX-soul-auto-cleanup'., Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 5bfc2cb68a 11/39: Clean up ConTeXt mode, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 3b38bd625b 04/39: Fontify \sloppy and \fussy, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex e8b451297a 33/39: Improve query of optional notes for natbib cite macros, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 658340b188 32/39: Remove requiring a match during `completing-read', Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 715a88a5f2 22/39: Treat backslash in verbatim macro arguments correctly, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 5fae21f4bf 35/39: * style/algpseudocodex.el ("algpseudocodex"): Add missing macros., Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 9ab3f77d53 31/39: * style/ntheorem.el (ntheorem"): Simplify additions to the parser., Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 7cd0cdd60a 37/39: Speed up parsing, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 25bf8e13e9 24/39: ; (LaTeX-completion-documentclass-usepackage): Fix docstring., Tassilo Horn, 2023/07/20
- [elpa] externals/auctex c9ab5d58f3 19/39: Update style/babel.el to package version 3.88,
Tassilo Horn <=
- [elpa] externals/auctex 0cb158fd96 21/39: Improve fontification of verbatim macros with braces, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex e1290af3e7 25/39: Remove definition of `LaTeX-label-list' in bib-cite.el, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex c64c8a26eb 13/39: Add support for wasysym package, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 5eac6b0800 29/39: Improve query for \newtheorem macro, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 87e8cb0369 05/39: Simplify implementation of style/pythontex.el, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 55bfb2b419 27/39: ; * latex.el (TeX-arg-tb): Fix docstring., Tassilo Horn, 2023/07/20