diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-09-07 13:50:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-09-07 13:50:00 +0200 |
commit | c6ebdfe2b6d339bb36c7a2559c98be3499c49ba9 (patch) | |
tree | b164027c02c5ee6c167c24ab8b39a038646e050b /tex/context/base/char-ini.lua | |
parent | a862752411f1fcc2734df3327de0f1d9abb8a1ab (diff) | |
download | context-c6ebdfe2b6d339bb36c7a2559c98be3499c49ba9.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> |