diff options
Diffstat (limited to 'tex/context/base/mkiv/node-ini.lua')
-rw-r--r-- | tex/context/base/mkiv/node-ini.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/node-ini.lua b/tex/context/base/mkiv/node-ini.lua index 0b048d0e3..797047d6b 100644 --- a/tex/context/base/mkiv/node-ini.lua +++ b/tex/context/base/mkiv/node-ini.lua @@ -350,7 +350,7 @@ end -- We use the real node code numbers. -if CONTEXTLMTXMODE > 0 then +if environment.initex and CONTEXTLMTXMODE > 0 then local texchardef = tex.chardef @@ -358,7 +358,10 @@ if CONTEXTLMTXMODE > 0 then for i=0,nodecodes.glyph do texchardef(nodecodes[i] .. "nodecode",i) end - tex.set("internalcodesmode",1) + for i=0,#gluecodes do + texchardef(gluecodes[i] .. "subtypecode",i) + end + -- tex.set("internalcodesmode",1) -- obsolete end end |