[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
main ed65dba0 2/2: Add new style/enumerate.el
From: |
Arash Esbati |
Subject: |
main ed65dba0 2/2: Add new style/enumerate.el |
Date: |
Mon, 13 Jan 2025 15:35:07 -0500 (EST) |
branch: main
commit ed65dba0b3f1b1950fa81dd90c071f9ce68ba476
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Add new style/enumerate.el
* NEWS.org (Added): Announce new style.
* style/enumerate.el: New file.
---
NEWS.org | 2 +-
style/enumerate.el | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/NEWS.org b/NEWS.org
index 509a390f..cd545a3c 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -11,7 +11,7 @@
** Added
-- Add new support file =style/elsarticle.el=.
+- Add new support files =style/elsarticle.el= and =style/enumerate.el=.
* [14.0.8] - 2024-12-11
diff --git a/style/enumerate.el b/style/enumerate.el
new file mode 100644
index 00000000..16e21ad4
--- /dev/null
+++ b/style/enumerate.el
@@ -0,0 +1,45 @@
+;;; enumerate.el - AUCTeX style for `enumerate.sty' (v3.00) -*-
lexical-binding: t; -*-
+
+;; Copyright (C) 2025 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <arash@gnu.org>
+;; Maintainer: auctex-devel@gnu.org
+;; Created: 2025-01-13
+;; Keywords: tex
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by the
+;; Free Software Foundation; either version 3, or (at your option) any
+;; later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; This file adds support for `enumerate.sty' (v3.00) from 2023-07-04.
+;; `enumerate.sty' is part of TeXLive.
+
+;;; Code:
+
+(require 'tex)
+(require 'latex)
+
+(TeX-add-style-hook
+ "enumerate"
+ (lambda ()
+ (LaTeX-add-environments
+ '("enumerate" LaTeX-env-item-args ["Counter style"])))
+ TeX-dialect)
+
+(defvar LaTeX-enumerate-package-options nil
+ "Package options for the enumerate package.")
+
+;;; enumerate.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- main ed65dba0 2/2: Add new style/enumerate.el,
Arash Esbati <=