diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-11-19 20:15:06 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-11-19 20:15:06 +0100 |
commit | adc43c3c243ed95215af6fe02d71e393c178da23 (patch) | |
tree | aad04954cbfb0378c65fd2b98e7c924245aad372 /tex/context/base/node-fin.lua | |
parent | 726a663be481042003566d4614266b940b5a0c91 (diff) | |
download | context-adc43c3c243ed95215af6fe02d71e393c178da23.tar.gz |
2015-11-19 19:15:00
Diffstat (limited to 'tex/context/base/node-fin.lua')
-rw-r--r-- | tex/context/base/node-fin.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/node-fin.lua b/tex/context/base/node-fin.lua index 84c5b9a2f..d83dceb9f 100644 --- a/tex/context/base/node-fin.lua +++ b/tex/context/base/node-fin.lua @@ -34,6 +34,7 @@ local insert_node_after = nuts.insert_after local nodecodes = nodes.nodecodes local whatcodes = nodes.whatcodes +local rulecodes = nodes.rulecodes local glyph_code = nodecodes.glyph local disc_code = nodecodes.disc @@ -43,6 +44,8 @@ local whatsit_code = nodecodes.whatsit local hlist_code = nodecodes.hlist local vlist_code = nodecodes.vlist +local normal_rule = rulecodes.normal + local pdfliteral_code = whatcodes.pdfliteral local states = attributes.states @@ -215,7 +218,9 @@ local function process(namespace,attribute,head,inheritance,default) -- one attr -- end nested -- end elseif id == rule_code then +-- if subtype(stack) == normal_rule then check = getfield(stack,"width") ~= 0 +-- end end -- much faster this way than using a check() and nested() function if check then @@ -330,7 +335,9 @@ local function selective(namespace,attribute,head,inheritance,default) -- two at -- end nested end elseif id == rule_code then +-- if subtype(stack) == normal_rule then check = getfield(stack,"width") ~= 0 +-- end end if check then @@ -449,7 +456,9 @@ local function stacked(namespace,attribute,head,default) -- no triggering, no in end end elseif id == rule_code then +-- if subtype(stack) == normal_rule then check = getfield(stack,"width") ~= 0 +-- end end if check then @@ -535,7 +544,9 @@ local function stacker(namespace,attribute,head,default) -- no triggering, no in done = done or ok end elseif id == rule_code then +-- if subtype(stack) == normal_rule then check = getfield(current,"width") ~= 0 +-- end end if check then |