summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/mlib-run.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/mlib-run.lmt')
-rw-r--r--tex/context/base/mkxl/mlib-run.lmt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/mlib-run.lmt b/tex/context/base/mkxl/mlib-run.lmt
index a79ce99ef..eacb148cc 100644
--- a/tex/context/base/mkxl/mlib-run.lmt
+++ b/tex/context/base/mkxl/mlib-run.lmt
@@ -327,7 +327,9 @@ function metapost.pushformat(specification,f,m) -- was: instance, name, method
end
end
if preamble then
+ metapost.pushscriptrunner(mpx)
executempx(mpx,preamble)
+ metapost.popscriptrunner()
end
specification.mpx = mpx
return mpx