[liblouis-liblouisxml] Re: Quality control of tables

  • From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 1 Jul 2009 11:58:10 +0200

Hello,

Christian Egli, le Wed 01 Jul 2009 10:41:25 +0200, a écrit :
> With all the new tables being added I thought it be good to run
> lou_checktable on them to see if there are any problems.

Indeed. Most of these indeed had problems. I guess my locale wasn't
correct when I used ttbtest to convert them. Here is a patch to fix
them.

Samuel
Index: tables/spaces.ctb
===================================================================
--- tables/spaces.ctb   (révision 183)
+++ tables/spaces.ctb   (copie de travail)
@@ -21,7 +21,7 @@
 
 # generated by ttbtest
 space \s 0             SPACE
-punctuation \x00a0 0           NO-BREAK SPACE
+space \x00a0 0         NO-BREAK SPACE
 space \x02002 0                EN SPACE
 space \x02003 0                EM SPACE
 space \x02004 0                THREE-PER-EM SPACE
@@ -31,5 +31,5 @@
 space \x02008 0                PUNCTUATION SPACE
 space \x02009 0                THIN SPACE
 space \x0200a 0                HAIR SPACE
-punctuation \x0202f 0          NARROW NO-BREAK SPACE
+space \x0202f 0                NARROW NO-BREAK SPACE
 space \x0205f 0                MEDIUM MATHEMATICAL SPACE
Index: tables/ru.ctb
===================================================================
--- tables/ru.ctb       (révision 183)
+++ tables/ru.ctb       (copie de travail)
@@ -258,11 +258,11 @@
 lowercase \x0463 345           CYRILLIC SMALL LETTER YAT
 uppercase \x046a 2467          CYRILLIC CAPITAL LETTER BIG YUS
 lowercase \x046b 246           CYRILLIC SMALL LETTER BIG YUS
-space \x02219 238              BULLET OPERATOR
+punctuation \x02219 238                BULLET OPERATOR
 punctuation \x0221a 568                SQUARE ROOT
 punctuation \x02248 358                ALMOST EQUAL TO
-space \x02264 4568             LESS-THAN OR EQUAL TO
-space \x02265 35678            GREATER-THAN OR EQUAL TO
+punctuation \x02264 4568               LESS-THAN OR EQUAL TO
+punctuation \x02265 35678              GREATER-THAN OR EQUAL TO
 punctuation \x02320 2568               TOP HALF INTEGRAL
 punctuation \x02321 258                BOTTOM HALF INTEGRAL
 punctuation \x02580 348                UPPER HALF BLOCK
Index: tables/gd.ctb
===================================================================
--- tables/gd.ctb       (révision 183)
+++ tables/gd.ctb       (copie de travail)
@@ -115,7 +115,7 @@
 lowercase \x010b 146           LATIN SMALL LETTER C WITH DOT ABOVE
 uppercase \x0120 12467         LATIN CAPITAL LETTER G WITH DOT ABOVE
 lowercase \x0121 1246          LATIN SMALL LETTER G WITH DOT ABOVE
-space \x01e02 1267             LATIN CAPITAL LETTER B WITH DOT ABOVE
+uppercase \x01e02 1267         LATIN CAPITAL LETTER B WITH DOT ABOVE
 lowercase \x01e03 126          LATIN SMALL LETTER B WITH DOT ABOVE
 uppercase \x01e0a 14567                LATIN CAPITAL LETTER D WITH DOT ABOVE
 lowercase \x01e0b 1456         LATIN SMALL LETTER D WITH DOT ABOVE
Index: tables/en-chess.ctb
===================================================================
--- tables/en-chess.ctb (révision 183)
+++ tables/en-chess.ctb (copie de travail)
@@ -29,8 +29,8 @@
 punctuation \x02658 13457              WHITE CHESS KNIGHT
 punctuation \x02659 12347              WHITE CHESS PAWN
 punctuation \x0265a 13         BLACK CHESS KING
