1if not modules then modules = { } end modules ['luat-ini'] = {
2 version = 1.001,
3 comment = "companion to luat-lib.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
9
10
11
12
13userdata = userdata or { }
14thirddata = thirddata or { }
15moduledata = moduledata or { }
16documentdata = documentdata or { }
17parametersets = parametersets or { }
18
19table.setmetatableindex(moduledata,"table")
20table.setmetatableindex(thirddata, "table")
21
22if not global then
23 global = _G
24end
25
26LUATEXVERSION = status.luatex_version/100 + tonumber(status.luatex_revision)/10000
27LUATEXENGINE = status.luatex_engine and string.lower(status.luatex_engine) or "luametatex"
28LUATEXFUNCTIONALITY = status.development_id or 6346
29LUATEXFORMATID = status.format_id or 0
30JITSUPPORTED = false
31INITEXMODE = status.run_state == 0
32CONTEXTLMTXMODE = 0
33
34status.ini_version = INITEXMODE
35
36function os.setlocale()
37
38end
39 |