diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-12-10 12:12:32 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-12-10 12:12:32 +0100 |
commit | fe714093ebb95e4a870282782e2124cff2e546e5 (patch) | |
tree | 3ffe691c3ed50e03ab62b52dc240c21caa3f4178 /scripts/context/lua/mtx-context.lua | |
parent | 9c5a6d1bc8ad88a74f8d5243ed057819ce6bec2d (diff) | |
download | context-fe714093ebb95e4a870282782e2124cff2e546e5.tar.gz |
2021-12-10 11:31:00
Diffstat (limited to 'scripts/context/lua/mtx-context.lua')
-rw-r--r-- | scripts/context/lua/mtx-context.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua index 5a67f4f2a..125750c26 100644 --- a/scripts/context/lua/mtx-context.lua +++ b/scripts/context/lua/mtx-context.lua @@ -792,6 +792,10 @@ function scripts.context.run(ctxdata,filename) local trackers = combine("trackers") local experiments = combine("experiments") -- + local ownerpassword = environment.ownerpassword or analysis.ownerpassword + local userpassword = environment.userpassword or analysis.userpassword + local permissions = environment.permissions or analysis.permissions + -- if formatfile and scriptfile then local suffix = validstring(getargument("suffix")) local resultname = validstring(getargument("result")) @@ -858,6 +862,10 @@ function scripts.context.run(ctxdata,filename) export = a_export and true or nil, nocompression = a_nocompression and true or nil, texmfbinpath = os.selfdir, + -- + ownerpassword = ownerpassword, + userpassword = userpassword, + permissions = permissions, } -- for k, v in next, environment.arguments do |