diff options
author | Marius <mariausol@gmail.com> | 2013-09-07 15:00:24 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-09-07 15:00:24 +0300 |
commit | cd00fa38da8153404c3a0efbff80fefa08f05082 (patch) | |
tree | 0e28431ea0f464e5ddf88059033f8d1bc4201663 /tex/context/base/char-ini.lua | |
parent | 396705141059782c28dde647849cf2eb8797872f (diff) | |
download | context-cd00fa38da8153404c3a0efbff80fefa08f05082.tar.gz |
beta 2013.09.07 13:50
Diffstat (limited to 'tex/context/base/char-ini.lua')
-rw-r--r-- | tex/context/base/char-ini.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tex/context/base/char-ini.lua b/tex/context/base/char-ini.lua index dc6e067c0..bb6730f7b 100644 --- a/tex/context/base/char-ini.lua +++ b/tex/context/base/char-ini.lua @@ -559,6 +559,36 @@ setmetatableindex(characters.directions,function(t,k) return v end) +characters.mirrors = { } + +setmetatableindex(characters.mirrors,function(t,k) + local d = data[k] + if d then + local v = d.mirror + if v then + t[k] = v + return v + end + end + t[k] = false + return v +end) + +characters.textclasses = { } + +setmetatableindex(characters.textclasses,function(t,k) + local d = data[k] + if d then + local v = d.textclass + if v then + t[k] = v + return v + end + end + t[k] = false + return v +end) + --[[ldx-- <p>Next comes a whole series of helper methods. These are (will be) part of the official <l n='api'/>.</p> |