texlive[71734] Master/texmf-dist: colortbl (7jul24)
commits+karl at tug.org
commits+karl at tug.org
Sun Jul 7 22:10:29 CEST 2024
Revision: 71734
https://tug.org/svn/texlive?view=revision&revision=71734
Author: karl
Date: 2024-07-07 22:10:29 +0200 (Sun, 07 Jul 2024)
Log Message:
-----------
colortbl (7jul24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf
trunk/Master/texmf-dist/doc/latex/colortbl/colortbl.pdf
trunk/Master/texmf-dist/source/latex/colortbl/colortbl.dtx
trunk/Master/texmf-dist/tex/latex/colortbl/colortbl.sty
Modified: trunk/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/colortbl/colortbl.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/colortbl/colortbl.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/colortbl/colortbl.dtx 2024-07-07 20:10:20 UTC (rev 71733)
+++ trunk/Master/texmf-dist/source/latex/colortbl/colortbl.dtx 2024-07-07 20:10:29 UTC (rev 71734)
@@ -15,7 +15,7 @@
%<driver>\ProvidesFile{colortbl.drv}
% \fi
% \ProvidesFile{colortbl.dtx}
- [2024/05/26 v1.0h Color table columns (DPC)]
+ [2024/07/06 v1.0i Color table columns (DPC)]
%
% \iffalse
%<*driver>
@@ -1505,9 +1505,21 @@
%
%
% longtable support.
+% \changes{v1.0i}{2024/07/06}{tagging code adjusments for longtable hline}
% \begin{macrocode}
+\ExplSyntaxOn
+% \end{macrocode}
+%
+% Stub tag support if tagging has not been enabled.
+% \begin{macrocode}
+\cs_if_exist:NF\tag_mc_begin:n{
+ \cs_new:Npn\tag_mc_begin:n#1{}
+ \cs_new:Npn\tag_mc_end:{}
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
\AtBeginDocument{
- \ifx\longtable\@undefined\else
\def\LT@@hline{%
\ifx\LT at next\hline
\global\let\LT at next\@gobble
@@ -1517,7 +1529,10 @@
\else
\gdef\CT at LT@sep{%
\multispan\LT at cols{%
- \CT at drsc@\leaders\hrule\@height\doublerulesep\hfill}\cr}%
+ \tag_mc_begin:n{artifact}
+ \CT at drsc@\leaders\hrule\@height\doublerulesep\hfill
+ \tag_mc_end: \int_gdecr:N \g__tbl_row_int
+ }\cr}%
\fi
\else
\global\let\LT at next\empty
@@ -1526,13 +1541,20 @@
\fi
\ifnum0=`{\fi}%
\multispan\LT at cols
- {\CT at arc@\leaders\hrule\@height\arrayrulewidth\hfill}\cr
+ {\tag_mc_begin:n{artifact}
+ \CT at arc@\leaders\hrule\@height\arrayrulewidth\hfill
+ \tag_mc_end: \int_gdecr:N \g__tbl_row_int
+ }\cr
\CT at LT@sep
\multispan\LT at cols
- {\CT at arc@\leaders\hrule\@height\arrayrulewidth\hfill}\cr
+ {\tag_mc_begin:n{artifact}
+ \CT at arc@\leaders\hrule\@height\arrayrulewidth\hfill
+ \tag_mc_end: \int_gdecr:N \g__tbl_row_int
+ }\cr
\noalign{\penalty\@M}%
\LT at next}
- \fi}
+ }
+\ExplSyntaxOff
% \end{macrocode}
%
%
Modified: trunk/Master/texmf-dist/tex/latex/colortbl/colortbl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colortbl/colortbl.sty 2024-07-07 20:10:20 UTC (rev 71733)
+++ trunk/Master/texmf-dist/tex/latex/colortbl/colortbl.sty 2024-07-07 20:10:29 UTC (rev 71734)
@@ -15,7 +15,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{colortbl}
- [2024/05/26 v1.0h Color table columns (DPC)]
+ [2024/07/06 v1.0i Color table columns (DPC)]
\edef\@tempa{%
\noexpand\AtEndOfPackage{%
\catcode`\noexpand\^^A\the\catcode`\^^A\relax}}
@@ -375,8 +375,12 @@
\next}
\lowercase{\def\HH at spacelet} {\futurelet\@tempb \HH at loop}
\fi}
+\ExplSyntaxOn
+\cs_if_exist:NF\tag_mc_begin:n{
+ \cs_new:Npn\tag_mc_begin:n#1{}
+ \cs_new:Npn\tag_mc_end:{}
+}
\AtBeginDocument{
- \ifx\longtable\@undefined\else
\def\LT@@hline{%
\ifx\LT at next\hline
\global\let\LT at next\@gobble
@@ -386,7 +390,10 @@
\else
\gdef\CT at LT@sep{%
\multispan\LT at cols{%
- \CT at drsc@\leaders\hrule\@height\doublerulesep\hfill}\cr}%
+ \tag_mc_begin:n{artifact}
+ \CT at drsc@\leaders\hrule\@height\doublerulesep\hfill
+ \tag_mc_end: \int_gdecr:N \g__tbl_row_int
+ }\cr}%
\fi
\else
\global\let\LT at next\empty
@@ -395,13 +402,20 @@
\fi
\ifnum0=`{\fi}%
\multispan\LT at cols
- {\CT at arc@\leaders\hrule\@height\arrayrulewidth\hfill}\cr
+ {\tag_mc_begin:n{artifact}
+ \CT at arc@\leaders\hrule\@height\arrayrulewidth\hfill
+ \tag_mc_end: \int_gdecr:N \g__tbl_row_int
+ }\cr
\CT at LT@sep
\multispan\LT at cols
- {\CT at arc@\leaders\hrule\@height\arrayrulewidth\hfill}\cr
+ {\tag_mc_begin:n{artifact}
+ \CT at arc@\leaders\hrule\@height\arrayrulewidth\hfill
+ \tag_mc_end: \int_gdecr:N \g__tbl_row_int
+ }\cr
\noalign{\penalty\@M}%
\LT at next}
- \fi}
+ }
+\ExplSyntaxOff
\endinput
%%
%% End of file `colortbl.sty'.
More information about the tex-live-commits
mailing list.