[latex3-commits] [git/LaTeX3-latex3-latex2e] gh152: update ltnews; removed unnecessary definition in array (for #152) (91bdbeee)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Apr 22 01:19:40 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : gh152
Link       : https://github.com/latex3/latex2e/commit/91bdbeee827ebf5a538f3ed9d486906b216cdc36

>---------------------------------------------------------------

commit 91bdbeee827ebf5a538f3ed9d486906b216cdc36
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Apr 22 01:19:40 2020 +0200

    update ltnews;
    removed  unnecessary definition in array (for #152)


>---------------------------------------------------------------

91bdbeee827ebf5a538f3ed9d486906b216cdc36
 base/doc/ltnews32.tex      | 15 ++++++++-------
 required/tools/array.dtx   |  9 +++++++--
 required/tools/changes.txt |  5 +++++
 3 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/base/doc/ltnews32.tex b/base/doc/ltnews32.tex
index 02229ac1..3a8b4e39 100644
--- a/base/doc/ltnews32.tex
+++ b/base/doc/ltnews32.tex
@@ -204,13 +204,14 @@ $2^{16}$, and this limitation has now been lifted.
 \githubissue{124}
 
 
-\subsection{Support \pkg{calc} in \cs{hspace} and \cs{vspace}}
-
-The \cs{hspace} and \cs{vspace} commands simply passed their argument
-to a \TeX{} primitive to produce the necessary space. As a result it
-was impossible to specify anything other than a simple dimension value
-in the argument. This has been changed, so that now \pkg{calc} syntax
-(as in other places) is also supported with these commands.
+\subsection{Support \pkg{calc} in various kernel commands}
+
+The \cs{hspace}, \cs{vspace}, \cs{addvspace}, \cs{\textbackslash} and
+other commands simply passed their argument to a \TeX{} primitive to
+produce the necessary space. As a result it was impossible to specify
+anything other than a simple dimension value in such arguments. This
+has been changed, so that now \pkg{calc} syntax is also supported with
+these commands.
 %
 \githubissue{152}
 
diff --git a/required/tools/array.dtx b/required/tools/array.dtx
index de1d0ecf..1b5d9ab4 100644
--- a/required/tools/array.dtx
+++ b/required/tools/array.dtx
@@ -33,7 +33,7 @@
 %<+package>\DeclareCurrentRelease{}{2020-10-01}
 %<+package>
 %<+package>\ProvidesPackage{array}
-%<+package>         [2020/10/01 v2.5a Tabular extension package (FMi)]
+%<+package>         [2020/10/01 v2.5b Tabular extension package (FMi)]
 %
 % \fi
 %
@@ -2207,8 +2207,13 @@
 \let\do at row@strut\relax
 %    \end{macrocode}
 %
+%    \cs{@yargarraycr} is the same as in the \LaTex{} kernel version
+%    (depending on the date of the kernel with one of the two
+%    definitions below. We therefore do not define it again.
+% \changes{v2.5b}{200/04/22}{Don't define \cs{@yargarraycr} unnecessarily}
 %    \begin{macrocode}
-\def\@yargarraycr#1{\cr\noalign{\vskip #1}}
+%\def\@yargarraycr#1{\cr\noalign{\@vspace at calcify{#1}}}
+%\def\@yargarraycr#1{\cr\noalign{\vskip #1}}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
diff --git a/required/tools/changes.txt b/required/tools/changes.txt
index b50b4d8e..96050c40 100644
--- a/required/tools/changes.txt
+++ b/required/tools/changes.txt
@@ -5,6 +5,11 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 =======================================================================
 
+2020-04-22  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* array.dtx (section{The line separator \\):
+	Don't define \@yargarraycr unnecessarily (gh/152)
+
 2020-04-06  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* array.dtx (subsection{Implementing column types w and W}):





More information about the latex3-commits mailing list.