diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-01 21:31:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-01 21:31:56 +0000 |
commit | 066294e1484186a568cbc76e4736a69932788381 (patch) | |
tree | c5a47d1b4b2b449d3565c448dc63d0fdc9b45d49 | |
parent | e7e28b1d2583da9c779021e16a4b4b27a5f20ad1 (diff) |
lualatex-math (1jan22)
git-svn-id: svn://tug.org/texlive/trunk@61464 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf | bin | 207264 -> 207653 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx | 36 | ||||
-rw-r--r-- | Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty | 31 |
3 files changed, 43 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf b/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf Binary files differindex 14435039e79..67c34453918 100644 --- a/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf +++ b/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf 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} 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 { |