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