summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-install.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-09-09 14:55:35 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-09-09 14:55:35 +0200
commit438b065a2337ee587442f25ddc587c4762f4d0b0 (patch)
treed18c8f7e51dd7e96b8e774f94d3f8862a6c38f73 /scripts/context/lua/mtx-install.lua
parentfca2d946bc4d3ef525c3a2c9016e3b88d6d09812 (diff)
downloadcontext-438b065a2337ee587442f25ddc587c4762f4d0b0.tar.gz
2019-09-09 13:52:00
Diffstat (limited to 'scripts/context/lua/mtx-install.lua')
-rw-r--r--scripts/context/lua/mtx-install.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/context/lua/mtx-install.lua b/scripts/context/lua/mtx-install.lua
index bad5c8393..49a912291 100644
--- a/scripts/context/lua/mtx-install.lua
+++ b/scripts/context/lua/mtx-install.lua
@@ -174,6 +174,18 @@ function install.identify()
end
+local function disclaimer()
+ report("ConTeXt LMTX with LuaMetaTeX is still experimental and when you get a crash this")
+ report("can be due to a mismatch between Lua bytecode and the engine. In that case you can")
+ report("try the following:")
+ report("")
+ report(" - wipe the texmf-cache directory")
+ report(" - run: mtxrun --generate")
+ report(" - run: context --make")
+ report("")
+ report("When that doesn't solve the problem, ask on the mailing list (ntg-context@ntg.nl).")
+end
+
function install.update()
local function validdir(d)
@@ -523,6 +535,8 @@ function install.update()
report("%-20s : %4i files with %9i bytes installed",unpack(status[i]))
end
report("")
+ disclaimer()
+ report("")
report("update, done")
end
@@ -537,4 +551,6 @@ elseif environment.argument("exporthelp") then
application.export(environment.argument("exporthelp"),environment.files[1])
else
application.help()
+ report("")
+ disclaimer()
end