From b5ef32a9a6a99e134e669b702e89a55fbabf5306 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sun, 19 Feb 2017 17:46:26 +0100 Subject: 2017-02-19 17:20:00 --- tex/context/base/mkiv/node-nut.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tex/context/base/mkiv/node-nut.lua') 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 -- cgit v1.2.3