Menu

#109 \Umathchardef control sequences as a number

Future
open
nobody
None
5
2019-12-17
2015-04-29
No

\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

https://github.com/davidcarlisle/utex

Discussion

  • Hironobu Yamashita

    Hi Jonathan and David,

    I wrote a patch to fix this issue; it's very simple: see attached.

     
  • David Carlisle

    David Carlisle - 2019-12-17

    oh one line!, thanks.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB