Open
Description
The mathml for amsmath's smallmatrix
seems fine to me but the log contains
==============...e/2025/texmf-dist/tex/lualatex/luamml/luamml-amsmath.lua:83: no
string to print
stack traceback:
[C]: in function 'texio.write_nl'
...e/2025/texmf-dist/tex/lualatex/luamml/luamml-amsmath.lua:83: in upvalue 'deb
ug_mtable'
...e/2025/texmf-dist/tex/lualatex/luamml/luamml-amsmath.lua:126: in function <.
..e/2025/texmf-dist/tex/lualatex/luamml/luamml-amsmath.lua:117>.
\__socket_tagsupport/math/luamml/mtable/smallmatrix/save_plug_luamml:w ...
l.27 \]
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
for the example
\DocumentMetadata
{
lang=en-US,
pdfversion=2.0,
pdfstandard=ua-2,
tagging=on,
}
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\[
\begin{matrix}
a & b \\
c & d
\end{matrix}
\]
\[
\begin{smallmatrix}
a & b \\
c & d
\end{smallmatrix}
\]
\end{document}
By the way, why are the amsmath patches in two locations? They are in both luamml-patches-amsmath.sty
and latex-lab-amsmath.ltx
. I see latex3/luamml#7 but both files still exist and are still loaded.