summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-itm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-itm.lua')
-rw-r--r--tex/context/base/strc-itm.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/tex/context/base/strc-itm.lua b/tex/context/base/strc-itm.lua
index 53e0d56bf..1c7c2adb5 100644
--- a/tex/context/base/strc-itm.lua
+++ b/tex/context/base/strc-itm.lua
@@ -7,11 +7,8 @@ if not modules then modules = { } end modules ['strc-itm'] = {
}
local structures = structures
-
-structures.itemgroups = structures.itemgroups or { }
-local itemgroups = structures.itemgroups
-
-local jobpasses = job.passes
+local itemgroups = structures.itemgroups
+local jobpasses = job.passes
function itemgroups.register(name,nofitems,maxwidth)
jobpasses.savedata("itemgroup", { nofitems, maxwidth })