diff options
Diffstat (limited to 'tex/context/base/status-mkiv.tex')
-rw-r--r-- | tex/context/base/status-mkiv.tex | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tex/context/base/status-mkiv.tex b/tex/context/base/status-mkiv.tex index 4c764e4f7..4127b35de 100644 --- a/tex/context/base/status-mkiv.tex +++ b/tex/context/base/status-mkiv.tex @@ -58,7 +58,10 @@ if preloaded then - for i=1,#preloaded do + local nofunknown = 0 + local nofloaded = #preloaded + + for i=1,nofloaded do preloaded[i].order = i end @@ -71,18 +74,27 @@ context.NC() context.bold("status") context.NC() context.bold("comment") context.NC() context.NR() - for i=1,#preloaded do + for i=1,nofloaded do local module = preloaded[i] local status = module.status context.NC() context(module.order) context.NC() context(module.filename) context.NC() context(module.marktype) - context.NC() if status == "unknown" then context.bold(status) else context(status) end + if status == "unknown" then + context.NC() context.bold(status) + nofunknown = nofunknown + 1 + else + context.NC() context(status) + end context.NC() context(module.comment) context.NC() context.NR() end context.stoptabulate() + context.blank() + + context("Of the %s core modules (so far) in this list %s have the status unknown",nofloaded,nofunknown) + end end |