# [luatex] incompatible change to mathcode

Hans Hagen pragma at wxs.nl
Wed May 9 16:25:46 CEST 2012

```On 9-5-2012 15:16, Khaled Hosny wrote:
> On Wed, May 09, 2012 at 01:48:05PM +0200, Taco Hoekwater wrote:
>> On 05/09/2012 01:24 PM, Khaled Hosny wrote:
>>>>
>>>> That said, probably the result of (\the)\mathcode can be reverted
>>>> back to compatibility with TeX82, and output a warning (and zero)
>>>> if the actual value is out-of-range (like XeTeX does).
>>>
>>> Attached a patch that does this (with the added bonus of fixing the
>>> damage of luatex-unicode-letters.tex), what do you think? if it is OK,
>>> I'll commit it.
>>
>> For this case it looks fine, but perhaps there should be a similar check
>> for handling \omathchardef?
>
> Now that you bring it, do we really need the old aleph variants? They
> don't seem to be used anywhere in my full TL installation, so there is
> no case of backward compatibility and I see no practical need for them
> when we have the new Unicode variants. I'd rather remove them completely
> and simplify the code.

They just came with the omega/aleph code. The same is true for ofm/ovf
support (no useful fonts in that format are available anyway) btu there
the burden is small.

Hans

-----------------------------------------------------------------