diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-08-11 20:47:52 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-08-11 20:47:52 +0200 |
commit | d167e9ccebdae0d0081d3c8abd95a440d96a867c (patch) | |
tree | f64ebc6ceb5ca12366d4ee5c9c02ca2589478eac /tex/context/base/mkiv/mlib-lua.lua | |
parent | 76a1861b8ff7c2befbc41270833a4a0919c93c30 (diff) | |
download | context-d167e9ccebdae0d0081d3c8abd95a440d96a867c.tar.gz |
2019-08-11 20:11:00
Diffstat (limited to 'tex/context/base/mkiv/mlib-lua.lua')
-rw-r--r-- | tex/context/base/mkiv/mlib-lua.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/mlib-lua.lua b/tex/context/base/mkiv/mlib-lua.lua index a3e5e84cd..9d271de82 100644 --- a/tex/context/base/mkiv/mlib-lua.lua +++ b/tex/context/base/mkiv/mlib-lua.lua @@ -120,6 +120,12 @@ do return currentmpx end + local status = mplib.status + + function metapost.currentmpxstatus() + return status and status(currentmpx) or 0 + end + end do |