summaryrefslogtreecommitdiff
path: root/tex/context/base/char-ini.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-09 14:15:05 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-09 14:15:05 +0200
commitb2720858f841530581e009ae380e39b4267a3d5d (patch)
tree4b1e59aacc68d05cbeabd0d2fb30c34dd6f6e754 /tex/context/base/char-ini.lua
parent09c6bc4b280905c198d7e40b3b6c3addc6f975ca (diff)
downloadcontext-b2720858f841530581e009ae380e39b4267a3d5d.tar.gz
2015-05-09 13:43:00
Diffstat (limited to 'tex/context/base/char-ini.lua')
-rw-r--r--tex/context/base/char-ini.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/char-ini.lua b/tex/context/base/char-ini.lua
index c6192cc9b..4559fa28c 100644
--- a/tex/context/base/char-ini.lua
+++ b/tex/context/base/char-ini.lua
@@ -828,6 +828,9 @@ local categories = allocate() characters.categories = categories -- lazy table
setmetatableindex(categories, function(t,u) if u then local c = data[u] c = c and c.category or u t[u] = c return c end end)
+-- todo: overloads (these register directly in the tables as number and string) e.g. for greek
+-- todo: for string do a numeric lookup in the table itself
+
local lccodes = allocate() characters.lccodes = lccodes -- lazy table
local uccodes = allocate() characters.uccodes = uccodes -- lazy table
local shcodes = allocate() characters.shcodes = shcodes -- lazy table