diff options
Diffstat (limited to 'tex/context/base/strc-mat.lua')
-rw-r--r-- | tex/context/base/strc-mat.lua | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/tex/context/base/strc-mat.lua b/tex/context/base/strc-mat.lua index 291cc8845..d9cca2717 100644 --- a/tex/context/base/strc-mat.lua +++ b/tex/context/base/strc-mat.lua @@ -6,19 +6,15 @@ if not modules then modules = { } end modules ['strc-mat'] = { license = "see context related readme files" } -structure = structure or { } -structure.helpers = structure.helpers or { } -structure.lists = structure.lists or { } -structure.lists.enhancers = structure.lists.enhancers or { } -structure.sections = structure.sections or { } -structure.helpers = structure.helpers or { } -structure.formulas = structure.formulas or { } - -local lists = structure.lists -local sections = structure.sections -local floats = structure.floats -local helpers = structure.helpers -local formulas = structure.formulas +local structures = structures + +local lists = structures.lists +local sections = structures.sections +local floats = structures.floats +local helpers = structures.helpers +local formulas = structures.formulas + +lists.enhancers = lists.enhancers or { } -- maybe we want to do clever things with formulas, the store might go away |