[liblouis-liblouisxml] Re: Quality control of tables

  • From: Christian Egli <christian.egli@xxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 01 Jul 2009 13:53:33 +0200

Hi Samuel 

On Wed, 2009-07-01 at 11:58 +0200, Samuel Thibault wrote:
> Here is a patch to fix them.

Thanks for the quick response and the patch. I applied it. However if I
run make check there seem to still be problems with the tables. For
spaces.ctb I get the following errors:

eglic@saadawi:~/src/liblouis$ ./tools/lou_checktable tables/spaces.ctb 
File spaces.ctb line 25: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 26: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 27: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 28: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 29: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 30: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 31: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 32: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 33: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 34: Exactly one Unicode character and at least one cell 
are required.
File spaces.ctb line 35: Exactly one Unicode character and at least one cell 
are required.
11 errors found.

There are similar problems in the other tables for which you provided a
patch. Could it be that there is a 0 too much in your unicode
characters? Could it be that lines such as the following:

punctuation \x02654 137         WHITE CHESS KING

should be

punctuation \x2654 137          WHITE CHESS KING

instead?

I tried both with and without --enable-ucs4.

Thanks
Christian
-- 
Christian Egli
Swiss Library for the Blind and Visually Impaired
Grubenstrasse 12, CH-8045 Zürich, Switzerland

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: