summaryrefslogtreecommitdiff
path: root/tex/generic/context/luatex/luatex-core.tex
blob: 2e7c7d5d4a83e5977a8548e931ee94a7db9f473e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\starttext

\startluacode

    local report = logs.reporter("core")

    report("kpse used        : %i",status.kpse_used)
    report("shell escape     : %i",status.shell_escape)
    report("shell restricted : %i",status.shell_restricted)
    report("safer option     : %i",status.safer_option)

    if false then

        for l in io.open("luatex-core.lua"):lines() do
            print(l)
        end

        for l in io.lines("luatex-core.lua") do
            print(l)
        end

    end

\stopluacode

\startTEXpage[foregroundstyle=mono,offset=10pt]
    LUATEXCOREVERSION: \cldcontext{LUATEXCOREVERSION}
\stopTEXpage

\stoptext