texlive[71628] Master/texmf-dist: firstaid (26jun24)

commits+karl at tug.org commits+karl at tug.org
Wed Jun 26 22:36:48 CEST 2024


Revision: 71628
          https://tug.org/svn/texlive?view=revision&revision=71628
Author:   karl
Date:     2024-06-26 22:36:48 +0200 (Wed, 26 Jun 2024)
Log Message:
-----------
firstaid (26jun24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/firstaid/changes.txt
    trunk/Master/texmf-dist/doc/latex/firstaid/latex2e-first-aid-for-external-files.pdf
    trunk/Master/texmf-dist/source/latex/firstaid/latex2e-first-aid-for-external-files.dtx
    trunk/Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx

Modified: trunk/Master/texmf-dist/doc/latex/firstaid/changes.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/firstaid/changes.txt	2024-06-26 20:36:33 UTC (rev 71627)
+++ trunk/Master/texmf-dist/doc/latex/firstaid/changes.txt	2024-06-26 20:36:48 UTC (rev 71628)
@@ -1,3 +1,8 @@
+2024-06-25  David Carlisle  <David.Carlisle at latex-project.org>
+
+	* latex2e-first-aid-for-external-files.dtx: add firstaid for arydshln
+	define two internal macros as \protected to be safe in colortbl
+
 2024-03-22  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx: add firstaid for cleveref

Modified: trunk/Master/texmf-dist/doc/latex/firstaid/latex2e-first-aid-for-external-files.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/firstaid/latex2e-first-aid-for-external-files.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/firstaid/latex2e-first-aid-for-external-files.dtx	2024-06-26 20:36:33 UTC (rev 71627)
+++ trunk/Master/texmf-dist/source/latex/firstaid/latex2e-first-aid-for-external-files.dtx	2024-06-26 20:36:48 UTC (rev 71628)
@@ -111,8 +111,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\def\LaTeXFirstAidDate{2024/03/20}
-\def\LaTeXFirstAidVersion{v1.1e}
+\def\LaTeXFirstAidDate{2024/06/25}
+\def\LaTeXFirstAidVersion{v1.1f}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -721,7 +721,30 @@
 }
 %    \end{macrocode}
 %
+% \subsection{The \pkg{arydshln} package first aid}
+%
+%    Making two internal commands robust to avoid expansion while constructing the array preamble.
 %    \begin{macrocode}
+\AddToHook{package/arydshln/after}[firstaid]{%
+  \FirstAidNeededT{arydshln}{sty}{2019/02/21 v1.76 }
+  {%
+% add \protected
+\protected\def\adl@@vlineL#1#2#3#4{\adl at ivline#4\@nil{#1}{#2}%
+        \xdef\adl at colsL{\adl at colsL
+                \@elt{#3}{\number\@tempcnta}{\number\@tempcntb}%
+                        {\adl at dashcolor}{\adl at gapcolor}}}%
+\protected\def\adl@@vlineR#1#2#3#4{\adl at ivline#4\@nil{#1}{#2}%
+        \xdef\adl at colsR{%
+                \@elt{#3}{\number\@tempcnta}{\number\@tempcntb}%
+                        {\adl at dashcolor}{\adl at gapcolor}%
+                \adl at colsR}}%
+\let\adl at act@@vlineL\adl@@vlineL
+\let\adl at act@@vlineR\adl@@vlineR
+  }%
+}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 %</kernel>
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx	2024-06-26 20:36:33 UTC (rev 71627)
+++ trunk/Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx	2024-06-26 20:36:48 UTC (rev 71628)
@@ -34,8 +34,8 @@
 %%
 %% The LaTeX Project and any individual authors listed elsewhere
 %% in this file.
-\def\LaTeXFirstAidDate{2024/03/20}
-\def\LaTeXFirstAidVersion{v1.1e}
+\def\LaTeXFirstAidDate{2024/06/25}
+\def\LaTeXFirstAidVersion{v1.1f}
 \ProvidesFile{latex2e-first-aid-for-external-files.ltx}
              [\LaTeXFirstAidDate\space \LaTeXFirstAidVersion\space
                LaTeX kernel fixes to external files and packages]
@@ -230,6 +230,22 @@
           }
       }%
 }
+\AddToHook{package/arydshln/after}[firstaid]{%
+  \FirstAidNeededT{arydshln}{sty}{2019/02/21 v1.76 }
+  {%
+\protected\def\adl@@vlineL#1#2#3#4{\adl at ivline#4\@nil{#1}{#2}%
+        \xdef\adl at colsL{\adl at colsL
+                \@elt{#3}{\number\@tempcnta}{\number\@tempcntb}%
+                        {\adl at dashcolor}{\adl at gapcolor}}}%
+\protected\def\adl@@vlineR#1#2#3#4{\adl at ivline#4\@nil{#1}{#2}%
+        \xdef\adl at colsR{%
+                \@elt{#3}{\number\@tempcnta}{\number\@tempcntb}%
+                        {\adl at dashcolor}{\adl at gapcolor}%
+                \adl at colsR}}%
+\let\adl at act@@vlineL\adl@@vlineL
+\let\adl at act@@vlineR\adl@@vlineR
+  }%
+}
 \endinput
 %%
 %% End of file `latex2e-first-aid-for-external-files.ltx'.



More information about the tex-live-commits mailing list.