diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/etoolbox/etoolbox.def | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty | 14 |
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} |