Only set mathcodes in initex
This commit is contained in:
parent
c8a96a987d
commit
ccafacf7ac
@ -244,6 +244,8 @@ token.luacmd("Umathcodenum", function(_, scanning)
|
||||
end
|
||||
end, "force", "global", "value")
|
||||
|
||||
if status.ini_version then
|
||||
|
||||
for i=0x30,0x39 do
|
||||
tex.setmathcode(i, 7, 0, i)
|
||||
end
|
||||
@ -252,3 +254,4 @@ for i=0x41,0x5A do
|
||||
tex.setmathcode(i, 7, 1, i)
|
||||
tex.setmathcode(i+0x20, 7, 1, i+0x20)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user