diff options
Diffstat (limited to 'tex/context/base/mkiv/node-nut.lua')
-rw-r--r-- | tex/context/base/mkiv/node-nut.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/node-nut.lua b/tex/context/base/mkiv/node-nut.lua index 0c6714667..ed3c06c28 100644 --- a/tex/context/base/mkiv/node-nut.lua +++ b/tex/context/base/mkiv/node-nut.lua @@ -203,6 +203,11 @@ if not direct.getcomponents then end +if LUATEXVERSION < 1.005 then + local getfield = direct.getfield + function direct.getsup(n) return getfield(n,"sup") end +end + -- if LUATEXVERSION < 1.004 then -- local gc = direct.getcomponents -- getcomponents = function(n) local c = gc(n) return c ~= 0 and c or nil end |