[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 63087fc4bf 06/15: * style/longtable.el ("longtab
From: |
ELPA Syncer |
Subject: |
[elpa] externals/auctex 63087fc4bf 06/15: * style/longtable.el ("longtable"): Support \LTcaptype macro. |
Date: |
Fri, 19 Jul 2024 18:57:29 -0400 (EDT) |
branch: externals/auctex
commit 63087fc4bfd6b24d85077d0b5be2b150e5a37ca9
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
* style/longtable.el ("longtable"): Support \LTcaptype macro.
---
style/longtable.el | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/style/longtable.el b/style/longtable.el
index 55384bca4c..67bab1b16b 100644
--- a/style/longtable.el
+++ b/style/longtable.el
@@ -1,6 +1,6 @@
;;; longtable.el --- AUCTeX style for `longtable.sty'. -*- lexical-binding:
t; -*-
-;; Copyright (C) 2013--2022 Free Software Foundation, Inc.
+;; Copyright (C) 2013--2024 Free Software Foundation, Inc.
;; Maintainer: auctex-devel@gnu.org
;; Author: Mosè Giordano <mose@gnu.org>
@@ -117,6 +117,12 @@ insert line break macro."
;; Caption commands
'("caption*" 1))
+ ;; longtable.sty v4.21 provides the macro \LTcaptype (from
+ ;; ltcaption.sty) as well. So check here if ltcaption.el is not
+ ;; loaded before adding the entry as well:
+ (unless (member "ltcaption" (TeX-style-list))
+ (TeX-add-symbols "LTcaptype"))
+
;; These parameters are set with \setlength
(LaTeX-add-lengths
"LTleft" "LTright" "LTpre" "LTpost" "LTcapwidth")
@@ -125,12 +131,13 @@ insert line break macro."
(LaTeX-add-counters "LTchunksize")
;; Use the enhanced table formatting. Append to
- ;; `LaTeX-indent-environment-list' in order not to override custom settings.
+ ;; `LaTeX-indent-environment-list' in order not to override custom
+ ;; settings.
(add-to-list (make-local-variable 'LaTeX-indent-environment-list)
'("longtable" LaTeX-indent-tabular) t)
- ;; Append longtable to `LaTeX-label-alist', in order not to override
possible
- ;; custome values.
+ ;; Append longtable to `LaTeX-label-alist', in order not to override
+ ;; possible custome values.
(add-to-list 'LaTeX-label-alist '("longtable" . LaTeX-table-label) t)
;; Append longtable to `LaTeX-item-list' with `LaTeX-item-longtable'
@@ -139,9 +146,9 @@ insert line break macro."
;; Fontification
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))
- ;; Actually, `\caption*{}' macro takes only one mandatory
- ;; argument, not an optional one, the following is a workaround
- ;; to fontify correctly also the standard `\caption[]{}' macro.
+ ;; Actually, `\caption*{}' macro takes only one mandatory argument,
+ ;; not an optional one, the following is a workaround to fontify
+ ;; correctly also the standard `\caption[]{}' macro.
(font-latex-add-keywords '(("caption" "*[{"))
'textual)))
TeX-dialect)
- [elpa] externals/auctex updated (3091f2ca61 -> 84e959333b), ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 34818c0307 10/15: Simplify entering of captions in optional argument, ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 70422fe0c7 12/15: * style/tabularray.el ("tabularray"): Load ninecolors.el., ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 9bc5d19aa5 13/15: ; * NEWS.org: Update the file., ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 84e959333b 15/15: Merge remote-tracking branch 'origin/master', ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 63087fc4bf 06/15: * style/longtable.el ("longtable"): Support \LTcaptype macro.,
ELPA Syncer <=
- [elpa] externals/auctex 922545e8af 14/15: Update style/simpleicons.el to package v13.1.0, ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 7fcab23c4b 04/15: Update style/simpleicons.el to package v13.0.0, ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 08e7f159e8 02/15: Improve fontification of arguments, ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 306a561ad5 03/15: Add new style/authblk.el, ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 01e3e22c7c 08/15: ; * doc/changes.texi: Wrap nil in @code and refill paragraphs., ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 7fca4a2016 01/15: Update style/acro.el to package v3.8, ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 10c8f782f8 07/15: Keep compatibility with Org mode src editing (bug#71363), ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 89fa93c4f9 05/15: ; * latex.el (TeX-arg-ref): Fix docstring., ELPA Syncer, 2024/07/19
- [elpa] externals/auctex ba84a2dbd1 09/15: Add new style/tabularray.el, ELPA Syncer, 2024/07/19
- [elpa] externals/auctex 71d25de1c6 11/15: Add new style/ninecolors.el, ELPA Syncer, 2024/07/19