summaryrefslogtreecommitdiff
path: root/tex/context/base/node-fin.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-11-26 13:15:05 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-11-26 13:15:05 +0100
commit5e624488bd860906c17301941c96e6209a9e4cd6 (patch)
tree1a517cfd2d5d4787879fdd3673f0d123c970c9b9 /tex/context/base/node-fin.lua
parent156e528557cf571eb99ab05a0892429b3c2bf269 (diff)
downloadcontext-5e624488bd860906c17301941c96e6209a9e4cd6.tar.gz
2014-11-26 12:52:00
Diffstat (limited to 'tex/context/base/node-fin.lua')
-rw-r--r--tex/context/base/node-fin.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/node-fin.lua b/tex/context/base/node-fin.lua
index 1566e099f..f38f0bf85 100644
--- a/tex/context/base/node-fin.lua
+++ b/tex/context/base/node-fin.lua
@@ -168,7 +168,6 @@ function states.finalize(namespace,attribute,head) -- is this one ok?
return head, false, false
end
--- disc nodes can be ignored
-- we need to deal with literals too (reset as well as oval)
-- if id == glyph_code or (id == whatsit_code and getsubtype(stack) == pdfliteral_code) or (id == rule_code and stack.width ~= 0) or (id == glue_code and stack.leader) then
@@ -181,6 +180,8 @@ local function process(namespace,attribute,head,inheritance,default) -- one attr
local id = getid(stack)
if id == glyph_code then
check = true
+ elseif id == disc_code then
+ check = true -- indeed
elseif id == glue_code then
leader = getleader(stack)
if leader then
@@ -294,6 +295,8 @@ local function selective(namespace,attribute,head,inheritance,default) -- two at
local id = getid(stack)
if id == glyph_code then
check = true
+ elseif id == disc_code then
+ check = true -- indeed
elseif id == glue_code then
leader = getleader(stack)
if leader then