[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 9d8bd6b30e 06/13: Update style/ltugboat.el to cl
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 9d8bd6b30e 06/13: Update style/ltugboat.el to class version 2.28 |
Date: |
Sun, 5 Mar 2023 03:25:39 -0500 (EST) |
branch: externals/auctex
commit 9d8bd6b30e20881e72a0baf5e7b0ca979c0b1074
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Update style/ltugboat.el to class version 2.28
* style/ltugboat.el ("ltugboat"): Improve query for the optional
argument of verbatim environment.
Add support for various URL typesetting macros.
---
style/ltugboat.el | 35 +++++++++++++++++++++++++++--------
1 file changed, 27 insertions(+), 8 deletions(-)
diff --git a/style/ltugboat.el b/style/ltugboat.el
index 67d58e6378..85866df912 100644
--- a/style/ltugboat.el
+++ b/style/ltugboat.el
@@ -1,6 +1,6 @@
-;;; ltugboat.el --- AUCTeX style for `ltugboat.cls' (v2.22) -*-
lexical-binding: t; -*-
+;;; ltugboat.el --- AUCTeX style for `ltugboat.cls' (v2.28) -*-
lexical-binding: t; -*-
-;; Copyright (C) 2019--2022 Free Software Foundation, Inc.
+;; Copyright (C) 2019--2023 Free Software Foundation, Inc.
;; Author: Arash Esbati <arash@gnu.org>
;; Maintainer: auctex-devel@gnu.org
@@ -26,7 +26,7 @@
;;; Commentary:
-;; This file adds support for `ltugboat.cls' (v2.22) from 2019/11/09.
+;; This file adds support for `ltugboat.cls' (v2.28) from 2023/01/16.
;; `ltugboat.cls' is part of TeXLive.
;;; Code:
@@ -39,6 +39,8 @@
(declare-function font-latex-add-keywords
"font-latex"
(keywords class))
+(declare-function font-latex-set-syntactic-keywords
+ "font-latex")
(TeX-add-style-hook
"ltugboat"
@@ -94,9 +96,10 @@
"small" "normalsize" "large"
"Large" "LARGE" "huge"
"Huge" "makevmeta" "ruled")
- "Command(s)" nil nil
+ "Command(s) (crm): \\" t
+ ,TeX-esc
,(regexp-quote TeX-esc)
- ,TeX-esc nil nil nil nil ,TeX-esc]))
+ ,TeX-esc]))
;; 10.1 Acronyms and logos
(TeX-add-symbols
@@ -237,10 +240,20 @@
'("tubbraced" "Text")
'("nth" "Number")
- ;; 12 Bibliography
+ ;; 12 Typesetting urls
+ '("tburl" "Url")
+ '("tbsurl" "https Url")
+ '("tbhurl" "http Url")
+ '("tburlfootnote" "Url")
+
+ ;; 13 Bibliography
'("SetBibJustification"
(TeX-arg-completing-read ("\\raggedright" "\\sloppy") "Justification")))
+ ;; Add the macros to `LaTeX-verbatim-macros-with-braces-local':
+ (dolist (mac '("tburl" "tbsurl" "tbhurl" "tburlfootnote"))
+ (add-to-list 'LaTeX-verbatim-macros-with-braces-local mac t))
+
;; Fontification
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))
@@ -260,8 +273,14 @@
(font-latex-add-keywords '(("makesignature" "")
("SetBibJustification" "{"))
'function)
- (font-latex-add-keywords '(("nameref" "{"))
- 'reference)))
+ (font-latex-add-keywords '(("nameref" "{")
+ ("tburl" "")
+ ("tbsurl" "")
+ ("tbhurl" "")
+ ("tburlfootnote" ""))
+ 'reference)
+ ;; Tell font-lock about the update.
+ (font-latex-set-syntactic-keywords)))
TeX-dialect)
(defvar LaTeX-ltugboat-class-options
- [elpa] externals/auctex updated (6d4b412b69 -> 658832b8a2), Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 41397e93cb 04/13: ; Improve last change, Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 5cf1dd2ae2 01/13: Indent the active region (bug#48518, bug#28382), Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 3564d9467e 10/13: ; Fix typos, Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 992410a201 02/13: ; * style/physics.el: Fix trivial typo., Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 9d8bd6b30e 06/13: Update style/ltugboat.el to class version 2.28,
Tassilo Horn <=
- [elpa] externals/auctex fbc6399b99 09/13: Add new tests, Tassilo Horn, 2023/03/05
- [elpa] externals/auctex b77907698e 12/13: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2023/03/05
- [elpa] externals/auctex bbb4e2ae23 08/13: Fill \verb-like macros appropriately (bug#61400), Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 658832b8a2 13/13: Release GNU AUCTeX 13.1.10, Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 358cc74dda 03/13: Add new style/algpseudocodex.el, Tassilo Horn, 2023/03/05
- [elpa] externals/auctex de6aa05d74 05/13: Make `texmathp' aware of verbatim macros/environments, Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 4c77908707 11/13: Fix \includegraphics key-vals prompt in beamer documents., Tassilo Horn, 2023/03/05
- [elpa] externals/auctex 4959b9d240 07/13: * style/url.el ("url"): Add missing \DeclareUrlCommand macro., Tassilo Horn, 2023/03/05