[latex3-commits] [git/LaTeX3-latex3-latex2e] master: updates to the docu, one additional test for sx459285 (d0d9e9a)
Frank Mittelbach
frank.mittelbach at latex-project.org
Wed Nov 14 15:17:19 CET 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/d0d9e9a7234bb39145ca9608277f51a351de361e
>---------------------------------------------------------------
commit d0d9e9a7234bb39145ca9608277f51a351de361e
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Nov 14 15:17:19 2018 +0100
updates to the docu, one additional test for sx459285
>---------------------------------------------------------------
d0d9e9a7234bb39145ca9608277f51a351de361e
doc/ltnews29.tex | 11 +++++++++++
required/tools/array.dtx | 10 +++++-----
.../tools/testfiles/{sx459285.lvt => sx459285-base.lvt} | 4 +++-
.../tools/testfiles/{sx459285.tlg => sx459285-base.tlg} | 2 +-
4 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/doc/ltnews29.tex b/doc/ltnews29.tex
index 1794dbb..9d449fd 100644
--- a/doc/ltnews29.tex
+++ b/doc/ltnews29.tex
@@ -382,6 +382,17 @@ out'' into the surrounding text.
%
\githubissue{72}
+\subsection{Support fragile commands in \texttt{array} or \texttt{tabular} column templates}
+
+The preamble specifiers \texttt{p}, \texttt{m} and \texttt{b} receives
+a user supplied argument: the width of the paragraph column. Normally
+that is something harmless, like a length or a simple length
+expression. But in more complicated settings involving the \pkg{calc}
+package it could break with a low-level error message. This has now
+been corrected.
+%
+\sxissue{https://tex.stackexchange.com/q/459285}
+
\section{Changes to packages in the amsmath category}
diff --git a/required/tools/array.dtx b/required/tools/array.dtx
index aa3f001..ec59746 100644
--- a/required/tools/array.dtx
+++ b/required/tools/array.dtx
@@ -2719,12 +2719,12 @@
%
% \changes{v2.4j}{2018/11/13}{Do not expand argument of
% \cs{@startpbox} while building the tabular preamble (sx/459285)}
-% The "\@startpbox" (which is called for "p", "t" or "b" columns)
+% The "\@startpbox" (which is called for "p", "m" or "b" columns)
% receives a user supplied argument: the width of the
-% p-column. Normally that is something harmless like a length or a
-% simpl length expression, but with the calc package envolved it
-% could break under an "\edef" operation, wich is how the preamble
-% is build. We make used of "\unexpanded" here to prevent that. The
+% paragraph-column. Normally that is something harmless like a length or a
+% simple length expression, but with the calc package involved it
+% could break under an "\edef" operation, which is how the preamble
+% is constructed. We now make use of "\unexpanded" here to prevent that. The
% "\expandafter" gymnastics is necessary to expand the "#1" at least
% once (since it will get "\@nextchar" as its value and need its
% content!
diff --git a/required/tools/testfiles/sx459285.lvt b/required/tools/testfiles/sx459285-base.lvt
similarity index 81%
copy from required/tools/testfiles/sx459285.lvt
copy to required/tools/testfiles/sx459285-base.lvt
index 1292e1c..f239cda 100644
--- a/required/tools/testfiles/sx459285.lvt
+++ b/required/tools/testfiles/sx459285-base.lvt
@@ -1,12 +1,14 @@
% Test file for https://tex.stackexchange.com/questions/459285/is-there-an-incompatibility-between-the-packages-calc-and-siunitx-genericerro/459294#459294
%
% this was producing errors and shouldn't
+%
+% this is the version using the core array not the package (where it works already)
\input{test2e}
\documentclass[11pt]{article}
-\usepackage{calc,array}
+\usepackage{calc}
\begin{document}
\START
diff --git a/required/tools/testfiles/sx459285.tlg b/required/tools/testfiles/sx459285-base.tlg
similarity index 94%
copy from required/tools/testfiles/sx459285.tlg
copy to required/tools/testfiles/sx459285-base.tlg
index a1d101b..81126ef 100644
--- a/required/tools/testfiles/sx459285.tlg
+++ b/required/tools/testfiles/sx459285-base.tlg
@@ -7,4 +7,4 @@ LaTeX Font Info: External font `cmex10' loaded for size
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line ....
[1
-] (sx459285.aux)
+] (sx459285-base.aux)
More information about the latex3-commits
mailing list