texlive[56173] Master/texmf-dist: etoolbox (24aug20)
commits+karl at tug.org
commits+karl at tug.org
Mon Aug 24 22:55:42 CEST 2020
Revision: 56173
http://tug.org/svn/texlive?view=revision&revision=56173
Author: karl
Date: 2020-08-24 22:55:42 +0200 (Mon, 24 Aug 2020)
Log Message:
-----------
etoolbox (24aug20)
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 2020-08-24 20:55:24 UTC (rev 56172)
+++ trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex 2020-08-24 20:55:42 UTC (rev 56173)
@@ -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.5i},
- date={2020/07/15}}
+ revision={v2.5j},
+ date={2020/08/24}}
\hypersetup{%
pdftitle={The etoolbox Package},
@@ -1297,6 +1297,10 @@
\begin{changelog}
+\begin{release}{2.5j}{2020-08-24}
+\item Track \LaTeXe{} kernel changes
+\end{release}
+
\begin{release}{2.5i}{2020-07-13}
\item Track \LaTeXe{} kernel changes
\end{release}
Modified: trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def 2020-08-24 20:55:24 UTC (rev 56172)
+++ trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def 2020-08-24 20:55:42 UTC (rev 56173)
@@ -1,5 +1,5 @@
\ProvidesFile{etoolbox.def}
- [2020/07/15 v2.5i etoolbox debug messages (JAW)]
+ [2020/08/24 v2.5j 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 2020-08-24 20:55:24 UTC (rev 56172)
+++ trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty 2020-08-24 20:55:42 UTC (rev 56173)
@@ -12,7 +12,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{etoolbox}
- [2020/07/15 v2.5i e-TeX tools for LaTeX (JAW)]
+ [2020/08/24 v2.5j e-TeX tools for LaTeX (JAW)]
\begingroup
\@ifundefined{eTeXversion}
@@ -878,6 +878,45 @@
\csname#2\endcsname}
{\csundef{#1}}}
+\ifdef\NewCommandCopy
+ {%
+ \def\etb at carsquare#1#2#3\@nil{#1#2}
+ %
+ % {<cstoken>}{<true>}{<false>}
+ %
+ \newrobustcmd*{\etb at if@robustcmd}[1]{%
+ \begingroup
+ \escapechar=`\\
+ \edef\etb at tempa{%
+ \endgroup
+ \def\noexpand\etb at tempa{\noexpand\@testopt
+ \expandafter\noexpand\csname\string#1\endcsname}%
+ \def\noexpand\etb at tempb{\unexpanded\expandafter\expandafter\expandafter
+ {\expandafter\etb at carsquare#1{}{}\@nil}}%
+ }\etb at tempa
+ \ifx\etb at tempa\etb at tempb
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+ %
+ % {<cstoken>}{<cstoken>}
+ %
+ \newrobustcmd*{\etb at copy@robustcmd}[2]{%
+ \begingroup
+ \escapechar=`\\
+ \edef\etb at tempa{%
+ \endgroup
+ \protected\def\noexpand#1{\noexpand\@testopt
+ \expandafter\noexpand\csname\string#1\endcsname
+ \unexpanded\expandafter\expandafter\expandafter
+ {\expandafter\@gobbletwo#2}}%
+ \let\expandafter\noexpand\csname\string#1\endcsname
+ \expandafter\noexpand\csname\string#2\endcsname
+ }\etb at tempa}
+ \g at addto@macro\@declarecommandcopylisthook
+ {{\etb at if@robustcmd\etb at copy@robustcmd}}
+ }{}
% {<csname>}
\newcommand*{\csuse}[1]{%
@@ -1699,7 +1738,7 @@
\ifdef\AddToHook
{%
- \newrobustcmd*{\AtEndPreamble}{\AddToHook{env/document/begin}}%
+ \newrobustcmd*{\AtEndPreamble}{\AddToHook{begindocument/before}}%
\let\AfterPreamble\AtBeginDocument
\newrobustcmd*{\AfterEndPreamble}{\AddToHook{begindocument/end}}%
\newrobustcmd*{\AfterEndDocument}{\AddToHook{enddocument/end}}%
More information about the tex-live-commits
mailing list.