diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-21 00:55:45 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-21 00:55:45 +0200 |
commit | 1e04ecc2c4918448e8ff30a2e6363025267cac79 (patch) | |
tree | b31b5a94146a0a300b3fd09cb50d5736a002f086 /lualibs-extended.lua | |
parent | 465d4cbb1ba7162d6c60ebd55449c71981f1b75c (diff) | |
download | lualibs-1e04ecc2c4918448e8ff30a2e6363025267cac79.tar.gz |
add rudimentary verbosity switch
Diffstat (limited to 'lualibs-extended.lua')
-rw-r--r-- | lualibs-extended.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lualibs-extended.lua b/lualibs-extended.lua index 438910b..b0aea31 100644 --- a/lualibs-extended.lua +++ b/lualibs-extended.lua @@ -11,12 +11,8 @@ local lualibs_extended_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_extended_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 stringformat = string.format local loadmodule = lualibs.loadmodule @@ -122,6 +118,7 @@ fake_context() local loaded = false if lualibs.prefer_merged then + info"Loading merged package for collection “extended”." loaded = loadmodule('lualibs-extended-merged.lua') else info"Ignoring merged packages." |