diff options
Diffstat (limited to 'tex/context/base/grph-epd.lua')
-rw-r--r-- | tex/context/base/grph-epd.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tex/context/base/grph-epd.lua b/tex/context/base/grph-epd.lua index c687e40a8..130907d4e 100644 --- a/tex/context/base/grph-epd.lua +++ b/tex/context/base/grph-epd.lua @@ -7,17 +7,20 @@ if not modules then modules = { } end modules ['grph-epd'] = { } local variables = interfaces.variables +local settings_to_hash = utilities.parsers.settings_to_hash -- todo: page, name, file, url +local codeinjections = backends.codeinjections + function figures.mergegoodies(optionlist) - local options = aux.settings_to_hash(optionlist) + local options = settings_to_hash(optionlist) local all = options[variables.all] or options[variables.yes] if all or options[variables.reference] then - backends.codeinjections.mergereferences() + codeinjections.mergereferences() end if all or options[variables.layer] then - backends.codeinjections.mergelayers() + codeinjections.mergeviewerlayers() end end |