diff options
author | Marius <mariausol@gmail.com> | 2011-02-04 01:40:12 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-02-04 01:40:12 +0200 |
commit | 9f01e839943b3edf71e6272d9d9e40d9cb74d2ee (patch) | |
tree | 3d6937e032ebda2b57a9d983bc56029af65dd703 /tex/context/base/symb-ini.lua | |
parent | 9cad29f0d0ae5b3e2d4eb31218ad9f6c83d40b9f (diff) | |
download | context-9f01e839943b3edf71e6272d9d9e40d9cb74d2ee.tar.gz |
beta 2011.02.04 00:30
Diffstat (limited to 'tex/context/base/symb-ini.lua')
-rw-r--r-- | tex/context/base/symb-ini.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tex/context/base/symb-ini.lua b/tex/context/base/symb-ini.lua new file mode 100644 index 000000000..7e1292d1c --- /dev/null +++ b/tex/context/base/symb-ini.lua @@ -0,0 +1,30 @@ +if not modules then modules = { } end modules ['symb-ini'] = { + version = 1.001, + comment = "companion to symb-ini.mkiv", + author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", + copyright = "PRAGMA ADE / ConTeXt Development Team", + license = "see context related readme files" +} + +local variables = interfaces.variables + +fonts.symbols = fonts.symbols or { } +local symbols = fonts.symbols + +local patterns = { "symb-imp-%s.mkiv", "symb-imp-%s.tex", "symb-%s.mkiv", "symb-%s.tex" } + +function symbols.uselibrary(name) + if name ~= variables.reset then + commands.uselibrary(name,patterns,function(name,foundname) + -- context.startnointerference() + context.startreadingfile() + context.input(foundname) + context.showmessage("symbols",1,name) + context.stopreadingfile() + -- context.stopnointerference() + end) + end +end + +commands.usesymbols = symbols.uselibrary + |