summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-update.lua14
-rw-r--r--scripts/context/lua/mtxrun.lua1
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua1
-rwxr-xr-xscripts/context/stubs/unix/mtxrun1
4 files changed, 10 insertions, 7 deletions
diff --git a/scripts/context/lua/mtx-update.lua b/scripts/context/lua/mtx-update.lua
index b5f34d615..f77227333 100644
--- a/scripts/context/lua/mtx-update.lua
+++ b/scripts/context/lua/mtx-update.lua
@@ -19,7 +19,7 @@ local helpinfo = [[
--context=string specify version (current, latest, beta, yyyy.mm.dd)
--rsync=string rsync binary (rsync)
--texroot=string installation directory (not guessed for the moment)
---engine=string tex engine (luatex, pdftex, xetex)
+--engine=string tex engine (luatex, luajitex, pdftex, xetex)
--modules=string extra modules (can be list or 'all')
--fonts=string additional fonts (can be list or 'all')
--goodies=string extra binaries (like scite and texworks)
@@ -32,7 +32,7 @@ local helpinfo = [[
local application = logs.application {
name = "mtx-update",
- banner = "ConTeXt Minimals Updater 0.30",
+ banner = "ConTeXt Minimals Updater 0.31",
helpinfo = helpinfo,
}
@@ -108,6 +108,7 @@ scripts.update.engines = {
["luatex"] = {
{ "fonts/new/", "texmf" },
{ "bin/luatex/<platform>/", "texmf-<platform>" },
+ { "bin/luajittex/<platform>/","texmf-<platform>" },
},
["xetex"] = {
{ "base/xetex/", "texmf" },
@@ -125,17 +126,20 @@ scripts.update.engines = {
{ "fonts/old/", "texmf" },
{ "base/xetex/", "texmf" },
{ "bin/luatex/<platform>/", "texmf-<platform>" },
+ { "bin/luajittex/<platform>/","texmf-<platform>" },
{ "bin/xetex/<platform>/", "texmf-<platform>" },
{ "bin/pdftex/<platform>/", "texmf-<platform>" },
},
}
+scripts.update.engines.luajittex = scripts.update.engines.luatex
+
scripts.update.goodies = {
["scite"] = {
- { "bin/<platform>/scite/", "texmf-<platform>" },
+ { "bin/<platform>/scite/", "texmf-<platform>" },
},
["texworks"] = {
- { "bin/<platform>/texworks/", "texmf-<platform>" },
+ { "bin/<platform>/texworks/", "texmf-<platform>" },
},
}
@@ -496,6 +500,8 @@ function scripts.update.make()
for engine in next, engines do
if engine == "luatex" then
scripts.update.run(format('mtxrun --tree="%s" --script context --autogenerate --make',texroot))
+ elseif engine == "luajittex" then
+ scripts.update.run(format('mtxrun --tree="%s" --script context --autogenerate --make --engine=luajittex',texroot))
else
scripts.update.run(format('mtxrun --tree="%s" --script texexec --make --all --%s %s',texroot,engine,formatlist))
end
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index 83944d791..706b8973a 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -2191,7 +2191,6 @@ function table.sorted(t,...)
end
-
end -- of closure
do -- create closure to overcome 200 locals limit
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index 83944d791..706b8973a 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -2191,7 +2191,6 @@ function table.sorted(t,...)
end
-
end -- of closure
do -- create closure to overcome 200 locals limit
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index 83944d791..706b8973a 100755
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -2191,7 +2191,6 @@ function table.sorted(t,...)
end
-
end -- of closure
do -- create closure to overcome 200 locals limit