texlive[73881] Master/texmf-dist: etoolbox (11feb25)

commits+karl at tug.org commits+karl at tug.org
Tue Feb 11 21:49:40 CET 2025


Revision: 73881
          https://tug.org/svn/texlive?view=revision&revision=73881
Author:   karl
Date:     2025-02-11 21:49:40 +0100 (Tue, 11 Feb 2025)
Log Message:
-----------
etoolbox (11feb25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
    trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex
    trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
    trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty

Modified: trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex	2025-02-11 20:49:30 UTC (rev 73880)
+++ trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex	2025-02-11 20:49:40 UTC (rev 73881)
@@ -12,8 +12,8 @@
   url={http://www.ctan.org/pkg/etoolbox/},
   author={Philipp Lehman, Joseph Wright},
   email={joseph.wright at morningstar2.co.uk},
-  revision={v2.5k},
-  date={2020/10/05}}
+  revision={v2.5l},
+  date={2025/02/11}}
 
 \hypersetup{%
   pdftitle={The etoolbox Package},
@@ -35,7 +35,7 @@
 
 \subsection{License}
 
-Copyright \textcopyright\ 2007--2011 Philipp Lehman, 2015--2020 Joseph Wright. Permission is granted to copy, distribute and\slash or modify this software under the terms of the \lppl, version 1.3c or later.\fnurl{http://www.latex-project.org/lppl/}
+Copyright \textcopyright\ 2007--2011 Philipp Lehman, 2015--2025 Joseph Wright. Permission is granted to copy, distribute and\slash or modify this software under the terms of the \lppl, version 1.3c or later.\fnurl{http://www.latex-project.org/lppl/}
 
 \section{User Commands}
 \label{use}
@@ -71,7 +71,7 @@
 
 \cmditem{robustify}{command}
 
-Redefines a \prm{command} defined with \cmd{newcommand} such that it is robust, without altering its parameters, its prefixes, or its replacement text. If the \prm{command} has been defined with \cmd{DeclareRobustCommand}, this will be detected automatically and \latex's high-level protection mechanism will be replaced by the corresponding low-level \etex feature.
+Redefines a \prm{command} defined with \cmd{newcommand} such that it is robust, without altering its parameters, its prefixes, or its replacement text. If the \prm{command} has been defined with \cmd{DeclareRobustCommand}, this will be detected automatically and \latex's high-level protection mechanism will be replaced by the corresponding low-level \etex feature. If the command has been copied using \cmd{let} \emph{before} robustifing, it is possible an error will arise if the copy is used: in this case, a fresh copy should be created, ideally using the \latex kernel command \cmd{DeclareCommandCopy}.
 
 \end{ltxsyntax}
 
@@ -403,11 +403,11 @@
 
 Similar to \cmd{xappto} except that it takes a control sequence name as its first argument.
 
-\cmditem{protected at cseappto}<hook>{code}
+\cmditem{protected at cseappto}{csname}{code}
 
 Similar to \cmd{protected at eappto} except that it takes a control sequence name as its first argument.
 
-\cmditem{protected at csxappto}<hook>{code}
+\cmditem{protected at csxappto}{csname}{code}
 
 Similar to \cmd{protected at xappto} except that it takes a control sequence name as its first argument.
 
@@ -460,11 +460,11 @@
 
 Similar to \cmd{xpreto} except that it takes a control sequence name as its first argument.
 
-\cmditem{protected at csepreto}<hook>{code}
+\cmditem{protected at csepreto}{csname}{code}
 
 Similar to \cmd{protected at epreto} except that it takes a control sequence name as its first argument.
 
-\cmditem{protected at csxpreto}<hook>{code}
+\cmditem{protected at csxpreto}{csname}{code}
 
 Similar to \cmd{protected at xpreto} except that it takes a control sequence name as its first argument.
 
@@ -1297,6 +1297,10 @@
 
 \begin{changelog}
 
+\begin{release}{2.5l}{2025-02-11}
+\item Fix handling of \cmd{long} macros linked to \cmd{NewCommandCopy}
+\end{release}
+
 \begin{release}{2.5k}{2020-10-05}
 \item Internal updates
 \end{release}

Modified: trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def	2025-02-11 20:49:30 UTC (rev 73880)
+++ trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def	2025-02-11 20:49:40 UTC (rev 73881)
@@ -1,5 +1,5 @@
 \ProvidesFile{etoolbox.def}
-  [2020/10/05 v2.5k etoolbox debug messages (JAW)]
+  [2025/02/11 v2.5l etoolbox debug messages (JAW)]
 
 \begingroup
 \makeatletter

Modified: trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty	2025-02-11 20:49:30 UTC (rev 73880)
+++ trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty	2025-02-11 20:49:40 UTC (rev 73881)
@@ -12,7 +12,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{etoolbox}
-  [2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)]
+  [2025/02/11 v2.5l e-TeX tools for LaTeX (JAW)]
 
 \begingroup
 \@ifundefined{eTeXversion}
@@ -880,7 +880,7 @@
 
 \ifdef\NewCommandCopy
   {%
-    \def\etb at carsquare#1#2#3\@nil{#1#2}
+    \long\def\etb at carsquare#1#2#3\@nil{#1#2}
     %
     % {<cstoken>}{<true>}{<false>}
     %



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