summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/etoolbox
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-15 22:18:35 +0000
committerKarl Berry <karl@freefriends.org>2020-07-15 22:18:35 +0000
commitcc9a1c90f254a17ae525f6cd58d97f9ae738c6d3 (patch)
tree02fbd087e720443be798e0e2f3a00efdf425674b /Master/texmf-dist/tex/latex/etoolbox
parent6b476aa08668d22361b83d249a17428b3a5681bc (diff)
etoolbox (15jul20)
git-svn-id: svn://tug.org/texlive/trunk@55845 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/etoolbox')
-rw-r--r--Master/texmf-dist/tex/latex/etoolbox/etoolbox.def2
-rw-r--r--Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty14
2 files changed, 13 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
index 641fe191ea6..fb9dfc0ac3f 100644
--- a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
+++ b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
@@ -1,5 +1,5 @@
\ProvidesFile{etoolbox.def}
- [2019/09/21 v2.5h etoolbox debug messages (JAW)]
+ [2020/07/15 v2.5i etoolbox debug messages (JAW)]
\begingroup
\makeatletter
diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
index 7d6f4502ec9..43e00958b5d 100644
--- a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
+++ b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
@@ -1,5 +1,5 @@
% Copyright (c) 2007-2011 Philipp Lehman.
-% (c) 2015-2019 Joseph Wright
+% (c) 2015-2020 Joseph Wright
%
% Permission is granted to copy, distribute and/or modify this
% software under the terms of the LaTeX Project Public License
@@ -12,7 +12,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{etoolbox}
- [2019/09/21 v2.5h e-TeX tools for LaTeX (JAW)]
+ [2020/07/15 v2.5i e-TeX tools for LaTeX (JAW)]
\begingroup
\@ifundefined{eTeXversion}
@@ -1697,6 +1697,16 @@
\newcommand*{\dolistcsloop}{\forlistcsloop\do}
+\ifdef\AddToHook
+ {%
+ \newrobustcmd*{\AtEndPreamble}{\AddToHook{env/document/begin}}%
+ \let\AfterPreamble\AtBeginDocument
+ \newrobustcmd*{\AfterEndPreamble}{\AddToHook{begindocument/end}}%
+ \newrobustcmd*{\AfterEndDocument}{\AddToHook{enddocument/end}}%
+ \endinput
+ }
+ {}
+
% {<code>}
\newrobustcmd*{\AtEndPreamble}{\gappto\@endpreamblehook}