summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-01-22 19:05:00 +0100
committerHans Hagen <pragma@wxs.nl>2010-01-22 19:05:00 +0100
commit17f926ee2bc0c1e2d117085dbe80cedb96f30ab8 (patch)
tree5ced36b56dc014589b088f9b5091c88d539133dc /scripts
parent6591e18e59fb54ae285d1a95ea74fc9101c00af8 (diff)
downloadcontext-17f926ee2bc0c1e2d117085dbe80cedb96f30ab8.tar.gz
beta 2010.01.22 19:05
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-context.lua4
-rw-r--r--scripts/context/lua/mtx-patterns.lua1
-rw-r--r--scripts/context/lua/mtxrun.lua2
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua2
-rwxr-xr-xscripts/context/stubs/unix/mtxrun2
5 files changed, 7 insertions, 4 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua
index 21bc87f73..9b6e4bb3d 100644
--- a/scripts/context/lua/mtx-context.lua
+++ b/scripts/context/lua/mtx-context.lua
@@ -451,7 +451,9 @@ function scripts.context.multipass.makeoptionfile(jobname,ctxdata,kindofrun,curr
end
setfixed ("timing" , "\\usemodule[timing]")
setfixed ("batchmode" , "\\batchmode")
+ setfixed ("batch" , "\\batchmode")
setfixed ("nonstopmode" , "\\nonstopmode")
+ setfixed ("nonstop" , "\\nonstopmode")
setfixed ("tracefiles" , "\\tracefilestrue")
setfixed ("nostats" , "\\nomkivstatistics")
setfixed ("paranoid" , "\\def\\maxreadlevel{1}")
@@ -764,7 +766,7 @@ function scripts.context.run(ctxdata,filename)
end
--
local flags = { }
- if environment.argument("batchmode") then
+ if environment.argument("batchmode") or environment.argument("batch") then
flags[#flags+1] = "--interaction=batchmode"
end
if environment.argument("synctex") then
diff --git a/scripts/context/lua/mtx-patterns.lua b/scripts/context/lua/mtx-patterns.lua
index 758ea55c9..0c7ecd221 100644
--- a/scripts/context/lua/mtx-patterns.lua
+++ b/scripts/context/lua/mtx-patterns.lua
@@ -46,6 +46,7 @@ scripts.patterns.list = {
{ "??", "hyph-is.tex", "icelandic" },
{ "it", "hyph-it.tex", "italian" },
{ "la", "hyph-la.tex", "latin" },
+ { "lt", "hyph-lt.tex", "lithuanian" },
{ "??", "hyph-mn-cyrl.tex", "mongolian, cyrillic script" },
{ "??", "hyph-mn-cyrl-x-new.tex", "mongolian, cyrillic script (new patterns)" },
{ "nb", "hyph-nb.tex", "norwegian bokmål" },
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index 96fcbf6f1..220d12b55 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -11781,7 +11781,7 @@ end
function runners.execute_ctx_script(filename)
local arguments = environment.arguments_after
local fullname = runners.find_mtx_script(filename) or ""
- -- retyr after generate but only if --autogenerate
+ -- retry after generate but only if --autogenerate
if fullname == "" and environment.argument("autogenerate") then -- might become the default
instance.renewcache = true
logs.setverbose(true)
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index 96fcbf6f1..220d12b55 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -11781,7 +11781,7 @@ end
function runners.execute_ctx_script(filename)
local arguments = environment.arguments_after
local fullname = runners.find_mtx_script(filename) or ""
- -- retyr after generate but only if --autogenerate
+ -- retry after generate but only if --autogenerate
if fullname == "" and environment.argument("autogenerate") then -- might become the default
instance.renewcache = true
logs.setverbose(true)
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index 96fcbf6f1..220d12b55 100755
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -11781,7 +11781,7 @@ end
function runners.execute_ctx_script(filename)
local arguments = environment.arguments_after
local fullname = runners.find_mtx_script(filename) or ""
- -- retyr after generate but only if --autogenerate
+ -- retry after generate but only if --autogenerate
if fullname == "" and environment.argument("autogenerate") then -- might become the default
instance.renewcache = true
logs.setverbose(true)