diff options
author | Marius <mariausol@gmail.com> | 2012-07-26 21:20:16 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-07-26 21:20:16 +0300 |
commit | f09b2aabeeebefd483622c018ae170e37397308d (patch) | |
tree | 6835400206e98ff028450e631d2cd8418831a3b2 /tex/context/base/mlib-ctx.lua | |
parent | 0d565456a826f94f3d8a7d8f9bb28982737615cd (diff) | |
download | context-f09b2aabeeebefd483622c018ae170e37397308d.tar.gz |
beta 2012.07.26 19:37
Diffstat (limited to 'tex/context/base/mlib-ctx.lua')
-rw-r--r-- | tex/context/base/mlib-ctx.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/mlib-ctx.lua b/tex/context/base/mlib-ctx.lua index 493a45248..a8ef84b80 100644 --- a/tex/context/base/mlib-ctx.lua +++ b/tex/context/base/mlib-ctx.lua @@ -97,9 +97,11 @@ local environments = { } function metapost.tex.set(str) environments[#environments+1] = str end + function metapost.tex.reset() environments = { } end + function metapost.tex.get() return concat(environments,"\n") end |