summaryrefslogtreecommitdiff
path: root/tex/context/base/mlib-run.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-12-03 22:20:18 +0200
committerMarius <mariausol@gmail.com>2012-12-03 22:20:18 +0200
commit78d6aac2b9e506c6ae134ca2291ecc5d86e30c6f (patch)
tree39325363e1d870a45823532e1da4a6beca30a62b /tex/context/base/mlib-run.lua
parent4d13b54052e73da1c5acc266be1fd5ddca50e8e0 (diff)
downloadcontext-78d6aac2b9e506c6ae134ca2291ecc5d86e30c6f.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