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. 8610189a5f64de18c17ba


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 8610189a5f64de18c17ba3a372614879ca087e77
Date: Thu, 15 Aug 2019 15:20:30 -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  8610189a5f64de18c17ba3a372614879ca087e77 (commit)
      from  b7083eeaca861322c3b5daa1400e2067bda033fb (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 8610189a5f64de18c17ba3a372614879ca087e77
Author: Arash Esbati <address@hidden>
Date:   Thu Aug 15 21:19:40 2019 +0200

    Update style/paracol.el to package version 1.35
    
    * style/paracol.el: Add macro \definecolumnpreamble and the length
    \belowfootnoteskip.

diff --git a/style/paracol.el b/style/paracol.el
index 308ac46..3eef88a 100644
--- a/style/paracol.el
+++ b/style/paracol.el
@@ -1,6 +1,6 @@
-;;; paracol.el --- AUCTeX style for `paracol.sty' (v1.32)
+;;; paracol.el --- AUCTeX style for `paracol.sty' (v1.35)
 
-;; Copyright (C) 2016, 2018 Free Software Foundation, Inc.
+;; Copyright (C) 2016--2019 Free Software Foundation, Inc.
 
 ;; Author: Arash Esbati <address@hidden>
 ;; Maintainer: address@hidden
@@ -26,7 +26,7 @@
 
 ;;; Commentary:
 
-;; This file adds support for `paracol.sty' (v1.32) from 2015/10/10.
+;; This file adds support for `paracol.sty' (v1.35) from 2018/12/31.
 ;; `paracol.sty' is part of TeXLive.
 
 ;; `paracol.sty' provides an environment (paracol) and a command
@@ -118,6 +118,7 @@ If OPTIONAL is non-nil, insert the result in square 
brackets."
     '("switchcolumn" [ "Column" ] )
     '("switchcolumn*" [ TeX-arg-paracol-switchcolumn* ] )
     '("thecolumn")
+    '("definecolumnpreamble" "Column" t)
     '("ensurevspace" TeX-arg-length)
 
     ;; 7.3 Commands for Column and Gap Width
@@ -181,7 +182,7 @@ If OPTIONAL is non-nil, insert the result in square 
brackets."
     ;; the command only here but not for fontification
     '("columncolor" (TeX-arg-conditional (member "xcolor" (TeX-style-list))
                                         (TeX-arg-xcolor)
-                                      (TeX-arg-color))
+                                        (TeX-arg-color))
       [ "Column" ] )
 
     ;; \normalcolumncolor[col]
@@ -193,7 +194,7 @@ If OPTIONAL is non-nil, insert the result in square 
brackets."
     ;; \normalcolseprulecolor[col]
     '("colseprulecolor" (TeX-arg-conditional (member "xcolor" (TeX-style-list))
                                             (TeX-arg-xcolor)
-                                          (TeX-arg-color))
+                                            (TeX-arg-color))
       [ "Column" ] )
     '("normalcolseprulecolor" [ "Column" ] )
 
@@ -208,7 +209,7 @@ If OPTIONAL is non-nil, insert the result in square 
brackets."
                      "C" "G" "S" "F" "N" "P" "T" "B" "L" "R"))
       (TeX-arg-conditional (member "xcolor" (TeX-style-list))
                           (TeX-arg-xcolor)
-                        (TeX-arg-color)))
+                          (TeX-arg-color)))
 
     ;; \nobackgroundcolor{region}
     '("nobackgroundcolor"
@@ -228,20 +229,25 @@ If OPTIONAL is non-nil, insert the result in square 
brackets."
                    '("toc" "lof" "lot"))
       "Column")
 
+    ;; 7.10 Page Flushing Commands
     '("flushpage" 0))
 
-   ; \switchcolumn should get its own line:
+   ;; \belowfootnoteskip is a length:
+   (LaTeX-add-lengths "belowfootnoteskip")
+
+   ;; \switchcolumn should get its own line:
    (LaTeX-paragraph-commands-add-locally "switchcolumn")
 
    ;; Fontification
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
-                             ;; FIXME: Syntax is \switchcolumn[num]*[text].
+     (font-latex-add-keywords '(("switchcolumn"                        "*["))
+                             ;; FIXME: Syntax is
+                             ;; \switchcolumn[num]*[text].
                              ;; font-latex.el doesn't handle the case
                              ;; where `*' comes after the first `['.
                              ;; Therefore, we use this compromise to
                              ;; get something fontified at least.
-     (font-latex-add-keywords '(("switchcolumn"                        "*["))
                              'textual)
      (font-latex-add-keywords '(("flushpage"                   "*["))
                              'warning)
@@ -249,7 +255,8 @@ If OPTIONAL is non-nil, insert the result in square 
brackets."
                                ("footnotemark"                 "*[")
                                ("footnotetext"                 "*[{"))
                              'reference)
-     (font-latex-add-keywords '(("ensurevspace"                        "{")
+     (font-latex-add-keywords '(("definecolumnpreamble"         "{{")
+                               ("ensurevspace"                 "{")
                                ("columnratio"                  "{[")
                                ("setcolumnwidth"               "{[")
                                ("twosided"                     "[")

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

Summary of changes:
 style/paracol.el | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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