diff options
Diffstat (limited to 'macros/latex/required/firstaid')
-rw-r--r-- | macros/latex/required/firstaid/changes.txt | 5 | ||||
-rw-r--r-- | macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx | 27 | ||||
-rw-r--r-- | macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf | bin | 274055 -> 276648 bytes |
3 files changed, 30 insertions, 2 deletions
diff --git a/macros/latex/required/firstaid/changes.txt b/macros/latex/required/firstaid/changes.txt index 7ddcfbcec2..cbabfcbb72 100644 --- a/macros/latex/required/firstaid/changes.txt +++ b/macros/latex/required/firstaid/changes.txt @@ -1,3 +1,8 @@ +2024-06-25 David Carlisle <David.Carlisle@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@latex-project.org> * latex2e-first-aid-for-external-files.dtx: add firstaid for cleveref diff --git a/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx b/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx index 152737eaf7..5615d3f697 100644 --- a/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx +++ b/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx @@ -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,6 +721,29 @@ } % \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@ivline#4\@nil{#1}{#2}% + \xdef\adl@colsL{\adl@colsL + \@elt{#3}{\number\@tempcnta}{\number\@tempcntb}% + {\adl@dashcolor}{\adl@gapcolor}}}% +\protected\def\adl@@vlineR#1#2#3#4{\adl@ivline#4\@nil{#1}{#2}% + \xdef\adl@colsR{% + \@elt{#3}{\number\@tempcnta}{\number\@tempcntb}% + {\adl@dashcolor}{\adl@gapcolor}% + \adl@colsR}}% +\let\adl@act@@vlineL\adl@@vlineL +\let\adl@act@@vlineR\adl@@vlineR + }% +} +% \end{macrocode} +% % \begin{macrocode} %</kernel> % \end{macrocode} diff --git a/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf b/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf Binary files differindex 7dd3d43aa8..789de4f3e2 100644 --- a/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf +++ b/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf |