From 83aaf60600dc0b191bacbaacc786dbda33d7190a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 27 Oct 2020 03:02:53 +0000 Subject: CTAN sync 202010270302 --- macros/latex/base/README.md | 2 +- macros/latex/base/alltt.pdf | Bin 173079 -> 173079 bytes macros/latex/base/cfgguide.pdf | Bin 220217 -> 220217 bytes macros/latex/base/changes.txt | 19 ++++++++++++++++ macros/latex/base/classes.pdf | Bin 520851 -> 520851 bytes macros/latex/base/clsguide.pdf | Bin 372555 -> 372555 bytes macros/latex/base/cmfonts.pdf | Bin 264505 -> 264505 bytes macros/latex/base/cyrguide.pdf | Bin 216997 -> 216997 bytes macros/latex/base/doc.pdf | Bin 630928 -> 630922 bytes macros/latex/base/docstrip.pdf | Bin 479545 -> 479544 bytes macros/latex/base/encguide.pdf | Bin 1532144 -> 1532144 bytes macros/latex/base/exscale.pdf | Bin 195877 -> 195877 bytes macros/latex/base/fix-cm.pdf | Bin 262059 -> 262059 bytes macros/latex/base/fntguide.pdf | Bin 417861 -> 417861 bytes macros/latex/base/graphpap.pdf | Bin 156277 -> 156277 bytes macros/latex/base/ifthen.pdf | Bin 205213 -> 205213 bytes macros/latex/base/inputenc.pdf | Bin 294900 -> 294900 bytes macros/latex/base/latexchanges.pdf | Bin 232390 -> 232390 bytes macros/latex/base/latexrelease.pdf | Bin 246195 -> 246195 bytes macros/latex/base/latexsym.pdf | Bin 192297 -> 192297 bytes macros/latex/base/lb2.pdf | Bin 138219 -> 138219 bytes macros/latex/base/letter.pdf | Bin 305701 -> 305700 bytes macros/latex/base/lgc2.pdf | Bin 101343 -> 101343 bytes macros/latex/base/lppl.pdf | Bin 125830 -> 125830 bytes macros/latex/base/ltclass.dtx | 26 ++++++++++++++++----- macros/latex/base/ltfilehook-code.pdf | Bin 735762 -> 735464 bytes macros/latex/base/ltfilehook-doc.pdf | Bin 516631 -> 516397 bytes macros/latex/base/ltfilehook.dtx | 39 +++++++++++++------------------- macros/latex/base/lthooks-code.pdf | Bin 900409 -> 901929 bytes macros/latex/base/lthooks-doc.pdf | Bin 619426 -> 621088 bytes macros/latex/base/lthooks.dtx | 41 ++++++++++++++++++++++++++++------ macros/latex/base/ltluatex.pdf | Bin 305339 -> 305339 bytes macros/latex/base/ltmiscen.dtx | 5 +++-- macros/latex/base/ltnews.pdf | Bin 989398 -> 989398 bytes macros/latex/base/ltnews01.pdf | Bin 150020 -> 150020 bytes macros/latex/base/ltnews02.pdf | Bin 134751 -> 134751 bytes macros/latex/base/ltnews03.pdf | Bin 134742 -> 134742 bytes macros/latex/base/ltnews04.pdf | Bin 128772 -> 128772 bytes macros/latex/base/ltnews05.pdf | Bin 157181 -> 157181 bytes macros/latex/base/ltnews06.pdf | Bin 133138 -> 133138 bytes macros/latex/base/ltnews07.pdf | Bin 124029 -> 124029 bytes macros/latex/base/ltnews08.pdf | Bin 144482 -> 144482 bytes macros/latex/base/ltnews09.pdf | Bin 120222 -> 120222 bytes macros/latex/base/ltnews10.pdf | Bin 147946 -> 147946 bytes macros/latex/base/ltnews11.pdf | Bin 104936 -> 104936 bytes macros/latex/base/ltnews12.pdf | Bin 137919 -> 137919 bytes macros/latex/base/ltnews13.pdf | Bin 161065 -> 161065 bytes macros/latex/base/ltnews14.pdf | Bin 150907 -> 150907 bytes macros/latex/base/ltnews15.pdf | Bin 122092 -> 122092 bytes macros/latex/base/ltnews16.pdf | Bin 130687 -> 130687 bytes macros/latex/base/ltnews17.pdf | Bin 149838 -> 149838 bytes macros/latex/base/ltnews18.pdf | Bin 36005 -> 36005 bytes macros/latex/base/ltnews19.pdf | Bin 235073 -> 235073 bytes macros/latex/base/ltnews20.pdf | Bin 283318 -> 283318 bytes macros/latex/base/ltnews21.pdf | Bin 233492 -> 233492 bytes macros/latex/base/ltnews22.pdf | Bin 302836 -> 302836 bytes macros/latex/base/ltnews23.pdf | Bin 274459 -> 274459 bytes macros/latex/base/ltnews24.pdf | Bin 252645 -> 252645 bytes macros/latex/base/ltnews25.pdf | Bin 196326 -> 196326 bytes macros/latex/base/ltnews26.pdf | Bin 362839 -> 362839 bytes macros/latex/base/ltnews27.pdf | Bin 239758 -> 239758 bytes macros/latex/base/ltnews28.pdf | Bin 368226 -> 368226 bytes macros/latex/base/ltnews29.pdf | Bin 433004 -> 433004 bytes macros/latex/base/ltnews30.pdf | Bin 491246 -> 491246 bytes macros/latex/base/ltnews31.pdf | Bin 500919 -> 500919 bytes macros/latex/base/ltnews32.pdf | Bin 520923 -> 520923 bytes macros/latex/base/ltshipout-code.pdf | Bin 749397 -> 749471 bytes macros/latex/base/ltshipout-doc.pdf | Bin 503916 -> 503979 bytes macros/latex/base/ltvers.dtx | 2 +- macros/latex/base/ltx3info.pdf | Bin 191527 -> 191527 bytes macros/latex/base/ltxdoc.pdf | Bin 215102 -> 215102 bytes macros/latex/base/makeindx.pdf | Bin 160667 -> 160667 bytes macros/latex/base/manual.pdf | Bin 151347 -> 151347 bytes macros/latex/base/modguide.pdf | Bin 220388 -> 220388 bytes macros/latex/base/nfssfont.pdf | Bin 202451 -> 202451 bytes macros/latex/base/proc.pdf | Bin 216877 -> 216877 bytes macros/latex/base/slides.pdf | Bin 351586 -> 351586 bytes macros/latex/base/slifonts.pdf | Bin 214710 -> 214710 bytes macros/latex/base/source2e.pdf | Bin 4347415 -> 4349921 bytes macros/latex/base/syntonly.pdf | Bin 181388 -> 181390 bytes macros/latex/base/tlc2.pdf | Bin 164947 -> 164947 bytes macros/latex/base/tulm.pdf | Bin 156546 -> 156546 bytes macros/latex/base/usrguide.pdf | Bin 399035 -> 399035 bytes macros/latex/base/utf8ienc.pdf | Bin 330675 -> 330853 bytes macros/latex/base/webcomp.pdf | Bin 136159 -> 136159 bytes 85 files changed, 95 insertions(+), 39 deletions(-) (limited to 'macros/latex/base') diff --git a/macros/latex/base/README.md b/macros/latex/base/README.md index f10a94deee..d566ca97ce 100644 --- a/macros/latex/base/README.md +++ b/macros/latex/base/README.md @@ -1,7 +1,7 @@ The LaTeX kernel ================ -Release 2020-10-01 patch level 1 +Release 2020-10-01 patch level 2 Overview -------- diff --git a/macros/latex/base/alltt.pdf b/macros/latex/base/alltt.pdf index 3e1905c11e..dce36a436c 100644 Binary files a/macros/latex/base/alltt.pdf and b/macros/latex/base/alltt.pdf differ diff --git a/macros/latex/base/cfgguide.pdf b/macros/latex/base/cfgguide.pdf index 570ac543f2..2f9e6e9974 100644 Binary files a/macros/latex/base/cfgguide.pdf and b/macros/latex/base/cfgguide.pdf differ diff --git a/macros/latex/base/changes.txt b/macros/latex/base/changes.txt index 36a22af10e..29f3d2937f 100644 --- a/macros/latex/base/changes.txt +++ b/macros/latex/base/changes.txt @@ -10,6 +10,25 @@ are not part of the distribution. All changes above are only part of the development branch for the next release. ================================================================================ +######################### +# 2020-10-01 PL 2 Release +######################### + +2020-10-23 Phelype Oleinik + + * ltmiscen.dtx: + Make 'enddocument/afteraux' a one-time hook (gh/418). + +2020-10-18 Phelype Oleinik + + * ltclass.dtx: + Fix passing options to class/package in \input@path (gh/414). + +2020-10-11 Phelype Oleinik + + * ltclass.dtx: + Reset \@currpkg@reqd after loading a package file (gh/408). + ######################### # 2020-10-01 PL 1 Release ######################### diff --git a/macros/latex/base/classes.pdf b/macros/latex/base/classes.pdf index 4cc983e297..b0be55c53f 100644 Binary files a/macros/latex/base/classes.pdf and b/macros/latex/base/classes.pdf differ diff --git a/macros/latex/base/clsguide.pdf b/macros/latex/base/clsguide.pdf index 49b8cc76a4..1a7e752cc3 100644 Binary files a/macros/latex/base/clsguide.pdf and b/macros/latex/base/clsguide.pdf differ diff --git a/macros/latex/base/cmfonts.pdf b/macros/latex/base/cmfonts.pdf index ff673d73bd..c3502760ce 100644 Binary files a/macros/latex/base/cmfonts.pdf and b/macros/latex/base/cmfonts.pdf differ diff --git a/macros/latex/base/cyrguide.pdf b/macros/latex/base/cyrguide.pdf index ee3a39c730..1331bbc54f 100644 Binary files a/macros/latex/base/cyrguide.pdf and b/macros/latex/base/cyrguide.pdf differ diff --git a/macros/latex/base/doc.pdf b/macros/latex/base/doc.pdf index dc66e7df02..dcb78001b3 100644 Binary files a/macros/latex/base/doc.pdf and b/macros/latex/base/doc.pdf differ diff --git a/macros/latex/base/docstrip.pdf b/macros/latex/base/docstrip.pdf index 766592f1f9..aeda25af00 100644 Binary files a/macros/latex/base/docstrip.pdf and b/macros/latex/base/docstrip.pdf differ diff --git a/macros/latex/base/encguide.pdf b/macros/latex/base/encguide.pdf index 6ca1541239..286a167553 100644 Binary files a/macros/latex/base/encguide.pdf and b/macros/latex/base/encguide.pdf differ diff --git a/macros/latex/base/exscale.pdf b/macros/latex/base/exscale.pdf index 69727ba012..8d33cdefab 100644 Binary files a/macros/latex/base/exscale.pdf and b/macros/latex/base/exscale.pdf differ diff --git a/macros/latex/base/fix-cm.pdf b/macros/latex/base/fix-cm.pdf index bc778e9a23..07ff74d687 100644 Binary files a/macros/latex/base/fix-cm.pdf and b/macros/latex/base/fix-cm.pdf differ diff --git a/macros/latex/base/fntguide.pdf b/macros/latex/base/fntguide.pdf index c89713ed12..b3824b59a1 100644 Binary files a/macros/latex/base/fntguide.pdf and b/macros/latex/base/fntguide.pdf differ diff --git a/macros/latex/base/graphpap.pdf b/macros/latex/base/graphpap.pdf index e417f74dde..8ebd4c91d3 100644 Binary files a/macros/latex/base/graphpap.pdf and b/macros/latex/base/graphpap.pdf differ diff --git a/macros/latex/base/ifthen.pdf b/macros/latex/base/ifthen.pdf index a6be5d449d..6218e4883a 100644 Binary files a/macros/latex/base/ifthen.pdf and b/macros/latex/base/ifthen.pdf differ diff --git a/macros/latex/base/inputenc.pdf b/macros/latex/base/inputenc.pdf index 76ed961588..0ee0cdd0ff 100644 Binary files a/macros/latex/base/inputenc.pdf and b/macros/latex/base/inputenc.pdf differ diff --git a/macros/latex/base/latexchanges.pdf b/macros/latex/base/latexchanges.pdf index d5c1ff3e85..d78a1e3b5a 100644 Binary files a/macros/latex/base/latexchanges.pdf and b/macros/latex/base/latexchanges.pdf differ diff --git a/macros/latex/base/latexrelease.pdf b/macros/latex/base/latexrelease.pdf index 5b8221881f..f458d1a97c 100644 Binary files a/macros/latex/base/latexrelease.pdf and b/macros/latex/base/latexrelease.pdf differ diff --git a/macros/latex/base/latexsym.pdf b/macros/latex/base/latexsym.pdf index 82bad4ba5c..88db5ce701 100644 Binary files a/macros/latex/base/latexsym.pdf and b/macros/latex/base/latexsym.pdf differ diff --git a/macros/latex/base/lb2.pdf b/macros/latex/base/lb2.pdf index a5f2bd43f0..4885ef5646 100644 Binary files a/macros/latex/base/lb2.pdf and b/macros/latex/base/lb2.pdf differ diff --git a/macros/latex/base/letter.pdf b/macros/latex/base/letter.pdf index ae5549b6d5..85986ca947 100644 Binary files a/macros/latex/base/letter.pdf and b/macros/latex/base/letter.pdf differ diff --git a/macros/latex/base/lgc2.pdf b/macros/latex/base/lgc2.pdf index 5cb60acbbd..bfed998126 100644 Binary files a/macros/latex/base/lgc2.pdf and b/macros/latex/base/lgc2.pdf differ diff --git a/macros/latex/base/lppl.pdf b/macros/latex/base/lppl.pdf index 5c60effa01..18c3995534 100644 Binary files a/macros/latex/base/lppl.pdf and b/macros/latex/base/lppl.pdf differ diff --git a/macros/latex/base/ltclass.dtx b/macros/latex/base/ltclass.dtx index e771044e66..b639ae9410 100644 --- a/macros/latex/base/ltclass.dtx +++ b/macros/latex/base/ltclass.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltclass.dtx} - [2020/10/08 v1.3s LaTeX Kernel (Class & Package Interface)] + [2020/10/18 v1.3t LaTeX Kernel (Class & Package Interface)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltclass.dtx} @@ -943,8 +943,9 @@ \def\@pr@videpackage[#1]{% \expandafter\protected@xdef % <-- protected... \csname ver@\@currname.\@currext\endcsname{#1}% Loaded package - \expandafter\protected@xdef % <-- protected... - \csname ver@\@currpkg@reqd\endcsname{#1}% Requested package + \expandafter\let + \csname ver@\@currpkg@reqd\expandafter\endcsname % Requested package + \csname ver@\@currname.\@currext\endcsname \ifx\@currext\@clsextension \typeout{Document Class: \@gtempa\space#1}% \else @@ -1064,13 +1065,16 @@ % \begin{macro}{\PassOptionsToClass} % If the package has been loaded, we check that it was first loaded with % the options. Otherwise we add the option list to that of the package. +% \changes{v1.3t}{2020/10/18}{Drop path from \cs{input@path} (gh/414).} % \begin{macrocode} % %\IncludeInRelease{2020/10/01}{\@pass@ptions} % {Add file replacement in \@pass@ptions}% %<*2ekernel|latexrelease> \def\@pass@ptions#1#2#3{% - \edef\reserved@a{\@expl@@@filehook@resolve@file@subst@@w #3.#1\@nil}% + \@expl@@@filehook@set@curr@file@@nNN + {\@expl@@@filehook@resolve@file@subst@@w #3.#1\@nil}% + \reserved@a\reserved@b \expandafter\xdef\csname opt@\reserved@a\endcsname{% \@ifundefined{opt@\reserved@a}\@empty {\csname opt@\reserved@a\endcsname,}% @@ -1801,7 +1805,13 @@ % \cs{@currext} are used we lose track of the substitution, so % \cs{CurrentFile} and \cs{CurrentFileUsed} will be (incorrectly) % the same. +% +% \changes{v1.3t}{2020-10-11}{Restore \cs{@currpkg@reqd} after +% finished loading a package file (gh/408).} % \begin{macrocode} + \expandafter\@swaptwoargs\expandafter + {\expandafter{\@currpkg@reqd}}% + {% < \edef\@currpkg@reqd{\@currname.\@currext}% \ifx\CurrentFile\CurrentFileUsed \else @@ -1810,6 +1820,8 @@ \edef\@currext{\string@makeletter\filename@ext}% \fi \load@onefile@withoptions{#2}% + \def\@currpkg@reqd%{\@currpkg@reqd} + }% > % \end{macrocode} % Now just clean up and exit. % \begin{macrocode} @@ -1836,7 +1848,11 @@ \@popfilename \@reset@ptions} % \end{macrocode} -% +% +% \begin{macrocode} +\let\@currpkg@reqd\@empty +% \end{macrocode} +% % \begin{macrocode} \@onlypreamble\@onefilewithoptions % \end{macrocode} diff --git a/macros/latex/base/ltfilehook-code.pdf b/macros/latex/base/ltfilehook-code.pdf index 695028ba23..e35be13efe 100644 Binary files a/macros/latex/base/ltfilehook-code.pdf and b/macros/latex/base/ltfilehook-code.pdf differ diff --git a/macros/latex/base/ltfilehook-doc.pdf b/macros/latex/base/ltfilehook-doc.pdf index cd3cf7d46e..7bd9392a4d 100644 Binary files a/macros/latex/base/ltfilehook-doc.pdf and b/macros/latex/base/ltfilehook-doc.pdf differ diff --git a/macros/latex/base/ltfilehook.dtx b/macros/latex/base/ltfilehook.dtx index 24ba88f576..ecb499f347 100644 --- a/macros/latex/base/ltfilehook.dtx +++ b/macros/latex/base/ltfilehook.dtx @@ -31,8 +31,8 @@ %%% From File: ltfilehook.dtx % % \begin{macrocode} -\providecommand\ltfilehookversion{v1.0b} -\providecommand\ltfilehookdate{2020/09/26} +\providecommand\ltfilehookversion{v1.0c} +\providecommand\ltfilehookdate{2020/10/18} % \end{macrocode} % %<*driver> @@ -840,7 +840,7 @@ %\IncludeInRelease{2020/10/01}% % {\declare@file@substitution}{File substitution}% \ExplSyntaxOn -\cs_new_eq:NN \declare@file@substitution \@@_subst_add:nn +\cs_new_eq:NN \declare@file@substitution \@@_subst_add:nn \cs_new_eq:NN \undeclare@file@substitution \@@_subst_remove:n \ExplSyntaxOff % @@ -872,8 +872,8 @@ % % \begin{macro}{\set@curr@file,\@curr@file,\@curr@file@reqd} % Now we hook into \cs{set@curr@file} to resolve a possible file -% substitution, and add \cs{@expl@@@filehook@set@curr@file@@N} at the end, after -% \cs{@curr@file} is set. +% substitution, and add \cs{@expl@@@filehook@set@curr@file@@nNN} +% at the end, after \cs{@curr@file} is set. % % A file name is built using % \cs{expandafter}\cs{string}\cs{csname}\meta{filename}\cs{endcsname} @@ -987,24 +987,24 @@ .tex\else\string#1\fi} % \end{macrocode} % -% Then we call \cs{@expl@@@filehook@set@curr@file@@N} once for \cs{@curr@file} -% to set \cs[no-index]{CurrentFile(Path)Used} and once for +% Then we call \cs{@expl@@@filehook@set@curr@file@@nNN} once for +% \cs{@curr@file} to set \cs[no-index]{CurrentFile(Path)Used} and once for % \cs{@curr@file@reqd} to set \cs[no-index]{CurrentFile(Path)}. % Here too the slower route is only used if a substitution happened, -% but here \cs{@expl@@@filehook@if@file@replaced@@TF} can't be used because the -% flag is reset at the \cs{endgroup} above, so we check if +% but here \cs{@expl@@@filehook@if@file@replaced@@TF} can't be used because +% the flag is reset at the \cs{endgroup} above, so we check if % \cs{@curr@file} and \cs{@curr@file@reqd} differ. This macro is % issued separate from \cs{set@curr@file} because it changes % \cs{CurrentFile}, and side-effects would quickly get out of control. % \begin{macrocode} \def\@filehook@set@CurrentFile{% - \@expl@@@filehook@set@curr@file@@N{\@curr@file}% + \@expl@@@filehook@set@curr@file@@nNN{\@curr@file}% \CurrentFileUsed\CurrentFilePathUsed \ifx\@curr@file@reqd\@curr@file \let\CurrentFile\CurrentFileUsed \let\CurrentFilePath\CurrentFilePathUsed \else - \@expl@@@filehook@set@curr@file@@N{\@curr@file@reqd}% + \@expl@@@filehook@set@curr@file@@nNN{\@curr@file@reqd}% \CurrentFile\CurrentFilePath \fi} % @@ -1016,8 +1016,7 @@ % % % -% \begin{macro}{\@@_set_curr_file:N, -% \@@_set_curr_file:nNN, +% \begin{macro}{\@@_set_curr_file:nNN, % \@@_set_curr_file_assign:nnnNN} % When inputting a file, \cs{set@curr@file} does a file lookup % (in \cs{input@path} and \cs{l_file_search_path_seq}) and returns the @@ -1032,17 +1031,12 @@ % %<*2ekernel|latexrelease> %\IncludeInRelease{2020/10/01}% -% {@@_set_curr_file:N}{Set curr file}% +% {@@_set_curr_file:nNN}{Set curr file}% \ExplSyntaxOn %<@@=filehook> -\cs_new_protected:Npn \@@_set_curr_file:N #1 - { \exp_args:NV \@@_set_curr_file:nNN #1 } -% \end{macrocode} -% -% \begin{macrocode} \cs_new_protected:Npn \@@_set_curr_file:nNN #1 { - \@@_file_parse_full_name:nN {#1} + \exp_args:Nf \@@_file_parse_full_name:nN {#1} \@@_set_curr_file_assign:nnnNN } \cs_new_protected:Npn \@@_set_curr_file_assign:nnnNN #1 #2 #3 #4 #5 @@ -1331,8 +1325,8 @@ % \end{macrocode} % % \begin{macrocode} -\cs_new_eq:NN \@expl@@@filehook@set@curr@file@@N - \__filehook_set_curr_file:N +\cs_new_eq:NN \@expl@@@filehook@set@curr@file@@nNN + \__filehook_set_curr_file:nNN % \end{macrocode} % % \begin{macrocode} @@ -1348,7 +1342,6 @@ % \begin{macrocode} \cs_new_eq:NN \@expl@@@filehook@if@file@replaced@@TF \__filehook_if_file_replaced:TF - % \end{macrocode} % % \begin{macrocode} diff --git a/macros/latex/base/lthooks-code.pdf b/macros/latex/base/lthooks-code.pdf index b0b5f66939..e181e4bb27 100644 Binary files a/macros/latex/base/lthooks-code.pdf and b/macros/latex/base/lthooks-code.pdf differ diff --git a/macros/latex/base/lthooks-doc.pdf b/macros/latex/base/lthooks-doc.pdf index b547c414a1..5949974141 100644 Binary files a/macros/latex/base/lthooks-doc.pdf and b/macros/latex/base/lthooks-doc.pdf differ diff --git a/macros/latex/base/lthooks.dtx b/macros/latex/base/lthooks.dtx index a5953cc25d..e4ff7dd2ed 100644 --- a/macros/latex/base/lthooks.dtx +++ b/macros/latex/base/lthooks.dtx @@ -31,8 +31,8 @@ %%% From File: lthooks.dtx % % \begin{macrocode} -\def\lthooksversion{v1.0d} -\def\lthooksdate{2020/10/09} +\def\lthooksversion{v1.0e} +\def\lthooksdate{2020/10/23} % \end{macrocode} % %<*driver> @@ -1084,6 +1084,7 @@ % % \subsection{Difference between \enquote{normal} and % \enquote{one-time} hooks} +% \label{sec:onetime-hooks} % % When executing a hook a developer has the choice of using % either \cs{UseHook} or \cs{UseOneTimeHook} (or their \pkg{expl3} @@ -1182,6 +1183,11 @@ % % \subsection{Legacy \LaTeXe{} interfaces} % +% \newcommand\onetimetext{% +% This is a one-time hook, so after it is executed, all further +% attempts to add code to it will execute such code immediately +% (see section~\ref{sec:onetime-hooks}).} +% % \LaTeXe{} offered a small number of hooks together with commands to % add to them. They are listed here and are retained for backwards % compatibility. @@ -1211,6 +1217,14 @@ % \cs{AddToHook} \texttt{\{begindocument\}} \oarg{label} % \Arg{code}. % +% \cs{AtBeginDocument} is a wrapper around the \hook{begindocument} +% hook (see section~\ref{sec:begindocument-hooks}), which is a +% one-time hook. As such, after the \hook{begindocument} hook is +% executed at \verb=\begin{document}= any attempt to add \meta{code} +% to this hook with \cs{AtBeginDocument} or with \cs{AddToHook} will +% cause that \meta{code} to execute immediately instead. +% See section~\ref{sec:onetime-hooks} for more on one-time hooks. +% % For important packages with known order requirement we may over % time add rules to the kernel (or to those packages) so that they % work regardless of the loading-order in the document. @@ -1345,9 +1359,9 @@ % \end{function} % % -% % % \subsubsection{Hooks provided by \cs{begin}\texttt{\{document\}}} +% \label{sec:begindocument-hooks} % % Until 2020 \cs{begin}\texttt{\{document\}} offered exactly one % hook that one could add to using @@ -1370,12 +1384,12 @@ % section and this is how it is used by \pkg{etoolbox}'s % \cs{AtEndPreamble}. % -% +% \onetimetext % % \item[\hook{begindocument}] % -% This hook is added to when using \cs{AtBeginDocument} and it is executed -% after the \texttt{.aux} file as be read in and most +% This hook is added to when using \cs{AtBeginDocument} and it is +% executed after the \texttt{.aux} file as be read in and most % initialization are done, so they can be altered and inspected by % the hook code. It is followed by a small number of further % initializations that shouldn't be altered and are therefore @@ -1386,12 +1400,16 @@ % document body. If such material needs to be added to the document % body use the next hook instead. % +% \onetimetext +% % \item[\hook{begindocument/end}] % % This hook is executed at the end of the \cs{document} code in % other words at the beginning of the document body. The only % command that follows it is \cs{ignorespaces}. % +% \onetimetext +% % \end{description} % The generic hooks executed by \cs{begin} also exist, i.e., % \hook{env/document/before} and \hook{env/document/begin}, but @@ -1432,6 +1450,7 @@ % called to ensure that all such material gets typeset. If there % is nothing waiting the \cs{clearpage} has no effect. % +% \onetimetext % % \item[\hook{enddocument/afterlastpage}] % @@ -1448,6 +1467,8 @@ % closed for writing and then read back in to do some tests % (e.g., looking for missing references or duplicated labels, etc.). % +% \onetimetext +% % \item[\hook{enddocument/afteraux}] % % At this point, the \texttt{.aux} file has been reprocessed and so @@ -1456,6 +1477,8 @@ % prefer the next hook, so that your information is displayed after the % (possibly longish) list of files if that got requested via \cs{listfiles}. % +% \onetimetext +% % \item[\hook{enddocument/info}] % % This hook is meant to receive code that write final information @@ -1470,11 +1493,15 @@ % \cs{listfiles} has been used and the warnings for duplicate % labels, missing references, font substitutions etc. % +% \onetimetext +% % \item[\hook{enddocument/end}] % % Finally, this hook is executed just in front of the final call % to \cs{@{}@end}. % +% \onetimetext % is it even possible to add code after this one? +% % \end{description} % % @@ -3314,7 +3341,7 @@ \cs_new_protected:Npn \@@_log:nN #1 #2 { \@@_preamble_hook:n {#1} - \iow_term:x { ^^J ->~The~hook~'#1': } + \@@_log_cmd:x { ^^J ->~The~hook~'#1': } % \end{macrocode} % % \begin{macrocode} diff --git a/macros/latex/base/ltluatex.pdf b/macros/latex/base/ltluatex.pdf index 57762988e5..e20118360c 100644 Binary files a/macros/latex/base/ltluatex.pdf and b/macros/latex/base/ltluatex.pdf differ diff --git a/macros/latex/base/ltmiscen.dtx b/macros/latex/base/ltmiscen.dtx index 0c115d3be1..9acbcccd68 100644 --- a/macros/latex/base/ltmiscen.dtx +++ b/macros/latex/base/ltmiscen.dtx @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltmiscen.dtx} - [2020/08/21 v1.1v LaTeX Kernel (Misc. Environments)] + [2020/10/23 v1.1w LaTeX Kernel (Misc. Environments)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltmiscen.dtx} @@ -239,13 +239,14 @@ % \changes{v1.1k}{2010/08/17}{Use braces around \cs{input} arg (pr/4124)} % \changes{v1.1l}{2010/08/17}{Change of plan: use \cs{@@input} instead % (pr/4124)} +% \changes{v1.1w}{2020/10/23}{Make \texttt{enddocument/afteraux} one-time} % We use |\@@input| to load the \texttt{.aux} file, so that it doesn't % show up in the list of files produced by |\listfiles|. % \begin{macrocode} \@tempswafalse \makeatletter \@@input\jobname.aux \fi - \UseHook{enddocument/afteraux}% + \UseOneTimeHook{enddocument/afteraux}% % \end{macrocode} % Next hook is expect to contain only code for writing info % messages on the terminal. diff --git a/macros/latex/base/ltnews.pdf b/macros/latex/base/ltnews.pdf index 23c0dd26c1..902ff811d9 100644 Binary files a/macros/latex/base/ltnews.pdf and b/macros/latex/base/ltnews.pdf differ diff --git a/macros/latex/base/ltnews01.pdf b/macros/latex/base/ltnews01.pdf index bfbea06e7f..8752885008 100644 Binary files a/macros/latex/base/ltnews01.pdf and b/macros/latex/base/ltnews01.pdf differ diff --git a/macros/latex/base/ltnews02.pdf b/macros/latex/base/ltnews02.pdf index cf688058cb..a4dff175fa 100644 Binary files a/macros/latex/base/ltnews02.pdf and b/macros/latex/base/ltnews02.pdf differ diff --git a/macros/latex/base/ltnews03.pdf b/macros/latex/base/ltnews03.pdf index bc23990d0b..b5cfd1312b 100644 Binary files a/macros/latex/base/ltnews03.pdf and b/macros/latex/base/ltnews03.pdf differ diff --git a/macros/latex/base/ltnews04.pdf b/macros/latex/base/ltnews04.pdf index e15bb561d1..eff5873f9a 100644 Binary files a/macros/latex/base/ltnews04.pdf and b/macros/latex/base/ltnews04.pdf differ diff --git a/macros/latex/base/ltnews05.pdf b/macros/latex/base/ltnews05.pdf index e9341e9aca..f963a2945a 100644 Binary files a/macros/latex/base/ltnews05.pdf and b/macros/latex/base/ltnews05.pdf differ diff --git a/macros/latex/base/ltnews06.pdf b/macros/latex/base/ltnews06.pdf index baa3c67c49..ce4e6027fd 100644 Binary files a/macros/latex/base/ltnews06.pdf and b/macros/latex/base/ltnews06.pdf differ diff --git a/macros/latex/base/ltnews07.pdf b/macros/latex/base/ltnews07.pdf index 758f0d9331..29e99ec882 100644 Binary files a/macros/latex/base/ltnews07.pdf and b/macros/latex/base/ltnews07.pdf differ diff --git a/macros/latex/base/ltnews08.pdf b/macros/latex/base/ltnews08.pdf index e3b73cf681..9a29dfdc01 100644 Binary files a/macros/latex/base/ltnews08.pdf and b/macros/latex/base/ltnews08.pdf differ diff --git a/macros/latex/base/ltnews09.pdf b/macros/latex/base/ltnews09.pdf index b4356f35b8..3792d6944e 100644 Binary files a/macros/latex/base/ltnews09.pdf and b/macros/latex/base/ltnews09.pdf differ diff --git a/macros/latex/base/ltnews10.pdf b/macros/latex/base/ltnews10.pdf index 2de518f198..08f4794fb0 100644 Binary files a/macros/latex/base/ltnews10.pdf and b/macros/latex/base/ltnews10.pdf differ diff --git a/macros/latex/base/ltnews11.pdf b/macros/latex/base/ltnews11.pdf index c374a53349..47d305bb00 100644 Binary files a/macros/latex/base/ltnews11.pdf and b/macros/latex/base/ltnews11.pdf differ diff --git a/macros/latex/base/ltnews12.pdf b/macros/latex/base/ltnews12.pdf index 386d78e184..353e08f72f 100644 Binary files a/macros/latex/base/ltnews12.pdf and b/macros/latex/base/ltnews12.pdf differ diff --git a/macros/latex/base/ltnews13.pdf b/macros/latex/base/ltnews13.pdf index 8385a22c65..9f04262286 100644 Binary files a/macros/latex/base/ltnews13.pdf and b/macros/latex/base/ltnews13.pdf differ diff --git a/macros/latex/base/ltnews14.pdf b/macros/latex/base/ltnews14.pdf index 569ded2002..07bf87f377 100644 Binary files a/macros/latex/base/ltnews14.pdf and b/macros/latex/base/ltnews14.pdf differ diff --git a/macros/latex/base/ltnews15.pdf b/macros/latex/base/ltnews15.pdf index 583e931323..48d7b278e4 100644 Binary files a/macros/latex/base/ltnews15.pdf and b/macros/latex/base/ltnews15.pdf differ diff --git a/macros/latex/base/ltnews16.pdf b/macros/latex/base/ltnews16.pdf index 60005231b7..86bce9ff9b 100644 Binary files a/macros/latex/base/ltnews16.pdf and b/macros/latex/base/ltnews16.pdf differ diff --git a/macros/latex/base/ltnews17.pdf b/macros/latex/base/ltnews17.pdf index b59c29cd94..4c4edcce1d 100644 Binary files a/macros/latex/base/ltnews17.pdf and b/macros/latex/base/ltnews17.pdf differ diff --git a/macros/latex/base/ltnews18.pdf b/macros/latex/base/ltnews18.pdf index ca3a515a2a..dbad7935b3 100644 Binary files a/macros/latex/base/ltnews18.pdf and b/macros/latex/base/ltnews18.pdf differ diff --git a/macros/latex/base/ltnews19.pdf b/macros/latex/base/ltnews19.pdf index 3f099b4a9e..254e795808 100644 Binary files a/macros/latex/base/ltnews19.pdf and b/macros/latex/base/ltnews19.pdf differ diff --git a/macros/latex/base/ltnews20.pdf b/macros/latex/base/ltnews20.pdf index 419a89a8b7..96ec4b6137 100644 Binary files a/macros/latex/base/ltnews20.pdf and b/macros/latex/base/ltnews20.pdf differ diff --git a/macros/latex/base/ltnews21.pdf b/macros/latex/base/ltnews21.pdf index 3e2441d77d..5829c7a022 100644 Binary files a/macros/latex/base/ltnews21.pdf and b/macros/latex/base/ltnews21.pdf differ diff --git a/macros/latex/base/ltnews22.pdf b/macros/latex/base/ltnews22.pdf index 5d38155d83..8a6b871ce8 100644 Binary files a/macros/latex/base/ltnews22.pdf and b/macros/latex/base/ltnews22.pdf differ diff --git a/macros/latex/base/ltnews23.pdf b/macros/latex/base/ltnews23.pdf index aa38c11c14..518555e784 100644 Binary files a/macros/latex/base/ltnews23.pdf and b/macros/latex/base/ltnews23.pdf differ diff --git a/macros/latex/base/ltnews24.pdf b/macros/latex/base/ltnews24.pdf index 91a8d86ba6..11210010a2 100644 Binary files a/macros/latex/base/ltnews24.pdf and b/macros/latex/base/ltnews24.pdf differ diff --git a/macros/latex/base/ltnews25.pdf b/macros/latex/base/ltnews25.pdf index add99bcdf0..4965241eec 100644 Binary files a/macros/latex/base/ltnews25.pdf and b/macros/latex/base/ltnews25.pdf differ diff --git a/macros/latex/base/ltnews26.pdf b/macros/latex/base/ltnews26.pdf index de17bfda82..9af3fd445a 100644 Binary files a/macros/latex/base/ltnews26.pdf and b/macros/latex/base/ltnews26.pdf differ diff --git a/macros/latex/base/ltnews27.pdf b/macros/latex/base/ltnews27.pdf index 72c1d5587d..1359bc7efc 100644 Binary files a/macros/latex/base/ltnews27.pdf and b/macros/latex/base/ltnews27.pdf differ diff --git a/macros/latex/base/ltnews28.pdf b/macros/latex/base/ltnews28.pdf index 3575e10cd4..f5cb87308b 100644 Binary files a/macros/latex/base/ltnews28.pdf and b/macros/latex/base/ltnews28.pdf differ diff --git a/macros/latex/base/ltnews29.pdf b/macros/latex/base/ltnews29.pdf index bcff75a9d6..5d618bc87e 100644 Binary files a/macros/latex/base/ltnews29.pdf and b/macros/latex/base/ltnews29.pdf differ diff --git a/macros/latex/base/ltnews30.pdf b/macros/latex/base/ltnews30.pdf index 8e96ec9962..35846d4fc9 100644 Binary files a/macros/latex/base/ltnews30.pdf and b/macros/latex/base/ltnews30.pdf differ diff --git a/macros/latex/base/ltnews31.pdf b/macros/latex/base/ltnews31.pdf index efebbb5b94..f0778f9d30 100644 Binary files a/macros/latex/base/ltnews31.pdf and b/macros/latex/base/ltnews31.pdf differ diff --git a/macros/latex/base/ltnews32.pdf b/macros/latex/base/ltnews32.pdf index 7e18de6fe5..aed46fe573 100644 Binary files a/macros/latex/base/ltnews32.pdf and b/macros/latex/base/ltnews32.pdf differ diff --git a/macros/latex/base/ltshipout-code.pdf b/macros/latex/base/ltshipout-code.pdf index 2798161f94..c5cfd30a88 100644 Binary files a/macros/latex/base/ltshipout-code.pdf and b/macros/latex/base/ltshipout-code.pdf differ diff --git a/macros/latex/base/ltshipout-doc.pdf b/macros/latex/base/ltshipout-doc.pdf index 36bf7eaddc..6a4b41f60e 100644 Binary files a/macros/latex/base/ltshipout-doc.pdf and b/macros/latex/base/ltshipout-doc.pdf differ diff --git a/macros/latex/base/ltvers.dtx b/macros/latex/base/ltvers.dtx index fcd722b0e8..dd69d5a6e3 100644 --- a/macros/latex/base/ltvers.dtx +++ b/macros/latex/base/ltvers.dtx @@ -115,7 +115,7 @@ {2020-10-01} % %<*2ekernel> -\def\patch@level{1} +\def\patch@level{2} % \end{macrocode} % % \begin{macro}{\development@branch@name} diff --git a/macros/latex/base/ltx3info.pdf b/macros/latex/base/ltx3info.pdf index df2407717f..620a9b2c6f 100644 Binary files a/macros/latex/base/ltx3info.pdf and b/macros/latex/base/ltx3info.pdf differ diff --git a/macros/latex/base/ltxdoc.pdf b/macros/latex/base/ltxdoc.pdf index e71726bb93..5080c0e0bc 100644 Binary files a/macros/latex/base/ltxdoc.pdf and b/macros/latex/base/ltxdoc.pdf differ diff --git a/macros/latex/base/makeindx.pdf b/macros/latex/base/makeindx.pdf index 45c46bc9ea..97b26b4e72 100644 Binary files a/macros/latex/base/makeindx.pdf and b/macros/latex/base/makeindx.pdf differ diff --git a/macros/latex/base/manual.pdf b/macros/latex/base/manual.pdf index 431b6c3c45..0958c15eb6 100644 Binary files a/macros/latex/base/manual.pdf and b/macros/latex/base/manual.pdf differ diff --git a/macros/latex/base/modguide.pdf b/macros/latex/base/modguide.pdf index 046822176f..7dafc9125a 100644 Binary files a/macros/latex/base/modguide.pdf and b/macros/latex/base/modguide.pdf differ diff --git a/macros/latex/base/nfssfont.pdf b/macros/latex/base/nfssfont.pdf index 7de676f4ce..8292894e71 100644 Binary files a/macros/latex/base/nfssfont.pdf and b/macros/latex/base/nfssfont.pdf differ diff --git a/macros/latex/base/proc.pdf b/macros/latex/base/proc.pdf index e7d82693a1..a046c4fbfa 100644 Binary files a/macros/latex/base/proc.pdf and b/macros/latex/base/proc.pdf differ diff --git a/macros/latex/base/slides.pdf b/macros/latex/base/slides.pdf index 7081d4f442..37779f807a 100644 Binary files a/macros/latex/base/slides.pdf and b/macros/latex/base/slides.pdf differ diff --git a/macros/latex/base/slifonts.pdf b/macros/latex/base/slifonts.pdf index dc704d9b86..67f44b6017 100644 Binary files a/macros/latex/base/slifonts.pdf and b/macros/latex/base/slifonts.pdf differ diff --git a/macros/latex/base/source2e.pdf b/macros/latex/base/source2e.pdf index 3726b124d1..bc06f27f18 100644 Binary files a/macros/latex/base/source2e.pdf and b/macros/latex/base/source2e.pdf differ diff --git a/macros/latex/base/syntonly.pdf b/macros/latex/base/syntonly.pdf index 486c6597fd..c13cc82d80 100644 Binary files a/macros/latex/base/syntonly.pdf and b/macros/latex/base/syntonly.pdf differ diff --git a/macros/latex/base/tlc2.pdf b/macros/latex/base/tlc2.pdf index ba77288259..03eec97dc7 100644 Binary files a/macros/latex/base/tlc2.pdf and b/macros/latex/base/tlc2.pdf differ diff --git a/macros/latex/base/tulm.pdf b/macros/latex/base/tulm.pdf index 93c492ea0c..e67d8d3522 100644 Binary files a/macros/latex/base/tulm.pdf and b/macros/latex/base/tulm.pdf differ diff --git a/macros/latex/base/usrguide.pdf b/macros/latex/base/usrguide.pdf index ce13d76976..96de459ec3 100644 Binary files a/macros/latex/base/usrguide.pdf and b/macros/latex/base/usrguide.pdf differ diff --git a/macros/latex/base/utf8ienc.pdf b/macros/latex/base/utf8ienc.pdf index ee4c898fbb..e97c6a4527 100644 Binary files a/macros/latex/base/utf8ienc.pdf and b/macros/latex/base/utf8ienc.pdf differ diff --git a/macros/latex/base/webcomp.pdf b/macros/latex/base/webcomp.pdf index 754b111b1d..a6b1e79980 100644 Binary files a/macros/latex/base/webcomp.pdf and b/macros/latex/base/webcomp.pdf differ -- cgit v1.2.3