summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-context.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-03-27 20:06:16 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-03-27 20:06:16 +0100
commit21898810cf14ff6fedfb47a00704173bf668e49b (patch)
tree0d03206b72665e4fcca8dc86609acf2150bafcf9 /scripts/context/lua/mtx-context.lua
parentcaef1259af1c843232dfbf5efc65adcf83d67f6f (diff)
downloadcontext-21898810cf14ff6fedfb47a00704173bf668e49b.tar.gz
2021-03-27 19:06:00
Diffstat (limited to 'scripts/context/lua/mtx-context.lua')
-rw-r--r--scripts/context/lua/mtx-context.lua13
1 files changed, 5 insertions, 8 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua
index 7ae350111..1f315e007 100644
--- a/scripts/context/lua/mtx-context.lua
+++ b/scripts/context/lua/mtx-context.lua
@@ -1637,19 +1637,16 @@ end
-- todo: we need to do a dummy run
-function scripts.context.trackers()
- environment.files = { resolvers.findfile("m-trackers.mkiv") }
+local function showsetter()
+ environment.files = { resolvers.findfile("mtx-context-setters.tex") }
multipass_nofruns = 1
setargument("purgeall",true)
scripts.context.run()
end
-function scripts.context.directives()
- environment.files = { resolvers.findfile("m-directives.mkiv") }
- multipass_nofruns = 1
- setargument("purgeall",true)
- scripts.context.run()
-end
+scripts.context.trackers = showsetter
+scripts.context.directives = showsetter
+scripts.context.experiments = showsetter
function scripts.context.logcategories()
environment.files = { resolvers.findfile("m-logcategories.mkiv") }