summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-03-21 22:04:41 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-03-21 22:04:41 +0100
commitcb28e8807d7908cc9644c2bd77c9d214dd8caefe (patch)
tree8865d48126fcb896a21252a42ea679ef6d867973 /tex/context/base/mkiv/node-ini.lua
parent9fed721832d90d94caa292b8e6b7f22c88d03c3b (diff)
downloadcontext-cb28e8807d7908cc9644c2bd77c9d214dd8caefe.tar.gz
2021-03-21 21:08:00
Diffstat (limited to 'tex/context/base/mkiv/node-ini.lua')
-rw-r--r--tex/context/base/mkiv/node-ini.lua13
1 files changed, 11 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/node-ini.lua b/tex/context/base/mkiv/node-ini.lua
index 701e3efa9..4c27357b7 100644
--- a/tex/context/base/mkiv/node-ini.lua
+++ b/tex/context/base/mkiv/node-ini.lua
@@ -168,8 +168,9 @@ literalvalues = allocate(swapped(literalvalues,literalvalues))
if not nodecodes.delimiter then
-- as in luametatex / lmtx
- nodecodes.delimiter = nodecodes.delim
- nodecodes[nodecodes.delimiter] = "delimiter"
+ local d = nodecodes.delim
+ nodecodes.delimiter = d
+ nodecodes[d] = "delimiter"
nodecodes.delim = nil
end
@@ -180,6 +181,14 @@ if not nodecodes.par then
nodecodes[p] = "par"
end
+if not nodecodes.insert then
+ -- as in luametatex / lmtx
+ local i = nodecodes.ins
+ nodecodes.insert = i
+ nodecodes[i] = "insert"
+ nodecodes.ins = nil
+end
+
if not gluecodes.indentskip then
gluecodes.indentskip = gluecodes.userskip
gluecodes.lefthangskip = gluecodes.userskip