From 7d9b63e35fb270ed0a23d82672793984f219f086 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 5 Nov 2020 16:27:53 +0100 Subject: 2020-11-05 15:23:00 --- scripts/context/lua/mtx-context.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua index 92e0ecbf0..2eba08573 100644 --- a/scripts/context/lua/mtx-context.lua +++ b/scripts/context/lua/mtx-context.lua @@ -669,6 +669,7 @@ function scripts.context.run(ctxdata,filename) local a_arrange = getargument("arrange") local a_noarrange = getargument("noarrange") local a_jithash = getargument("jithash") + local a_permitloadlib = getargument("permitloadlib") local a_texformat = getargument("texformat") local a_keeptuc = getargument("keeptuc") local a_keeplog = getargument("keeplog") @@ -714,7 +715,8 @@ function scripts.context.run(ctxdata,filename) formatfile, scriptfile = resolvers.locateformat(formatname) end -- - a_jithash = validstring(a_jithash or analysis.jithash) or nil + a_jithash = validstring(a_jithash or analysis.jithash) or nil + a_permitloadlib = a_permitloadlib or analysis.permitloadlib or nil -- if not formatfile or not scriptfile then report("warning: no format found, forcing remake (source driven)") @@ -825,6 +827,7 @@ function scripts.context.run(ctxdata,filename) -- ["lua"] = scriptfile, ["jobname"] = jobname, ["jithash"] = a_jithash, + ["permitloadlib"] = a_permitloadlib, } -- local directives = { } -- cgit v1.2.3