From cc9a1c90f254a17ae525f6cd58d97f9ae738c6d3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 15 Jul 2020 22:18:35 +0000 Subject: etoolbox (15jul20) git-svn-id: svn://tug.org/texlive/trunk@55845 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/etoolbox/etoolbox.def | 2 +- Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/etoolbox') 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 + } + {} + % {} \newrobustcmd*{\AtEndPreamble}{\gappto\@endpreamblehook} -- cgit v1.2.3