diff options
author | Marius <mariausol@gmail.com> | 2011-04-27 22:40:13 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-04-27 22:40:13 +0300 |
commit | cf7755dd328463401bd066ec19cd62e95c225a0c (patch) | |
tree | 36b5539239a75cf01646dda7ff955d4a70d9ada2 /tex/context/base/core-env.lua | |
parent | 450e273d5438a33d75f0750ab854ef0c4d20f3b0 (diff) | |
download | context-cf7755dd328463401bd066ec19cd62e95c225a0c.tar.gz |
beta 2011.04.27 21:17
Diffstat (limited to 'tex/context/base/core-env.lua')
-rw-r--r-- | tex/context/base/core-env.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/core-env.lua b/tex/context/base/core-env.lua index bc260bc36..694b2f07c 100644 --- a/tex/context/base/core-env.lua +++ b/tex/context/base/core-env.lua @@ -74,6 +74,14 @@ setmetatableindex(tex.ifs, function(t,k) return csname_id(k) ~= undefined and create(k)[2] == iftrue -- inefficient, this create, we need a helper end) +function tex.settrue(name) + texcount[name] = 0 +end + +function tex.setfalse(name) + texcount[name] = 1 +end + ---- arg = P("{") * C(patterns.nested) * P("}") + Cc("") local sep = S("), ") |