From 066294e1484186a568cbc76e4736a69932788381 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 1 Jan 2022 21:31:56 +0000 Subject: lualatex-math (1jan22) git-svn-id: svn://tug.org/texlive/trunk@61464 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/lualatex/lualatex-math/lualatex-math.sty | 31 ++++++++++++++-------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex/lualatex') diff --git a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty index 0c660a68fa7..31be3babe09 100644 --- a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty +++ b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty @@ -22,7 +22,7 @@ %% \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 @@ -87,20 +87,29 @@ } \scan_stop: } -\@ifl@t@r \fmtversion { 2020/10/01 } { +\@ifl@t@r \fmtversion { 2021/11/15 } { \cs_new_protected_nopar:Npn \__lltxmath_before_package:nn #1 #2 { - \AddToHook { package/before/#1 } { #2 } + \AddToHook { package/#1/before } { #2 } } \cs_new_protected_nopar:Npn \__lltxmath_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 \__lltxmath_before_package:nn #1 #2 { - \AtBeginOfPackageFile { #1 } { #2 } - } - \cs_new_protected_nopar:Npn \__lltxmath_after_package:nn #1 #2 { - \AtEndOfPackageFile { #1 } { #2 } +}{ + \@ifl@t@r \fmtversion { 2020/10/01 } { + \cs_new_protected_nopar:Npn \__lltxmath_before_package:nn #1 #2 { + \AddToHook { package/before/#1 } { #2 } + } + \cs_new_protected_nopar:Npn \__lltxmath_after_package:nn #1 #2 { + \AddToHook { package/after/#1 } { #2 } + } + } { + \RequirePackage { filehook } [ 2011/03/09 ] + \cs_new_protected_nopar:Npn \__lltxmath_before_package:nn #1 #2 { + \AtBeginOfPackageFile { #1 } { #2 } + } + \cs_new_protected_nopar:Npn \__lltxmath_after_package:nn #1 #2 { + \AtEndOfPackageFile { #1 } { #2 } + } } } \cs_new_protected_nopar:Npn \__lltxmath_after_package_or_now:nn #1 #2 { -- cgit v1.2.3