diff options
Diffstat (limited to 'macros/latex/contrib/colortbl')
-rw-r--r-- | macros/latex/contrib/colortbl/colortbl-DE.pdf | bin | 346445 -> 346756 bytes | |||
-rw-r--r-- | macros/latex/contrib/colortbl/colortbl.dtx | 38 | ||||
-rw-r--r-- | macros/latex/contrib/colortbl/colortbl.pdf | bin | 312112 -> 313437 bytes |
3 files changed, 30 insertions, 8 deletions
diff --git a/macros/latex/contrib/colortbl/colortbl-DE.pdf b/macros/latex/contrib/colortbl/colortbl-DE.pdf Binary files differindex 1a4ea3ccea..879d4b3f5b 100644 --- a/macros/latex/contrib/colortbl/colortbl-DE.pdf +++ b/macros/latex/contrib/colortbl/colortbl-DE.pdf diff --git a/macros/latex/contrib/colortbl/colortbl.dtx b/macros/latex/contrib/colortbl/colortbl.dtx index 68c4bdbaf5..8e5f1e8be1 100644 --- a/macros/latex/contrib/colortbl/colortbl.dtx +++ b/macros/latex/contrib/colortbl/colortbl.dtx @@ -15,7 +15,7 @@ %<driver>\ProvidesFile{colortbl.drv} % \fi % \ProvidesFile{colortbl.dtx} - [2024/02/20 v1.0g Color table columns (DPC)] + [2024/07/06 v1.0i Color table columns (DPC)] % % \iffalse %<*driver> @@ -1018,9 +1018,9 @@ % % \begin{macro}{\endarray} % \changes{v1.0b}{2012/21/06}{re-insert \cs{@arrayright} to match \textsf{array} definition, for \textsf{delarray}} +% \changes{v1.0h}{2024/05/26}{Don't assume existing \cs{endarray} definition, to work with tagging code} % \begin{macrocode} -\def\endarray{% - \crcr \egroup \egroup \@arrayright\gdef\@preamble{}\CT@end} +\expandafter\def\expandafter\endarray\expandafter{\endarray\CT@end} % \end{macrocode} % \end{macro} % @@ -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@next\hline \global\let\LT@next\@gobble @@ -1517,7 +1529,10 @@ \else \gdef\CT@LT@sep{% \multispan\LT@cols{% - \CT@drsc@\leaders\hrule\@height\doublerulesep\hfill}\cr}% + \tag_mc_begin:n{artifact} + \CT@drsc@\leaders\hrule\@height\doublerulesep\hfill + \tag_mc_end: \int_gdecr:N \g__tbl_row_int + }\cr}% \fi \else \global\let\LT@next\empty @@ -1526,13 +1541,20 @@ \fi \ifnum0=`{\fi}% \multispan\LT@cols - {\CT@arc@\leaders\hrule\@height\arrayrulewidth\hfill}\cr + {\tag_mc_begin:n{artifact} + \CT@arc@\leaders\hrule\@height\arrayrulewidth\hfill + \tag_mc_end: \int_gdecr:N \g__tbl_row_int + }\cr \CT@LT@sep \multispan\LT@cols - {\CT@arc@\leaders\hrule\@height\arrayrulewidth\hfill}\cr + {\tag_mc_begin:n{artifact} + \CT@arc@\leaders\hrule\@height\arrayrulewidth\hfill + \tag_mc_end: \int_gdecr:N \g__tbl_row_int + }\cr \noalign{\penalty\@M}% \LT@next} - \fi} + } +\ExplSyntaxOff % \end{macrocode} % % diff --git a/macros/latex/contrib/colortbl/colortbl.pdf b/macros/latex/contrib/colortbl/colortbl.pdf Binary files differindex b2ec8709a6..6ebe2525c3 100644 --- a/macros/latex/contrib/colortbl/colortbl.pdf +++ b/macros/latex/contrib/colortbl/colortbl.pdf |