diff options
Diffstat (limited to 'tex/context/base/node-rul.lua')
-rw-r--r-- | tex/context/base/node-rul.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tex/context/base/node-rul.lua b/tex/context/base/node-rul.lua index 4cbd1ad0c..7f49edffc 100644 --- a/tex/context/base/node-rul.lua +++ b/tex/context/base/node-rul.lua @@ -74,8 +74,6 @@ local a_color = attributes.private('color') local a_transparency = attributes.private('transparency') local a_colorspace = attributes.private('colormodel') -local texwrite = tex.write - local insert_before = node.insert_before local insert_after = node.insert_after local striprange = nodes.striprange @@ -234,7 +232,7 @@ local data = nodes.rules.data function nodes.rules.define(settings) data[#data+1] = settings - texwrite(#data) + context(#data) end local a_viewerlayer = attributes.private("viewerlayer") @@ -340,7 +338,7 @@ local data = nodes.shifts.data function nodes.shifts.define(settings) data[#data+1] = settings - texwrite(#data) + context(#data) end local function flush_shifted(head,first,last,data,level,parent,strip) -- not that fast but acceptable for this purpose |