summaryrefslogtreecommitdiff
path: root/tex/context/base/char-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-09-07 13:50:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-09-07 13:50:00 +0200
commitc6ebdfe2b6d339bb36c7a2559c98be3499c49ba9 (patch)
treeb164027c02c5ee6c167c24ab8b39a038646e050b /tex/context/base/char-ini.lua
parenta862752411f1fcc2734df3327de0f1d9abb8a1ab (diff)
downloadcontext-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.lua30
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>