summaryrefslogtreecommitdiff
path: root/tex/context/base/mlib-run.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-12-03 20:57:00 +0100
committerHans Hagen <pragma@wxs.nl>2012-12-03 20:57:00 +0100
commit285b43a5386d2559e44b19434eb61773ed9dcfe1 (patch)
treee140b1f95d538d36ea1e85aece556522c58a463b /tex/context/base/mlib-run.lua
parenta0b8219c62b19c148cab790a4a1a97eff0600936 (diff)
downloadcontext-285b43a5386d2559e44b19434eb61773ed9dcfe1.tar.gz
beta 2012.12.03 20:57
Diffstat (limited to 'tex/context/base/mlib-run.lua')
-rw-r--r--tex/context/base/mlib-run.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/mlib-run.lua b/tex/context/base/mlib-run.lua
index 25e74790a..62203e95e 100644
--- a/tex/context/base/mlib-run.lua
+++ b/tex/context/base/mlib-run.lua
@@ -354,6 +354,10 @@ function metapost.format(instance,name)
return mpx
end
+function metapost.instance(instance)
+ return mpxformats[instance]
+end
+
function metapost.reset(mpx)
if not mpx then
-- nothing