summaryrefslogtreecommitdiff
path: root/tex/context/base/sort-lan.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-02-16 18:20:12 +0200
committerMarius <mariausol@gmail.com>2011-02-16 18:20:12 +0200
commitd7e0c9962aaa455b6b82a156875513cc93b2b13b (patch)
tree752816db7bb36e754e430f02470cffa090620552 /tex/context/base/sort-lan.lua
parent848a55f9b6b0ce0843811b98f3fb22985ac62bdd (diff)
downloadcontext-d7e0c9962aaa455b6b82a156875513cc93b2b13b.tar.gz
beta 2011.02.16 17:05
Diffstat (limited to 'tex/context/base/sort-lan.lua')
-rw-r--r--tex/context/base/sort-lan.lua29
1 files changed, 8 insertions, 21 deletions
diff --git a/tex/context/base/sort-lan.lua b/tex/context/base/sort-lan.lua
index 452423842..7bfa0d86b 100644
--- a/tex/context/base/sort-lan.lua
+++ b/tex/context/base/sort-lan.lua
@@ -860,32 +860,19 @@ definitions["et"] = {
--- Korean
-local shchars = characters.shchars
+local fschars = characters.fschars
function firstofsplit(first)
- first = shchars[first] or first
- return first, first -- entry, tag
+ local fs = fschars[first] or first
+ -- print(string.format("%04x %04x",utfbyte(first),utfbyte(fs)))
+ return fs, fs -- entry, tag
end
definitions["kr"] = {
firstofsplit = firstofsplit,
- orders = { -- copying utf fails somehow
- "ㄱ", -- utfchar(0x3131),
- "ㄴ", -- utfchar(0x3134),
- "ㄷ", -- utfchar(0x3137),
- "ㄹ", -- utfchar(0x3139),
- "ㅁ", -- utfchar(0x3141),
- "ㅂ", -- utfchar(0x3142),
- "ㅅ", -- utfchar(0x3145),
- "ㅇ", -- utfchar(0x3147),
- "ㅈ", -- utfchar(0x3148),
- "ㅊ", -- utfchar(0x314a),
- "ㅋ", -- utfchar(0x314b),
- "ㅌ", -- utfchar(0x314c),
- "ㅍ", -- utfchar(0x314d),
- "ㅎ", -- utfchar(0x314e),
- "a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
- "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
- "u", "v", "w", "x", "y", "z",
+ orders = {
+ "ㄱ", "ㄴ", "ㄷ", "ㄹ", "ㅁ", "ㅂ", "ㅅ", "ㅇ", "ㅈ", "ㅊ", "ㅋ", "ㅌ", "ㅍ", "ㅎ",
+ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m",
+ "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
}
}