-space \x0265b 12345            BLACK CHESS QUEEN
-space \x0265c 1235             BLACK CHESS ROOK
-space \x0265d 12               BLACK CHESS BISHOP
-space \x0265e 1345             BLACK CHESS KNIGHT
-space \x0265f 1234             BLACK CHESS PAWN
+punctuation \x0265b 12345              BLACK CHESS QUEEN
+punctuation \x0265c 1235               BLACK CHESS ROOK
+punctuation \x0265d 12         BLACK CHESS BISHOP
+punctuation \x0265e 1345               BLACK CHESS KNIGHT
+punctuation \x0265f 1234               BLACK CHESS PAWN
Index: tables/fr-2007.ctb
===================================================================
--- tables/fr-2007.ctb  (révision 183)
+++ tables/fr-2007.ctb  (copie de travail)
@@ -258,5 +258,5 @@
 lowercase \x0192 1248          LATIN SMALL LETTER F WITH HOOK
 letter \x02c6 48               MODIFIER LETTER CIRCUMFLEX ACCENT
 punctuation \x02dc 467         SMALL TILDE
-space \x020ac 1578             EURO SIGN
-punctuation \x02122 23458              TRADE MARK SIGN
+sign \x020ac 1578              EURO SIGN
+sign \x02122 23458             TRADE MARK SIGN
Index: tables/boxes.ctb
===================================================================
--- tables/boxes.ctb    (révision 183)
+++ tables/boxes.ctb    (copie de travail)
@@ -52,8 +52,8 @@
 punctuation \x02512 235678             BOX DRAWINGS DOWN HEAVY AND LEFT LIGHT
 punctuation \x02513 235678             BOX DRAWINGS HEAVY DOWN AND LEFT
 punctuation \x02514 123456             BOX DRAWINGS LIGHT UP AND RIGHT
-space \x02515 123456           BOX DRAWINGS UP LIGHT AND RIGHT HEAVY
-space \x02516 123456           BOX DRAWINGS UP HEAVY AND RIGHT LIGHT
+punctuation \x02515 123456             BOX DRAWINGS UP LIGHT AND RIGHT HEAVY
+punctuation \x02516 123456             BOX DRAWINGS UP HEAVY AND RIGHT LIGHT
 punctuation \x02517 123456             BOX DRAWINGS HEAVY UP AND RIGHT
 punctuation \x02518 123456             BOX DRAWINGS LIGHT UP AND LEFT
 punctuation \x02519 123456             BOX DRAWINGS UP LIGHT AND LEFT HEAVY
@@ -108,39 +108,39 @@
 punctuation \x0254a 12345678           BOX DRAWINGS LEFT LIGHT AND RIGHT 
VERTICAL HEAVY
 punctuation \x0254b 12345678           BOX DRAWINGS HEAVY VERTICAL AND 
HORIZONTAL
 punctuation \x0254c 2356               BOX DRAWINGS LIGHT DOUBLE DASH 
HORIZONTAL
-space \x0254d 2356             BOX DRAWINGS HEAVY DOUBLE DASH HORIZONTAL
-space \x0254e 12345678         BOX DRAWINGS LIGHT DOUBLE DASH VERTICAL
+punctuation \x0254d 2356               BOX DRAWINGS HEAVY DOUBLE DASH 
HORIZONTAL
+punctuation \x0254e 12345678           BOX DRAWINGS LIGHT DOUBLE DASH VERTICAL
 punctuation \x0254f 12345678           BOX DRAWINGS HEAVY DOUBLE DASH VERTICAL
 punctuation \x02550 2356               BOX DRAWINGS DOUBLE HORIZONTAL
 punctuation \x02551 12345678           BOX DRAWINGS DOUBLE VERTICAL
-space \x02552 235678           BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+punctuation \x02552 235678             BOX DRAWINGS DOWN SINGLE AND RIGHT 
DOUBLE
 punctuation \x02553 235678             BOX DRAWINGS DOWN DOUBLE AND RIGHT 
SINGLE
 punctuation \x02554 235678             BOX DRAWINGS DOUBLE DOWN AND RIGHT
 punctuation \x02555 235678             BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
