summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/cloze
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-14 22:41:50 +0000
committerKarl Berry <karl@freefriends.org>2016-06-14 22:41:50 +0000
commitfda54a2d18e4bdc3294b3ee6a3237146474b0b12 (patch)
tree3f993e2034e43ccb36d4c4fe35025176f0e68040 /Master/texmf-dist/scripts/cloze
parent77d1db80f0310c7792f69aabde1a2ca08e21365f (diff)
cloze (14jun16)
git-svn-id: svn://tug.org/texlive/trunk@41451 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/cloze')
-rwxr-xr-xMaster/texmf-dist/scripts/cloze/cloze.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/cloze/cloze.lua b/Master/texmf-dist/scripts/cloze/cloze.lua
index dc05de9af43..aa48473a349 100755
--- a/Master/texmf-dist/scripts/cloze/cloze.lua
+++ b/Master/texmf-dist/scripts/cloze/cloze.lua
@@ -75,10 +75,8 @@ end
function nodex.create_linefil()
local glue = node.new('glue')
glue.subtype = 100
- local glue_spec = node.new('glue_spec')
- glue_spec.stretch = 65536
- glue_spec.stretch_order = 3
- glue.spec = glue_spec
+ glue.stretch = 65536
+ glue.stretch_order = 3
local rule = nodex.create_line(0)
rule.dir = 'TLT'
glue.leader = rule
@@ -140,7 +138,7 @@ function registry.get_marker(item, mode, position)
end
function registry.get_marker_data(item)
if item.id == node.id('whatsit')
- and item.subtype == 44
+ and item.subtype == node.subtype('user_defined')
and item.user_id == registry.user_id then
return registry.get_storage(item.value)
else