[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master dfd0380d: Update style/newfloat.el to package version 1.2
|
From: |
Arash Esbati |
|
Subject: |
master dfd0380d: Update style/newfloat.el to package version 1.2 |
|
Date: |
Thu, 2 Nov 2023 16:27:13 -0400 (EDT) |
branch: master
commit dfd0380d0f511f69b21637281ee01f6468f1c5d3
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Update style/newfloat.el to package version 1.2
* style/newfloat.el (LaTeX-newfloat-key-val-options): Add new keys
for hyperref package and memoir class.
---
style/newfloat.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/style/newfloat.el b/style/newfloat.el
index f90b6148..61285d1d 100644
--- a/style/newfloat.el
+++ b/style/newfloat.el
@@ -1,4 +1,4 @@
-;;; newfloat.el --- AUCTeX style for `newfloat.sty' (v1.1-109) -*-
lexical-binding: t; -*-
+;;; newfloat.el --- AUCTeX style for `newfloat.sty' (v1.2) -*-
lexical-binding: t; -*-
;; Copyright (C) 2015--2023 Free Software Foundation, Inc.
@@ -26,7 +26,7 @@
;;; Commentary:
-;; This file adds support for `newfloat.sty' (v1.1-109) from 2015/09/17.
+;; This file adds support for `newfloat.sty' (v1.2) from 2023/10/01.
;; `newfloat.sty' is part of TeXLive.
;; This style has some facilities to process the newly defined
@@ -77,6 +77,10 @@
(if (< (LaTeX-largest-level) 2)
'(("within" ("chapter" "section" "none")))
'(("within" ("section" "none"))))
+ (when (member "hyperref" (TeX-style-list))
+ '(("autorefname")))
+ (when (member "memoir" TeX-active-styles)
+ '(("legendname")))
LaTeX-newfloat-key-val-options))
;; Setup parsing for \DeclareFloatingEnvironment:
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- master dfd0380d: Update style/newfloat.el to package version 1.2,
Arash Esbati <=