diff options
Diffstat (limited to 'lualibs-basic.lua')
-rw-r--r-- | lualibs-basic.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lualibs-basic.lua b/lualibs-basic.lua index cf8d6ea..8bdaf70 100644 --- a/lualibs-basic.lua +++ b/lualibs-basic.lua @@ -11,18 +11,15 @@ local lualibs_basic_module = { license = "See ConTeXt's mreadme.pdf for the license", } -local find_file, error, warn, info -if luatexbase and luatexbase.provides_module then - error, warn, info = luatexbase.provides_module(lualibs_basic_module) -else - error, warn, info = texio.write_nl, texio.write_nl, texio.write_nl -- stub -end +local lualibs = _G.config.lualibs +local error, warn, info = lualibs.error, lualibs.warn, lualibs.info local loadmodule = lualibs.loadmodule local stringformat = string.format local loaded = false if lualibs.prefer_merged then + info"Loading merged package for collection “basic”." loaded = loadmodule('lualibs-basic-merged.lua') else info"Ignoring merged packages." |