diff options
author | Hans Hagen <pragma@wxs.nl> | 2009-05-28 11:23:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2009-05-28 11:23:00 +0200 |
commit | 1d3090326210c6e6f7ec5432799ded25b75bba46 (patch) | |
tree | c5921203789ec669e6bccaba4bd56f9c072dc56b /tex/context/base/sort-lan.lua | |
parent | 94d83f84758766511c5e324721e39fea6ab71dae (diff) | |
download | context-1d3090326210c6e6f7ec5432799ded25b75bba46.tar.gz |
beta 2009.05.28 11:23
Diffstat (limited to 'tex/context/base/sort-lan.lua')
-rw-r--r-- | tex/context/base/sort-lan.lua | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/tex/context/base/sort-lan.lua b/tex/context/base/sort-lan.lua index 8d8fdb1a0..394cbabe1 100644 --- a/tex/context/base/sort-lan.lua +++ b/tex/context/base/sort-lan.lua @@ -1,10 +1,12 @@ --- filename : sort-lan.lua --- comment : companion to sort-lan.tex --- author : Hans Hagen, PRAGMA-ADE, Hasselt NL --- copyright: PRAGMA ADE / ConTeXt Development Team --- license : see context related readme files +if not modules then modules = { } end modules ['sort-lan'] = { + version = 1.001, + comment = "companion to sort-lan.tex", + author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", + copyright = "PRAGMA ADE / ConTeXt Development Team", + license = "see context related readme files" +} -if not versions then versions = { } end versions['sort-lan'] = 1.001 +local utf = unicode.utf8 -- this is a rather preliminary and incomplete file -- maybe we should load this kind of stuff runtime @@ -51,9 +53,8 @@ sorters.mappings ['nl'] = sorters.mappings['en'] -- czech - -local uc = unicode.utf8.char -local ub = unicode.utf8.byte +local uc = utf.char +local ub = utf.byte sorters.replacements['cz'] = { [1] = { "ch", uc(0xFF01) } |