summaryrefslogtreecommitdiff
path: root/tex/context/base/char-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-05-04 16:06:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-05-04 16:06:00 +0200
commit78a87dcc13a9c0de7f14b87c51d6d6313d079a61 (patch)
treed24d9f90771a818a4c554ea8a5ee000578dd74a4 /tex/context/base/char-ini.lua
parentfd1c7c25cb42a6794c0317b2da1279ca11a6c035 (diff)
downloadcontext-78a87dcc13a9c0de7f14b87c51d6d6313d079a61.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