diff options
author | Marius <mariausol@gmail.com> | 2011-02-09 16:40:14 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-02-09 16:40:14 +0200 |
commit | ed637df24cc8435fc78d30bc08c89f7db60b39c9 (patch) | |
tree | e7cf119063bef00fcd4c3193bb8f8440686bd581 /tex/context/base/symb-ini.lua | |
parent | 03766f7aaa5a741c5d52a1ee8201a887e594b350 (diff) | |
download | context-ed637df24cc8435fc78d30bc08c89f7db60b39c9.tar.gz |
beta 2011.02.09 15:29
Diffstat (limited to 'tex/context/base/symb-ini.lua')
-rw-r--r-- | tex/context/base/symb-ini.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/context/base/symb-ini.lua b/tex/context/base/symb-ini.lua index 7e1292d1c..eb4315c62 100644 --- a/tex/context/base/symb-ini.lua +++ b/tex/context/base/symb-ini.lua @@ -11,6 +11,9 @@ local variables = interfaces.variables fonts.symbols = fonts.symbols or { } local symbols = fonts.symbols +local report_symbols = logs.reporter ("fonts","symbols") +local status_symbols = logs.messenger("fonts","symbols") + local patterns = { "symb-imp-%s.mkiv", "symb-imp-%s.tex", "symb-%s.mkiv", "symb-%s.tex" } function symbols.uselibrary(name) @@ -19,12 +22,13 @@ function symbols.uselibrary(name) -- context.startnointerference() context.startreadingfile() context.input(foundname) - context.showmessage("symbols",1,name) + status_symbols("loaded: library '%s'",name) context.stopreadingfile() -- context.stopnointerference() + end, function(name) + report_symbols("unknown: library '%s'",name) end) end end commands.usesymbols = symbols.uselibrary - |