emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex dfd0380d0f 07/30: Update style/newfloat.el to pa


From: Tassilo Horn
Subject: [elpa] externals/auctex dfd0380d0f 07/30: Update style/newfloat.el to package version 1.2
Date: Thu, 7 Dec 2023 03:51:07 -0500 (EST)

branch: externals/auctex
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 f90b614842..61285d1d95 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:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]