Skip to content

Commit 103347b

Browse files
late review by Chris
1 parent 7267000 commit 103347b

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

base/doc/ltnews41.tex

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% \iffalse meta-comment
22
%
3-
% Copyright 2024
3+
% Copyright 2024-2025
44
% The LaTeX Project and any individual authors listed elsewhere
55
% in this file.
66
%
@@ -411,6 +411,7 @@ \subsection{Prevent \texttt{cmd} hook from defining an undefined command}
411411
\section{Changes to packages in the \pkg{graphics} category}
412412

413413
\subsection{More accessibility keys in \pkg{graphicx}}
414+
414415
The \cs{includegraphics} command now accepts \verb|actualtext| and
415416
\verb|artifact| keys, which by default do nothing but are used by the
416417
tagging code to provide an ActualText string and a boolean flag that the
@@ -437,16 +438,16 @@ \subsection{\pkg{multicol}:\ Full support for extended marks}
437438
\subsection{\pkg{array}:\ Improve preamble setup code for \texttt{p} and friends}
438439

439440
While the preamble of a \env{tabular} or \env{array} is being built
440-
the arguments to \texttt{p}, \texttt{m}, or \texttt{b} columns were
441-
expanded several times. That is normally harmless because that
441+
the arguments to \texttt{p}, \texttt{m}, or \texttt{b} columns
442+
expanded several times. This is normally harmless because that
442443
argument contains usually just a dimension. However, in a case like
443444
\verb=p{\fpeval{15}pt}= this resulted in an error, because \cs{fpeval}
444445
was expanded a few times, but not often enough to result in a single
445446
number. This has now been corrected and the argument is not expanded
446447
at all to allow for such edge cases as well as the extension available
447448
with the \pkg{calc} package, such as \verb=p{\widthof{AAAAAA}}= (the
448449
latter was possible before but needed to be taken into account while
449-
the correction was implemented.
450+
the correction was implemented).
450451
%
451452
\githubissue{1585}
452453

required/tools/array.dtx

+8-8
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
% \begin{macrocode}
4040
%<+package>\NeedsTeXFormat{LaTeX2e}[2024/06/01]
4141
%<+package>\ProvidesPackage{array}
42-
%<+package> [2024/12/20 v2.6h Tabular extension package (FMi)]
42+
%<+package> [2025/01/03 v2.6h Tabular extension package (FMi)]
4343
%
4444
% \fi
4545
%
@@ -2288,10 +2288,10 @@ Bug reports can be opened (category \texttt{#1}) at\\%
22882288
% \end{macrocode}
22892289
%
22902290
% \changes{v2.6h}{2024/12/17}{New \cs{@startpbox@action} to do the real work
2291-
% after preamble was built (gh/1585)}
2292-
% Starting with 2.6h \cs{@startpbox} is only used during the
2293-
% built-up of the preamble changing there to \cs{@startpbox@action}
2294-
% To do the real work. For an explanation of this code see
2291+
% after the preamble is built (gh/1585)}
2292+
% Starting with 2.6h, \cs{@startpbox} is used only during the
2293+
% built-up of the preamble and then changed to \cs{@startpbox@action}
2294+
% which does the real work. For an explanation of this code see
22952295
% the documentation in \cs{@mkpream}. We keep the \cs{@startpbox}
22962296
% definition on top-level in case there are tabular packages that
22972297
% built the preamble differently and expect that it contains
@@ -3296,19 +3296,19 @@ Bug reports can be opened (category \texttt{#1}) at\\%
32963296
% simple length expression, but with the calc package involved it
32973297
% could break under an "\edef" operation, which is how the preamble
32983298
% is constructed. We now make use of "\unexpanded" here to prevent that. The
3299-
% "\expandafter" gymnastics is necessary to expand the "#1" exactly
3299+
% "\expandafter" gymnastics are necessary to expand the "#1" exactly
33003300
% once (since it will get "\@nextchar" as its value and need its
33013301
% content). However, once added to the preamble, no further
33023302
% expansion should happen if the preamble is extended. Therefore we
33033303
% change from \cs{@startpbox} to \cs{@startpbox@action}. The latter
33043304
% then has a trivial definition and expands (including its
33053305
% argument) to itself while the preamble is being built. Outside of this
3306-
% preamble built-up \cs{@startpbox@action} then does the actual work.
3306+
% preamble build up \cs{@startpbox@action} does the actual work.
33073307
%
33083308
% \changes{v2.4j}{2018/11/13}{Do not expand argument of
33093309
% \cs{@startpbox} while building the tabular preamble (sx/459285)}
33103310
% \changes{v2.6h}{2024/12/17}{Expand argument of \cs{@startpbox}
3311-
% exactly once while the preamble is built and use
3311+
% exactly once while the preamble is being built, and use
33123312
% \cs{@startpbox@action} later to do the real work (gh/1585)}
33133313
% \begin{macrocode}
33143314
\def\@startpbox##1{\unexpanded\expandafter{\expandafter

0 commit comments

Comments
 (0)