diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-04-12 18:03:49 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-04-12 18:03:49 +0200 |
commit | 171f7b525a5f7ddfb1631501cbc2d09722de4018 (patch) | |
tree | 594ab978abdaf0b3b42b1a5da96d2954e0d06159 /tex/context/base/mkiv/node-rul.lua | |
parent | 64f6e8fc0c6cb9254a6fe3db0b4ab31c51cf8524 (diff) | |
download | context-171f7b525a5f7ddfb1631501cbc2d09722de4018.tar.gz |
2019-04-12 17:51:00
Diffstat (limited to 'tex/context/base/mkiv/node-rul.lua')
-rw-r--r-- | tex/context/base/mkiv/node-rul.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/node-rul.lua b/tex/context/base/mkiv/node-rul.lua index 1df5bf32a..61d78668f 100644 --- a/tex/context/base/mkiv/node-rul.lua +++ b/tex/context/base/mkiv/node-rul.lua @@ -30,7 +30,6 @@ local nuts = nodes.nuts local tonode = nuts.tonode local tonut = nuts.tonut -local getfield = nuts.getfield local setnext = nuts.setnext local setprev = nuts.setprev local setlink = nuts.setlink @@ -50,7 +49,10 @@ local getwidth = nuts.getwidth local setwidth = nuts.setwidth local setoffsets = nuts.setoffsets local setfield = nuts.setfield -local getdata = nuts.getdata + +----- getfield = nuts.getfield +----- getdata = nuts.getdata +local getruledata = nuts.getruledata local isglyph = nuts.isglyph @@ -166,7 +168,7 @@ rules .ruleactions = ruleactions nutrules.ruleactions = ruleactions -- convenient local function mathaction(n,h,v,what) - local font = CONTEXTLMTXMODE > 1 and getdata(n) or getfield(n,"transform") + local font = getruledata(n) local actions = fontresources[font].mathruleactions if actions then local action = actions[what] |