[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex c196c69207 09/30: Update style/minted to package
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex c196c69207 09/30: Update style/minted to package version 2.8 |
Date: |
Thu, 7 Dec 2023 03:51:07 -0500 (EST) |
branch: externals/auctex
commit c196c69207a1ecf89ca83cf389c5b1ae561c832f
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Update style/minted to package version 2.8
* style/minted.el (LaTeX-minted-key-val-options): Rename keys.
(LaTeX-minted-package-options-list): New function returning
key=vals.
(LaTeX-minted-package-options): Use the new function.
---
style/minted.el | 38 +++++++++++++++++++++++++++-----------
1 file changed, 27 insertions(+), 11 deletions(-)
diff --git a/style/minted.el b/style/minted.el
index 99310311b3..61c0defb1b 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -1,4 +1,4 @@
-;;; minted.el --- AUCTeX style for `minted.sty' (v2.5) -*- lexical-binding:
t; -*-
+;;; minted.el --- AUCTeX style for `minted.sty' (v2.8) -*- lexical-binding:
t; -*-
;; Copyright (C) 2014--2023 Free Software Foundation, Inc.
@@ -26,7 +26,7 @@
;;; Commentary:
-;; This file adds support for `minted.sty' (v2.5) from 2017/07/19.
+;; This file adds support for `minted.sty' (v2.8) from 2023/09/12.
;;; Code:
@@ -53,7 +53,7 @@
("baselinestretch" ("auto"))
("beameroverlays" ("true" "false"))
("breakafter")
- ("breakaftergroup" ("true" "false"))
+ ("breakafterinrun" ("true" "false"))
("breakaftersymbolpre")
("breakaftersymbolpost")
("breakanywhere" ("true" "false"))
@@ -61,7 +61,7 @@
("breakanywheresymbolpost")
("breakautoindent" ("true" "false"))
("breakbefore")
- ("breakbeforegroup" ("true" "false"))
+ ("breakbeforeinrun" ("true" "false"))
("breakbeforesymbolpre")
("breakbeforesymbolpost")
("breakbytoken" ("true" "false"))
@@ -453,12 +453,28 @@ a list of strings."
(font-latex-set-syntactic-keywords)))
TeX-dialect)
-(defvar LaTeX-minted-package-options '("chapter" "cache"
- "cachedir" "finalizecache"
- "frozencache" "draft"
- "final" "kpsewhich"
- "langlinenos" "newfloat"
- "outputdir" "section")
- "Package options for the minted package.")
+(defun LaTeX-minted-package-options-list ()
+ "Return an alist of package options for minted package."
+ (append
+ `(("fontencoding"
+ ,(when (member "fontenc" (TeX-style-list))
+ LaTeX-fontenc-package-options)))
+ '(("chapter")
+ ("cache" ("true" "false"))
+ ("cachedir")
+ ("finalizecache" ("true" "false"))
+ ("frozencache" ("true" "false"))
+ ("draft" ("true" "false"))
+ ("final" ("true" "false"))
+ ("inputlanglinenos" ("true" "false"))
+ ("kpsewhich" ("true" "false"))
+ ("langlinenos" ("true" "false"))
+ ("newfloat" ("true" "false"))
+ ("outputdir")
+ ("section"))))
+
+(defun LaTeX-minted-package-options ()
+ "Prompt for package options for the minted package."
+ (TeX-read-key-val t (LaTeX-minted-package-options-list)))
;;; minted.el ends here
- [elpa] externals/auctex updated (bc75884db3 -> 24023ba246), Tassilo Horn, 2023/12/07
- [elpa] externals/auctex ebe0ef11d1 06/30: ; Revert "; * latex.el (LaTeX-completion-parse-args): Use `cl-flet'.", Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 2a959a1d43 13/30: Fix regexp, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 05d28dfe06 12/30: Improve check for verbatim content, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 8ae405b919 14/30: Save regexp groups, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex acacdc09a6 25/30: ; * tex.el (TeX-brace-count-line): Fix check order., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex b94c773c5d 19/30: ; Delete remainder, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 1792a41446 29/30: Move support for xparse macros into core, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex da07a5dcb2 01/30: Fix Texinfo mode with respect to interaction with RefTeX, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex a82eb1690a 10/30: Restore point in `LaTeX-verbatim-p', Tassilo Horn, 2023/12/07
- [elpa] externals/auctex c196c69207 09/30: Update style/minted to package version 2.8,
Tassilo Horn <=
- [elpa] externals/auctex 46f49aad81 02/30: Fix previous commit, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex f3bbff59ed 08/30: ; * style/fvextra.el ("fvextra"): Add missing macro., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 3f7742f95b 18/30: Process lambda expressions correctly, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex ed2f62ef80 21/30: * style/splitidx.el ("splitidx"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 8282b83210 04/30: ; Mention bumping Emacs version for ELPA, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 5d0f020b81 28/30: Add support for the refcount package, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 217b46b2cf 03/30: Allow `preview-scale-function' as a file-local variable, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex ecc0059120 05/30: ; * admin/release-process.org: Fix typos, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex a5599695b0 15/30: Save regexp groups, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 26d64689d3 22/30: * style/titleps.el ("titleps"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07