summaryrefslogtreecommitdiff
path: root/tex/context/base/char-ini.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-05-04 17:20:13 +0300
committerMarius <mariausol@gmail.com>2011-05-04 17:20:13 +0300
commitbaa03d50225f83baa646c9daa7556f9b2ddf3424 (patch)
tree7834b80a237f7964e40853a604dffe29223ccd9c /tex/context/base/char-ini.lua
parent097d0f251f637003e2d60470438da5291f124689 (diff)
downloadcontext-baa03d50225f83baa646c9daa7556f9b2ddf3424.tar.gz
beta 2011.05.04 16:06
Diffstat (limited to 'tex/context/base/char-ini.lua')
-rw-r--r--tex/context/base/char-ini.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/context/base/char-ini.lua b/tex/context/base/char-ini.lua
index 159ff47e7..7f8c2db2f 100644
--- a/tex/context/base/char-ini.lua
+++ b/tex/context/base/char-ini.lua
@@ -608,7 +608,7 @@ function characters.setcodes()
report_defining("defining lc and uc codes")
end
for code, chr in next, data do
- local cc = chr.category
+ local cc = chr.category -- mn lo
if cc == 'll' or cc == 'lu' or cc == 'lt' then
local lc, uc = chr.lccode, chr.uccode
if not lc then chr.lccode, lc = code, code end
@@ -631,7 +631,12 @@ function characters.setcodes()
texsetcatcode(i,11) -- letter
texsetlccode(i,i,i) -- self self
end
+ else -- letter
+ texsetcatcode(code,11)
+ texsetlccode(code,code,code)
end
+ elseif cc == "mn" then -- mark
+ texsetlccode(code,code,code)
end
end
end