diff options
Diffstat (limited to 'tex/context/base/math-ini.lua')
-rw-r--r-- | tex/context/base/math-ini.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/math-ini.lua b/tex/context/base/math-ini.lua index 9efc8ce64..838ed0e80 100644 --- a/tex/context/base/math-ini.lua +++ b/tex/context/base/math-ini.lua @@ -13,6 +13,8 @@ local utf = unicode.utf8 local texsprint, format, utfchar, utfbyte = tex.sprint, string.format, utf.char, utf.byte +local allocate = utilities.storage.allocate + local trace_defining = false trackers.register("math.defining", function(v) trace_defining = v end) local report_math = logs.new("mathematics") @@ -23,11 +25,11 @@ local mathematics = mathematics mathematics.extrabase = 0xFE000 -- here we push some virtuals mathematics.privatebase = 0xFF000 -- here we push the ex -local families = { +local families = allocate { tf = 0, it = 1, sl = 2, bf = 3, bi = 4, bs = 5, -- virtual fonts or unicode otf } -local classes = { +local classes = allocate { ord = 0, -- mathordcomm mathord op = 1, -- mathopcomm mathop bin = 2, -- mathbincomm mathbin |