diff options
Diffstat (limited to 'tex/context/base/mkxl/node-ini.lmt')
-rw-r--r-- | tex/context/base/mkxl/node-ini.lmt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/node-ini.lmt b/tex/context/base/mkxl/node-ini.lmt index a0c447954..06e36147c 100644 --- a/tex/context/base/mkxl/node-ini.lmt +++ b/tex/context/base/mkxl/node-ini.lmt @@ -34,9 +34,19 @@ local getvalues = node.values tex.magicconstants = { -- we use tex.constants for something else running = -1073741824, -- null_flag maxdimen = 1073741823, -- max_dimen - trueinch = 4736286, + -- trueinch = 4736286, -- obsolete } +do + local c = status.getconstants() + local t = { } + for k, v in next, c do + t[gsub(k,"_","")] = v + end + + tex.magicconstants = table.setmetatableindex(t,c) +end + local listcodes = mark(getsubtypes("list")) local rulecodes = mark(getsubtypes("rule")) local dircodes = mark(getsubtypes("dir")) |