texlive[61464] Master/texmf-dist: lualatex-math (1jan22)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 1 22:31:56 CET 2022


Revision: 61464
          http://tug.org/svn/texlive?view=revision&revision=61464
Author:   karl
Date:     2022-01-01 22:31:56 +0100 (Sat, 01 Jan 2022)
Log Message:
-----------
lualatex-math (1jan22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf
    trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
    trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty

Modified: trunk/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
===================================================================
--- trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx	2022-01-01 21:31:38 UTC (rev 61463)
+++ trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx	2022-01-01 21:31:56 UTC (rev 61464)
@@ -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,22 +323,32 @@
 %   \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 at t@r \fmtversion { 2020/10/01 } {
+\@ifl at 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 }
+}{
+  \@ifl at 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 }
+    }
   }
-  \cs_new_protected_nopar:Npn \@@_after_package:nn #1 #2 {
-    \AtEndOfPackageFile { #1 } { #2 }
-  }
 }
 %    \end{macrocode}
 % \end{macro}

Modified: trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty	2022-01-01 21:31:38 UTC (rev 61463)
+++ trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty	2022-01-01 21:31:56 UTC (rev 61464)
@@ -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,21 +87,30 @@
   }
   \scan_stop:
 }
-\@ifl at t@r \fmtversion { 2020/10/01 } {
+\@ifl at 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 }
+}{
+  \@ifl at 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:nn #1 #2 {
-    \AtEndOfPackageFile { #1 } { #2 }
-  }
 }
 \cs_new_protected_nopar:Npn \__lltxmath_after_package_or_now:nn #1 #2 {
   \@ifpackageloaded { #1 } { #2 } { \__lltxmath_after_package:nn { #1 } { #2 } }



More information about the tex-live-commits mailing list.