[luatex] incompatible change to mathcode

Ulrike Fischer luatex at nililand.de
Wed May 9 09:59:40 CEST 2012

Am Tue, 8 May 2012 22:38:17 +0200 schrieb Khaled Hosny:

> On Tue, May 08, 2012 at 08:11:45PM +0100, David Carlisle wrote:
>> Luatex has changed mathcode to allow a larger numeric range however
>> changing TeX primitives without giving them new names seems suspect
>> and in this particular case, since \mathcode has changed but
>> \mathchardef has not the essential link between these two commands
>> has been broken.

> We extend other primitives as well, e.g. \char (XeTeX does, too).
> IMO, I think we should just extend \mathchardef in a similar way, so
> that \mathchardef\matha\mathcode`a works again.

XeTeX doesn't change \mathcode, it has new primitive commands like
\XeTeXmathcodenum, \XeTeXmathchardef etc. 

Ulrike Fischer 

More information about the luatex mailing list