summaryrefslogtreecommitdiff
path: root/tex/generic/context/luatex/luatex-core.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/generic/context/luatex/luatex-core.tex')
-rw-r--r--tex/generic/context/luatex/luatex-core.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/tex/generic/context/luatex/luatex-core.tex b/tex/generic/context/luatex/luatex-core.tex
new file mode 100644
index 000000000..2e7c7d5d4
--- /dev/null
+++ b/tex/generic/context/luatex/luatex-core.tex
@@ -0,0 +1,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