From fda54a2d18e4bdc3294b3ee6a3237146474b0b12 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 14 Jun 2016 22:41:50 +0000 Subject: cloze (14jun16) git-svn-id: svn://tug.org/texlive/trunk@41451 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/cloze/cloze.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/scripts/cloze') 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 -- cgit v1.2.3