1if not modules then modules = { } end modules ['unic-ini'] = {
2 version = 1.001,
3 comment = "companion to unic-ini.mkiv",
4 author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
5 copyright = "PRAGMA ADE / ConTeXt Development Team",
6 license = "see context related readme files"
7}
8
9local context = context
10local utfchar = utf.char
11
12
13
14
15interfaces.implement {
16 name = "unicodechar",
17 arguments = "string",
18 actions = function(asked)
19 local n = characters.unicodechar(asked)
20 if n then
21 context(utfchar(n))
22 end
23 end
24}
25 |