auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3542a23e61592b882eacd


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3542a23e61592b882eacd75594eb5b8ee0f33286
Date: Wed, 18 Sep 2019 16:19:23 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  3542a23e61592b882eacd75594eb5b8ee0f33286 (commit)
      from  9127647b84d06d2e2c83fc9f0274f15480a6a454 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3542a23e61592b882eacd75594eb5b8ee0f33286
Author: Arash Esbati <address@hidden>
Date:   Wed Sep 18 22:18:22 2019 +0200

    Update style/subcaption.el to package version 1.3
    
    * style/subcaption.el ("subcaption"): Add support for \subfloat
    macro.

diff --git a/style/subcaption.el b/style/subcaption.el
index 8bffa8a..1914a14 100644
--- a/style/subcaption.el
+++ b/style/subcaption.el
@@ -1,6 +1,6 @@
-;;; subcaption.el --- AUCTeX style for `subcaption.sty' (v1.1-100)
+;;; subcaption.el --- AUCTeX style for `subcaption.sty' (v1.3)
 
-;; Copyright (C) 2015--2018 Free Software Foundation, Inc.
+;; Copyright (C) 2015--2019 Free Software Foundation, Inc.
 
 ;; Author: Arash Esbati <address@hidden>
 ;; Maintainer: address@hidden
@@ -26,8 +26,8 @@
 
 ;;; Commentary:
 
-;; This file adds support for `subcaption.sty' (v1.1-100) from
-;; 2015-09-15.  `subcaption.sty' is part of TeXLive.
+;; This file adds support for `subcaption.sty' (v1.3) from 2019-08-31.
+;; `subcaption.sty' is part of TeXLive.
 
 ;;; Code:
 
@@ -130,7 +130,8 @@ caption, insert only a caption."
     ;; check if hyperref.el is loaded and make it available directly.
     '("subref*"        TeX-arg-ref)
     '("phantomcaption"    0)
-    '("phantomsubcaption" 0))
+    '("phantomsubcaption" 0)
+    '("subfloat" [ "List entry" ] [ "Sub-caption" ] t))
 
    ;; The next 2 macros are part of the kernel of caption.sty, but we
    ;; load them within subcaption.el.
@@ -151,8 +152,9 @@ caption, insert only a caption."
                    (TeX-argument-prompt nil nil "Type")
                    '("figure" "table"))))
 
-   ;; \subcaption(box)? macros should get their own lines
-   (LaTeX-paragraph-commands-add-locally '("subcaption" "subcaptionbox"))
+   ;; \subcaption(box)? and \subfloat macros should get their own lines
+   (LaTeX-paragraph-commands-add-locally
+    '("subcaption" "subcaptionbox" "subfloat"))
 
    ;; The subfigure & subtable environments
    (LaTeX-add-environments
@@ -175,7 +177,8 @@ caption, insert only a caption."
      (font-latex-add-keywords '(("subcaption"            "*[{")
                                ("subcaptionbox"         "*[{[[")
                                ("phantomcaption"        "")
-                               ("phantomsubcaption"     ""))
+                               ("phantomsubcaption"     "")
+                               ("subfloat"              "[["))
                              'textual)
      (font-latex-add-keywords '(("subref"                "*{"))
                              'reference)

-----------------------------------------------------------------------

Summary of changes:
 style/subcaption.el | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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