latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
245 stars 29 forks source link

Adaptation of hooks to the new release of LaTeX #574

Closed pablgonz closed 2 years ago

pablgonz commented 2 years ago

Description

Just as a report and since the new LaTeX release is coming soon, maybe you should adapt this (hooks) a little bit.

Add info or delete as appropriate:

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\[
  a = b
\]
\end{document}

Further details

LaTeX hooks Warning: Generic hook 'package/before/amsmath' is deprecated.
(hooks)              Use hook 'package/amsmath/before' instead.

LaTeX hooks Warning: Generic hook 'package/after/mathtools' is deprecated.
(hooks)              Use hook 'package/mathtools/after' instead.

LaTeX hooks Warning: Generic hook 'package/after/icomma' is deprecated.
(hooks)              Use hook 'package/icomma/after' instead.
schtandard commented 2 years ago

Just as a further data point: Compiling the same MWE with \documentclass{scrartcl} yields a full 28 of those warnings.

xsrvmy commented 2 years ago

XeTeX does not produce these warnings. Looking at the log, it looks like the bug is actually produced by lualatex-math. I'm going to report an issue there instead.