summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/cloze
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-20 21:39:46 +0000
committerKarl Berry <karl@freefriends.org>2020-05-20 21:39:46 +0000
commitb9251a47b4f363da2f79b10bbc8723522c207bce (patch)
treecbc5e3c0facde52a02f0232abad5e9655e287561 /Master/texmf-dist/scripts/cloze
parentd1eeaae011ac8b28bbf550e24bc737dfba489a9d (diff)
cloze (20may20)
git-svn-id: svn://tug.org/texlive/trunk@55221 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/cloze')
-rwxr-xr-xMaster/texmf-dist/scripts/cloze/cloze.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/cloze/cloze.lua b/Master/texmf-dist/scripts/cloze/cloze.lua
index ffde9ca20f2..41b5ea00f02 100755
--- a/Master/texmf-dist/scripts/cloze/cloze.lua
+++ b/Master/texmf-dist/scripts/cloze/cloze.lua
@@ -1,5 +1,5 @@
if not modules then modules = { } end modules ['cloze'] = {
- version = '0.1',
+ version = '1.4',
comment = 'cloze',
author = 'Josef Friedrich, R.-M. Huber',
copyright = 'Josef Friedrich, R.-M. Huber',
@@ -11,14 +11,20 @@ registry.user_id = 3121978
registry.storage = {}
registry.defaults = {
['align'] = 'l',
+ ['boxheight'] = false,
+ ['boxwidth'] = '\\linewidth',
['distance'] = '1.5pt',
['hide'] = false,
['linecolor'] = '0 0 0 rg 0 0 0 RG', -- black
+ ['linecolor_name'] = 'black',
['margin'] = '3pt',
['resetcolor'] = '0 0 0 rg 0 0 0 RG', -- black
+ ['resetcolor_name'] = 'black',
['show_text'] = true,
['show'] = true,
+ ['spacing'] = '1.6',
['textcolor'] = '0 0 1 rg 0 0 1 RG', -- blue
+ ['textcolor_name'] = 'blue', -- blue
['thickness'] = '0.4pt',
['width'] = '2cm',
}
@@ -479,5 +485,6 @@ base.set_is_global = registry.set_is_global
base.unset_local_options = registry.unset_local_options
base.reset = registry.unset_global_options
base.get_defaults = registry.get_defaults
+base.get_value = registry.get_value
base.marker = registry.write_marker
return base