|
39 | 39 | % \begin{macrocode}
|
40 | 40 | %<+package>\NeedsTeXFormat{LaTeX2e}[2024/06/01]
|
41 | 41 | %<+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)] |
43 | 43 | %
|
44 | 44 | % \fi
|
45 | 45 | %
|
@@ -2288,10 +2288,10 @@ Bug reports can be opened (category \texttt{#1}) at\\%
|
2288 | 2288 | % \end{macrocode}
|
2289 | 2289 | %
|
2290 | 2290 | % \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 |
2295 | 2295 | % the documentation in \cs{@mkpream}. We keep the \cs{@startpbox}
|
2296 | 2296 | % definition on top-level in case there are tabular packages that
|
2297 | 2297 | % built the preamble differently and expect that it contains
|
@@ -3296,19 +3296,19 @@ Bug reports can be opened (category \texttt{#1}) at\\%
|
3296 | 3296 | % simple length expression, but with the calc package involved it
|
3297 | 3297 | % could break under an "\edef" operation, which is how the preamble
|
3298 | 3298 | % 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 |
3300 | 3300 | % once (since it will get "\@nextchar" as its value and need its
|
3301 | 3301 | % content). However, once added to the preamble, no further
|
3302 | 3302 | % expansion should happen if the preamble is extended. Therefore we
|
3303 | 3303 | % change from \cs{@startpbox} to \cs{@startpbox@action}. The latter
|
3304 | 3304 | % then has a trivial definition and expands (including its
|
3305 | 3305 | % 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. |
3307 | 3307 | %
|
3308 | 3308 | % \changes{v2.4j}{2018/11/13}{Do not expand argument of
|
3309 | 3309 | % \cs{@startpbox} while building the tabular preamble (sx/459285)}
|
3310 | 3310 | % \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 |
3312 | 3312 | % \cs{@startpbox@action} later to do the real work (gh/1585)}
|
3313 | 3313 | % \begin{macrocode}
|
3314 | 3314 | \def\@startpbox##1{\unexpanded\expandafter{\expandafter
|
|
0 commit comments