summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/lualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-01 21:31:56 +0000
committerKarl Berry <karl@freefriends.org>2022-01-01 21:31:56 +0000
commit066294e1484186a568cbc76e4736a69932788381 (patch)
treec5a47d1b4b2b449d3565c448dc63d0fdc9b45d49 /Master/texmf-dist/source/lualatex
parente7e28b1d2583da9c779021e16a4b4b27a5f20ad1 (diff)
lualatex-math (1jan22)
git-svn-id: svn://tug.org/texlive/trunk@61464 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/lualatex')
-rw-r--r--Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx36
1 files changed, 23 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx b/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
index cde46540af9..63acae82f98 100644
--- a/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
+++ b/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% Copyright 2011–2020 by Philipp Stephani, Joseph Wright, and Will Robertson
-% Copyright 2021 Google LLC
+% Copyright 2021, 2022 Google LLC
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -32,7 +32,7 @@
%</driver>
% \fi
%
-% \CheckSum{314}
+% \CheckSum{322}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -151,7 +151,7 @@
%<@@=lltxmath>
\NeedsTeXFormat{LaTeX2e}[2020/02/02]
\RequirePackage{expl3}[2018/06/18]
-\ProvidesExplPackage{lualatex-math}{2021/07/05}{1.11}%
+\ProvidesExplPackage{lualatex-math}{2022/01/01}{1.12}%
{Patches for mathematics typesetting with LuaLaTeX}
\RequirePackage { etoolbox } [ 2007/10/08 ]
\cs_if_exist:NF \newluabytecode
@@ -323,21 +323,31 @@
% \meta{code} after the \meta{package} is loaded. If the \meta{package} is
% already loaded, nothing happens. We prefer using native \hologo{LaTeX2e}
% hooks if possible.
+% \changes{v1.12}{2022-01-01}{Use the new generic hook names if available}
% \begin{macrocode}
-\@ifl@t@r \fmtversion { 2020/10/01 } {
+\@ifl@t@r \fmtversion { 2021/11/15 } {
\cs_new_protected_nopar:Npn \@@_before_package:nn #1 #2 {
- \AddToHook { package/before/#1 } { #2 }
+ \AddToHook { package/#1/before } { #2 }
}
\cs_new_protected_nopar:Npn \@@_after_package:nn #1 #2 {
- \AddToHook { package/after/#1 } { #2 }
+ \AddToHook { package/#1/after } { #2 }
}
-} {
- \RequirePackage { filehook } [ 2011/03/09 ]
- \cs_new_protected_nopar:Npn \@@_before_package:nn #1 #2 {
- \AtBeginOfPackageFile { #1 } { #2 }
- }
- \cs_new_protected_nopar:Npn \@@_after_package:nn #1 #2 {
- \AtEndOfPackageFile { #1 } { #2 }
+}{
+ \@ifl@t@r \fmtversion { 2020/10/01 } {
+ \cs_new_protected_nopar:Npn \@@_before_package:nn #1 #2 {
+ \AddToHook { package/before/#1 } { #2 }
+ }
+ \cs_new_protected_nopar:Npn \@@_after_package:nn #1 #2 {
+ \AddToHook { package/after/#1 } { #2 }
+ }
+ } {
+ \RequirePackage { filehook } [ 2011/03/09 ]
+ \cs_new_protected_nopar:Npn \@@_before_package:nn #1 #2 {
+ \AtBeginOfPackageFile { #1 } { #2 }
+ }
+ \cs_new_protected_nopar:Npn \@@_after_package:nn #1 #2 {
+ \AtEndOfPackageFile { #1 } { #2 }
+ }
}
}
% \end{macrocode}