[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4cfd1167b148eea1a8ea1
From: |
Arash Esbati |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4cfd1167b148eea1a8ea1957c650f3e527e4e7cb |
Date: |
Sat, 12 Jan 2019 16:36:20 -0500 (EST) |
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 4cfd1167b148eea1a8ea1957c650f3e527e4e7cb (commit)
from 4fed4a7244db3e56685bd1192741c6445f2a74bc (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 4cfd1167b148eea1a8ea1957c650f3e527e4e7cb
Author: Arash Esbati <address@hidden>
Date: Sat Jan 12 22:34:57 2019 +0100
Add support for w and W column specifiers
* style/array.el ("array"): Add column specifiers w and W to
`LaTeX-array-column-letters'.
* doc/changes.texi: Mention that counting columns is supported
only if the align parameter is enclosed in braces.
diff --git a/doc/changes.texi b/doc/changes.texi
index ba38bf4..8475ced 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -50,6 +50,13 @@ In addition, the option @code{TeX-electric-escape} is now
effective in
Texinfo mode. When it is enabled, typing @kbd{@@} will invoke
@code{TeX-electric-macro} offering completion in similar style with
other TeX modes of @AUCTeX{}.
+
address@hidden
+Support for column specifiers @samp{w} and @samp{W} provided by
address@hidden package is added to @file{array.el}. The correct counting
+of columns only works when the @samp{align} parameter is enclosed in
+braces, e.g., @address@hidden@address@hidden@}}. The short version
@address@hidden@}}
+is not supported.
@end itemize
@heading News in 12.1
diff --git a/style/array.el b/style/array.el
index b841f8d..d6df2eb 100644
--- a/style/array.el
+++ b/style/array.el
@@ -1,6 +1,6 @@
;;; array.el --- AUCTeX style for `array.sty'
-;; Copyright (C) 2013, 2015, 2018 Free Software Foundation, Inc.
+;; Copyright (C) 2013, 2015, 2018, 2019 Free Software Foundation, Inc.
;; Author: Mads Jensen <address@hidden>
;; Maintainer: address@hidden
@@ -62,7 +62,7 @@ and make it buffer local. "
(TeX-delete-duplicate-strings
(split-string
(concat LaTeX-array-column-letters
- (mapconcat 'car (LaTeX-array-newcolumntype-list)
""))
+ (mapconcat #'car (LaTeX-array-newcolumntype-list)
""))
"" t))
"")))
@@ -95,7 +95,7 @@ and make it buffer local. "
;; `array.sty' adds some new column specification letters.
(set (make-local-variable 'LaTeX-array-column-letters)
- (concat LaTeX-array-column-letters "m" "b"))
+ (concat LaTeX-array-column-letters "m" "b" "w" "W"))
;; Fontification
(when (and (featurep 'font-latex)
-----------------------------------------------------------------------
Summary of changes:
doc/changes.texi | 7 +++++++
style/array.el | 6 +++---
2 files changed, 10 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4cfd1167b148eea1a8ea1957c650f3e527e4e7cb,
Arash Esbati <=