[NTG-context] sort-lan.lua nitpicks and sorting

Philipp Gesang pgesang at ix.urz.uni-heidelberg.de
Mon May 3 09:35:12 CEST 2010


On 2010-05-02 <15:59:53>, Philipp Gesang wrote:
> Hi again,
> 
> 
> 1. In sort-lan.lua, line 101 should read «['r'] = "r"», and line 144
> «['r'] = 26, -- r».

In lines 152 and 109 concerning the character “ů” (uring in unicode
speak) there's a typo, the key should be “uc(0x016F)” instead of
“uc(0x01F6)”.

The long quantities “ó” and “ý” are missing as well. They belong after
their short counterparts. I append a diff for the file.

Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
--- /home/laokoon/base/sort-lan.lua	2010-04-07 23:10:04.000000000 +0200
+++ sort-lan.lua	2010-05-03 09:28:23.813291928 +0200
@@ -98,7 +98,8 @@
     ['o']        = "o",
     ['p']        = "p",
     ['q']        = "q",
-    ['s']        = "r",
+    ['r']        = "r",
+    [uc(0x00F3)] = uc(0x00F3), -- oacute
     [uc(0x0147)] = uc(0x0147), -- rcaron
     ['s']        = "s",
     [uc(0x0161)] = uc(0x0161), -- scaron
@@ -106,11 +107,12 @@
     [uc(0x0165)] = uc(0x0165), -- tcaron
     ['u']        = "u",
     [uc(0x00FA)] = "u",
-    [uc(0x01F6)] = "u",
+    [uc(0x016F)] = "u",
     ['v']        = "v",
     ['w']        = "w",
     ['x']        = "x",
     ['y']        = "y",
+    [uc(0x00FD)] = uc(0x00FD), -- yacute
     ['z']        = "z",
     [uc(0x017E)] = uc(0x017E), -- zcaron
 }
@@ -139,23 +141,25 @@
     ['n']        = 21, -- n
     [uc(0x0147)] = 22, -- ncaron
     ['o']        = 23, -- o
-    ['p']        = 24, -- p
-    ['q']        = 25, -- q
-    ['s']        = 26, -- r
-    [uc(0x0147)] = 27, -- rcaron
-    ['s']        = 28, -- s
-    [uc(0x0161)] = 29, -- scaron
-    ['t']        = 30, -- t
-    [uc(0x0165)] = 31, -- tcaron
-    ['u']        = 32, -- u
-    [uc(0x00FA)] = 33, -- uacute
-    [uc(0x01F6)] = 34, -- uring
-    ['v']        = 35, -- v
-    ['w']        = 36, -- w
-    ['x']        = 37, -- x
-    ['y']        = 38, -- y
-    ['z']        = 39, -- z
-    [uc(0x017E)] = 40, -- zcaron
+    [uc(0x00F3)] = 24, -- oacute
+    ['p']        = 25, -- p
+    ['q']        = 26, -- q
+    ['r']        = 27, -- r
+    [uc(0x0147)] = 28, -- rcaron
+    ['s']        = 29, -- s
+    [uc(0x0161)] = 20, -- scaron
+    ['t']        = 31, -- t
+    [uc(0x0165)] = 32, -- tcaron
+    ['u']        = 33, -- u
+    [uc(0x00FA)] = 34, -- uacute
+    [uc(0x016F)] = 35, -- uring
+    ['v']        = 36, -- v
+    ['w']        = 37, -- w
+    ['x']        = 38, -- x
+    ['y']        = 39, -- y
+    [uc(0x00FD)] = 40, -- yacute
+    ['z']        = 41, -- z
+    [uc(0x017E)] = 42, -- zcaron
 }
 
 -- French
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20100503/801e0b6c/attachment.pgp>


More information about the ntg-context mailing list