[luatex] incompatible change to mathcode
davidc at nag.co.uk
Tue May 8 21:11:45 CEST 2012
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.
This has come to light (again) due to a latex bug report that the core
tools latex package bm is broken in lualatex
Searching with google suggests that several other packages notably
amsmath are similarly broken but workarounds have been provided on an ad
Can this change be reversed and TeX primitives _not_ be changed in
on systems compatible with TeX
on lulatex it produces:
$ lualatex bm99
This is LuaTeX, Version beta-0.70.1-2012042619 (rev 4277)
restricted \write18 enabled.
LuaTeX adaptation of babel <v3.8l-luatex-1.4> and hyphenation patterns
ish, dumylang, nohyphenation, loaded.
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
! Invalid math code.
More information about the luatex