[latex3-commits] [latex3/latex2e] array: more suggestions (5d382cf4)
github at latex-project.org
github at latex-project.org
Sun Dec 17 17:07:57 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : array
Link : https://github.com/latex3/latex2e/commit/5d382cf47be054ad7c5a7cd2e6f32e70c6048695
>---------------------------------------------------------------
commit 5d382cf47be054ad7c5a7cd2e6f32e70c6048695
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun Dec 17 17:07:57 2023 +0100
more suggestions
>---------------------------------------------------------------
5d382cf47be054ad7c5a7cd2e6f32e70c6048695
base/lttagging.dtx | 8 ++++----
required/tools/array.dtx | 5 ++---
required/tools/longtable.dtx | 10 +++++-----
3 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/base/lttagging.dtx b/base/lttagging.dtx
index e6ee7d3a..ca7c553d 100644
--- a/base/lttagging.dtx
+++ b/base/lttagging.dtx
@@ -648,20 +648,20 @@
%
%
%
-% \begin{macro}{\tbl_init_row_count:,\tbl_incr_row_count:,\tbl_decr_row_count:}
+% \begin{macro}{\tbl_gzero_row_count:,\tbl_gincr_row_count:,\tbl_gdecr_row_count:}
% This here is basically a temporary interface. What it will be in
% the end depends on what we decide concerning exposing row and
% column counters, if they stay internal we need something like
% this here (perhaps using \texttt{gincr} etc, or perhaps some
% other names in the first place).
% \begin{macrocode}
-\cs_new_protected:Npn \tbl_init_row_count: {
+\cs_new_protected:Npn \tbl_gzero_row_count: {
\int_gzero:N \g_@@_row_int
}
-\cs_new_protected:Npn \tbl_incr_row_count: {
+\cs_new_protected:Npn \tbl_gincr_row_count: {
\int_gincr:N \g_@@_row_int
}
-\cs_new_protected:Npn \tbl_decr_row_count: {
+\cs_new_protected:Npn \tbl_gdecr_row_count: {
\int_gdecr:N \g_@@_row_int
}
% \end{macrocode}
diff --git a/required/tools/array.dtx b/required/tools/array.dtx
index fc1492fd..f4f2f09a 100644
--- a/required/tools/array.dtx
+++ b/required/tools/array.dtx
@@ -2311,14 +2311,13 @@ Bug reports can be opened (category \texttt{#1}) at\\%
% around every column in the \textsf{array}--environment
% the parameter =\mathsurround= should
% also be set to \textsf{0pt}. This prevents additional space between
-% the rows. The
-% \PlainTeX--macro =\m at th= does this.
+% the rows.
% \begin{macrocode}
\lineskip \z@
\baselineskip \z@
% \end{macrocode}
% Don't use \cs{m at th} here as that signals to the math taggingg
-% codethat this is fake math that should not be tagged.
+% code that this is fake math that should not be tagged.
% \changes{v2.6a}{2023/12/11}{Support for tagged PDF}
% \begin{macrocode}
\mathsurround \z@
diff --git a/required/tools/longtable.dtx b/required/tools/longtable.dtx
index c8070fe7..b0a4a4d1 100644
--- a/required/tools/longtable.dtx
+++ b/required/tools/longtable.dtx
@@ -1111,7 +1111,7 @@
%
% \changes{v4.19}{2023/12/16}{Managing cell indexes}
% \begin{macrocode}
- \tbl_init_row_count:
+ \tbl_gzero_row_count:
% \end{macrocode}
%
% \changes{v4.19}{2023/12/16}{Support for tagged PDF}
@@ -1334,7 +1334,7 @@
% \changes{v4.19}{2023/12/16}{Managing cell indexes}
% \begin{macrocode}
\int_compare:nNnT \LT at rows < \LTchunksize
- { \tbl_incr_row_count: } % next is row about to start
+ { \tbl_gincr_row_count: } % next is row about to start
}%
}%
% \end{macrocode}
@@ -2147,7 +2147,7 @@
% \changes{v4.19}{2023/12/16}{Managing cell indexes}
% \begin{macrocode}
\noalign{
- \tbl_decr_row_count:
+ \tbl_gdecr_row_count:
\LT at sep}
\multispan\LT at cols
\unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
@@ -2156,7 +2156,7 @@
% \changes{v4.19}{2023/12/16}{Managing cell indexes}
% \begin{macrocode}
\noalign{
- \tbl_decr_row_count:
+ \tbl_gdecr_row_count:
\penalty\@M}
\@gtempa}
\ExplSyntaxOff
@@ -2426,7 +2426,7 @@
%
% \changes{v4.19}{2023/12/16}{Managing cell indexes}
% \begin{macrocode}
- \tbl_decr_row_count: % undo the increment
+ \tbl_gdecr_row_count: % undo the increment
\int_gset:Nn \LT at rows { \LTchunksize }
}
}
More information about the latex3-commits
mailing list.