-space \x02556 235678           BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
+punctuation \x02556 235678             BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
 punctuation \x02557 235678             BOX DRAWINGS DOUBLE DOWN AND LEFT
 punctuation \x02558 123456             BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
 punctuation \x02559 123456             BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
-space \x0255a 123456           BOX DRAWINGS DOUBLE UP AND RIGHT
+punctuation \x0255a 123456             BOX DRAWINGS DOUBLE UP AND RIGHT
 punctuation \x0255b 123456             BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
-space \x0255c 123456           BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
-space \x0255d 123456           BOX DRAWINGS DOUBLE UP AND LEFT
+punctuation \x0255c 123456             BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
+punctuation \x0255d 123456             BOX DRAWINGS DOUBLE UP AND LEFT
 punctuation \x0255e 12345678           BOX DRAWINGS VERTICAL SINGLE AND RIGHT 
DOUBLE
 punctuation \x0255f 12345678           BOX DRAWINGS VERTICAL DOUBLE AND RIGHT 
SINGLE
 punctuation \x02560 12345678           BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
-space \x02561 12345678         BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+punctuation \x02561 12345678           BOX DRAWINGS VERTICAL SINGLE AND LEFT 
DOUBLE
 punctuation \x02562 12345678           BOX DRAWINGS VERTICAL DOUBLE AND LEFT 
SINGLE
 punctuation \x02563 12345678           BOX DRAWINGS DOUBLE VERTICAL AND LEFT
 punctuation \x02564 235678             BOX DRAWINGS DOWN SINGLE AND HORIZONTAL 
DOUBLE
-space \x02565 235678           BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
-space \x02566 235678           BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
-space \x02567 123456           BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
-space \x02568 123456           BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
-space \x02569 123456           BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+punctuation \x02565 235678             BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL 
SINGLE
+punctuation \x02566 235678             BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+punctuation \x02567 123456             BOX DRAWINGS UP SINGLE AND HORIZONTAL 
DOUBLE
+punctuation \x02568 123456             BOX DRAWINGS UP DOUBLE AND HORIZONTAL 
SINGLE
+punctuation \x02569 123456             BOX DRAWINGS DOUBLE UP AND HORIZONTAL
 punctuation \x0256a 12345678           BOX DRAWINGS VERTICAL SINGLE AND 
HORIZONTAL DOUBLE
 punctuation \x0256b 12345678           BOX DRAWINGS VERTICAL DOUBLE AND 
HORIZONTAL SINGLE
 punctuation \x0256c 12345678           BOX DRAWINGS DOUBLE VERTICAL AND 
HORIZONTAL
-space \x0256d 235678           BOX DRAWINGS LIGHT ARC DOWN AND RIGHT
+punctuation \x0256d 235678             BOX DRAWINGS LIGHT ARC DOWN AND RIGHT
 punctuation \x0256e 235678             BOX DRAWINGS LIGHT ARC DOWN AND LEFT
 punctuation \x0256f 123456             BOX DRAWINGS LIGHT ARC UP AND LEFT
 punctuation \x02570 123456             BOX DRAWINGS LIGHT ARC UP AND RIGHT
Index: tables/de-chess.ctb
===================================================================
--- tables/de-chess.ctb (révision 183)
+++ tables/de-chess.ctb (copie de travail)
@@ -29,8 +29,8 @@
 punctuation \x02658 2347               WHITE CHESS KNIGHT
 punctuation \x02659 127                WHITE CHESS PAWN
 punctuation \x0265a 13         BLACK CHESS KING
-space \x0265b 145              BLACK CHESS QUEEN
-space \x0265c 2345             BLACK CHESS ROOK
-space \x0265d 123              BLACK CHESS BISHOP
-space \x0265e 234              BLACK CHESS KNIGHT
-space \x0265f 12               BLACK CHESS PAWN
+punctuation \x0265b 145                BLACK CHESS QUEEN
+punctuation \x0265c 2345               BLACK CHESS ROOK
+punctuation \x0265d 123                BLACK CHESS BISHOP
+punctuation \x0265e 234                BLACK CHESS KNIGHT
+punctuation \x0265f 12         BLACK CHESS PAWN

Other related posts: