[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 130010b 09/23: Add new style/extramarks.el
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 130010b 09/23: Add new style/extramarks.el |
Date: |
Sat, 23 Jan 2021 04:10:07 -0500 (EST) |
branch: externals/auctex
commit 130010b12f0090efe7e172c56fb53f42dea05c02
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Add new style/extramarks.el
* Makefile.in (STYLESRC): Add new style.
* style/extramarks.el: New file.
---
Makefile.in | 4 +--
style/extramarks.el | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index e83c74c..9afc328 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,7 +2,7 @@
# Maintainer: auctex-devel@gnu.org
-# Copyright (C) 2003-2008, 2010, 2013-2015, 2018-2019 Free Software
+# Copyright (C) 2003-2008, 2010, 2013-2015, 2018-2021 Free Software
# Foundation, Inc.
# This file is part of AUCTeX.
@@ -173,7 +173,7 @@ STYLESRC = style/prosper.el \
style/multitoc.el style/fbox.el style/xkcdcolors.el \
style/ltxguide.el style/revtex4-2.el style/overpic.el \
style/tex-live.el style/algorithm.el style/algpseudocode.el \
- style/appendix.el style/scholax.el
+ style/appendix.el style/scholax.el style/extramarks.el
STYLEELC = $(STYLESRC:.el=.elc)
diff --git a/style/extramarks.el b/style/extramarks.el
new file mode 100644
index 0000000..b227307
--- /dev/null
+++ b/style/extramarks.el
@@ -0,0 +1,72 @@
+;;; extramarks.el --- AUCTeX style for `extramarks.sty' (v4.0) -*-
lexical-binding: t; -*-
+
+;; Copyright (C) 2021 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <arash@gnu.org>
+;; Maintainer: auctex-devel@gnu.org
+;; Created: 2021-01-12
+;; 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 AUCTeX; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Commentary:
+
+;; This file adds support for `extramarks.sty' (v4.0) from 2021/01/04.
+;; `extramarks.sty' is part of TeXLive.
+
+;;; Code:
+
+(require 'tex)
+
+;; Silence the compiler:
+(declare-function font-latex-add-keywords
+ "font-latex"
+ (keywords class))
+
+(TeX-add-style-hook
+ "extramarks"
+ (lambda ()
+
+ ;; New symbols
+ (TeX-add-symbols
+ "firstleftmark"
+ "lastrightmark"
+ "firstrightmark"
+ "lastleftmark"
+ "firstleftxmark"
+ "firstrightxmark"
+ "topleftxmark"
+ "toprightxmark"
+ "lastleftxmark"
+ "lastrightxmark"
+ "firstxmark"
+ "lastxmark"
+ "topxmark"
+ '("extramarks" 2))
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("extramarks" "{{"))
+ 'function)))
+ TeX-dialect)
+
+(defvar LaTeX-extramarks-package-options nil
+ "Package options for the extramarks package.")
+
+;;; extramarks.el ends here
- [elpa] externals/auctex updated (4473c1f -> 7b07019), Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 83d68ae 02/23: Add use-package recipe to installation info docs, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex eba6bab 03/23: Fix docstring too wide warnings, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex b465e38 04/23: Fix mistake in use-package recipe, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex b326502 05/23: Don't use `add-to-list' on lexical vars, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 3baaff2 08/23: Update style/fancyhdr.el to package version 4.0, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 130010b 09/23: Add new style/extramarks.el,
Tassilo Horn <=
- [elpa] externals/auctex 8e012b3 06/23: Fix off-by-one behavior of preview-latex (bug#39927), Tassilo Horn, 2021/01/23
- [elpa] externals/auctex db98d06 11/23: ; * style/fancyhdr.el: Fix package year., Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 46c356b 18/23: Update style/multirow.el to package version 2.6, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 3f38eb2 07/23: Support page(box) options for dvipdfmx in graphicx.el, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex a1569ca 12/23: Fix use-package recipe in install docs (once again), Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 74f5675 01/23: Adapt preview.el.in for `TeX-translate-location-hook', Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 2c5c2e1 10/23: Add support for some missing kernel macros, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex ba0b1af 21/23: Prevent inadvertent destruction of list variable, Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 18af0a5 13/23: * style/extramarks.el ("extramarks"): Use reference keyword class., Tassilo Horn, 2021/01/23
- [elpa] externals/auctex 8aa5381 14/23: Delete kernel commands from styles, Tassilo Horn, 2021/01/23