diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-08-19 13:10:04 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2018-08-19 13:10:04 +0200 |
commit | 7539371c37c02bc2bc6c5d7ebffa2ffc6fec36c3 (patch) | |
tree | 8a2e1e9bfba18c3ee1897eda50f76f4726bdd108 /tex/context/base/mkiv/node-rul.lua | |
parent | 0fcb576f359edfdd50c2b13615a03b966a9073df (diff) | |
download | context-7539371c37c02bc2bc6c5d7ebffa2ffc6fec36c3.tar.gz |
2018-08-19 13:00:00
Diffstat (limited to 'tex/context/base/mkiv/node-rul.lua')
-rw-r--r-- | tex/context/base/mkiv/node-rul.lua | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/node-rul.lua b/tex/context/base/mkiv/node-rul.lua index bb63e6668..3b5a036ea 100644 --- a/tex/context/base/mkiv/node-rul.lua +++ b/tex/context/base/mkiv/node-rul.lua @@ -58,7 +58,6 @@ local find_tail = nuts.tail local setglue = nuts.setglue local list_dimensions = nuts.rangedimensions local hpack_nodes = nuts.hpack -local current_attr = nuts.current_attr local copy_list = nuts.copy_list local nexthlist = nuts.traversers.hlist @@ -145,7 +144,7 @@ local function usernutrule(t,noattributes) if noattributes == false or noattributes == nil then -- avoid fuzzy ones else - setattrlist(r,current_attr()) + setattrlist(r,true) end properties[r] = t return r @@ -157,9 +156,11 @@ local function userrule(t,noattributes) return tonode(usernutrule(t,noattributes)) end -rules.userrule = userrule -local ruleactions = { } -rules.ruleactions = ruleactions +rules.userrule = userrule +local ruleactions = { } + +rules .ruleactions = ruleactions +nutrules.ruleactions = ruleactions -- convenient local function mathradical(n,h,v) ----- size = getfield(n,"index") @@ -893,7 +894,7 @@ interfaces.implement { t.height, t.depth ) - setattrlist(n,current_attr()) + setattrlist(n,true) if LUATEXFUNCTIONALITY >= 6710 then if l then setfield(n,"left",l) |