diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-context.lua | 4 | ||||
-rw-r--r-- | scripts/context/lua/mtx-patterns.lua | 1 | ||||
-rw-r--r-- | scripts/context/lua/mtxrun.lua | 2 | ||||
-rw-r--r-- | scripts/context/stubs/mswin/mtxrun.lua | 2 | ||||
-rwxr-xr-x | scripts/context/stubs/unix/mtxrun | 2 |
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) |