[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 306a561ad5 03/15: Add new style/authblk.el
From: |
ELPA Syncer |
Subject: |
[elpa] externals/auctex 306a561ad5 03/15: Add new style/authblk.el |
Date: |
Fri, 19 Jul 2024 18:57:29 -0400 (EDT) |
branch: externals/auctex
commit 306a561ad5ec82140fc45598d999cebd3c5e750a
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Add new style/authblk.el
* Makefile.in (STYLESRC): Add new style.
* style/authblk.el ("authblk"): New file.
---
Makefile.in | 3 ++-
style/authblk.el | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 8605246e55..d38f7a3d9e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -199,7 +199,8 @@ STYLESRC = style/prosper.el \
style/physics.el style/soul.el style/algpseudocodex.el \
style/wasysym.el style/refcount.el style/simpleicons.el \
style/changebar.el style/amsrefs.el style/standalone.el \
- style/diagbox.el style/contract.el style/enotez.el
+ style/diagbox.el style/contract.el style/enotez.el \
+ style/authblk.el
STYLEELC = $(STYLESRC:.el=.elc)
diff --git a/style/authblk.el b/style/authblk.el
new file mode 100644
index 0000000000..9e482d2866
--- /dev/null
+++ b/style/authblk.el
@@ -0,0 +1,73 @@
+;;; authblk.el --- AUCTeX style for `authblk.sty' (v1.3) -*- lexical-binding:
t; -*-
+
+;; Copyright (C) 2024 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <arash@gnu.org>
+;; Maintainer: auctex-devel@gnu.org
+;; Created: 2024-07-05
+;; 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 `authblk.sty' (v1.3) from 2001/02/27.
+;; `authblk.sty' is part of TeXLive.
+
+;;; Code:
+
+(require 'tex)
+(require 'latex)
+
+;; Silence the compiler:
+(declare-function font-latex-add-keywords
+ "font-latex"
+ (keywords class))
+
+(TeX-add-style-hook
+ "authblk"
+ (lambda ()
+ (TeX-add-symbols
+ '("author" ["Footnote marker"] LaTeX-arg-author)
+ '("affil" ["Footnote marker"] "Affiliation")
+ '("authorcr" 0)
+ "Authfont"
+ "Affilfont"
+ "Authsep"
+ "Authand"
+ "Authands")
+
+ (LaTeX-add-counters "Maxaffil")
+ (LaTeX-add-lengths "affilsep")
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("author" "[{")
+ ("affil" "[{"))
+ 'textual)
+ (font-latex-add-keywords '("authorcr")
+ 'warning)))
+ TeX-dialect)
+
+(defvar LaTeX-authblk-package-options
+ '("blocks" "noblocks" "max2" "max3" "max4" "max5" "max6"
+ "auth-sc" "auth-sc-lg" "auth-lg" "affil-sl" "affil-it" "german")
+ "Package options for the authblk package.")
+
+;;; authblk.el ends here
- [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, 2024/07/19
- [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 <=
- [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