\Umathchardef\z"1"1"12
\count0=\z
\showthe\count0
\end
produces the (expected)
18874386.
l.6 \showthe\count0
in luatex but in xetex it produces the error
! You can't use `\Umathchar"1"1"12' after \the.
l.4 \count0=\z
An error isn't really expected here as the analogous use of
\mathchardef in classic tex produces a valid number, also the
error message just mentions \Umathchar which isn't really used.
Would it be possible for tokens defined by \Umathchardef to be valid
<number> ?</number>
See also the test umathchardef-001 at
Anonymous
Hi Jonathan and David,
I wrote a patch to fix this issue; it's very simple: see attached.
oh one line!, thanks.