[liblouis-liblouisxml] Re: A very beginner contraction exception related question

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 03:52:48 -0500

Part of your problem is that you include chardefs.cti The character 
definitions given there override those which you give later in the 
table. If you eliminate this include you may get some error messages 
about undefined characters. This simply means that you should define 
them yourself. You should also probably use more specific opcodes 
unstead of partword. I see begword. Also consider midword midendword and 
endword. 

John

On Wed, May 25, 2011 at 10:13:06AM +0200, Hammer Attila wrote:
> Dear John,
> 
> Thank you the help.
> I sending the test table, of course this is a learning purpose table now.
> Unfortunately, all accented letters containing exceptions is not 
> applied, look end of the table with defined exceptions.
> Possible I doing wrong the test rules or exceptions.
> 
> Attila

> # liblouis: Hungarian test grade table
> include chardefs.cti
> space \t 7 tab
> space \s 0 blank
> sign \x000a 78 newline
> space \x000d 0 carriage return
> digit 0 356
> digit 1 2
> digit 2 23
> digit 3 25
> digit 4 256
> digit 5 26
> digit 6 235
> digit 7 2356
> digit 8 236
> digit 9 35
> uplow Aa 17,1
> uplow Bb 127,12
> uplow Cc 147,14
> uplow Dd 1457,145
> uplow Ee 157,15
> uplow Ff 1247,124
> uplow Gg 12457,1245
> uplow Hh 1257,125
> uplow Ii 247,24
> uplow Jj 2457,245
> uplow Kk 137,13
> uplow Ll 1237,123
> uplow Mm 1347,134
> uplow Nn 13457,1345
> uplow Oo 1357,135
> uplow Pp 12347,1234
> uplow Qq 123457,12345
> uplow Rr 12357,1235
> uplow Ss 2347,234
> uplow Tt 23457,2345
> uplow Uu 1367,136
> uplow Vv 12367,1236
> uplow Ww 24567,2456
> uplow Xx 13467,1346
> uplow Yy 134567,13456
> uplow Zz 13567,1356
> punctuation , 6
> punctuation ; 56
> punctuation : 156
> punctuation . 46
> punctuation ! 2346
> punctuation " 5
> punctuation ' 3
> punctuation ( 12356
> punctuation ) 23456
> punctuation - 36
> sign _ 456
> math < 126
> math = 123456
> math > 345
> sign % 146
> math + 346
> math ~ 45
> sign ` 4
> sign & 12346
> sign $ 1246
> punctuation ? 1456
> punctuation { 246
> punctuation [ 2467
> punctuation } 12456
> punctuation ] 124567
> sign ^ 457
> sign @ 47
> sign # 3456
> sign \\ 12567
> sign | 1256
> math / 34
> sign * 16
> 
> comp6 A 456-1
> comp6 B 456-12
> comp6 C 456-14
> comp6 D 456-145
> comp6 E 456-15
> comp6 F 456-124
> comp6 G 456-1245
> comp6 H 456-125
> comp6 I 456-24
> comp6 J 456-245
> comp6 K 456-13
> comp6 L 456-123
> comp6 M 456-134
> comp6 N 456-1345
> comp6 O 456-135
> comp6 P 456-1234
> comp6 Q 456-12345
> comp6 R 456-1235
> comp6 S 456-234
> comp6 T 456-2345
> comp6 U 456-136
> comp6 V 456-1236
> comp6 W 456-2456
> comp6 X 456-1346
> comp6 Y 456-13456
> comp6 Z 456-1356
> comp6 _ 456-456
> comp6 [ 246
> comp6 ] 12456
> comp6 { 456-246
> comp6 } 456-12456
> comp6 \\ 456-1256
> comp6 \t 4
> #accented letters
> lowercase  \x00E1 5
> 
> #Special hungarian literal braille letter combination replacements and 
> exceptions
> partword cs 25
> partword ccs 25-25
> partword gy 256
> partword ggy 256-256
> partword sz 26
> partword ssz 26-26
> 
> #Exceptions
> begword orszag 135-1235-26-1-1245
> partword arccs 1-1235-14-25 #For example arccsont, harccsoport words need 
> this exception
> begword malac 134-1-123-1-14 //malacs??g, malacs??lt words for example need 
> this exception
> begword p??c 1234-5-14
> begword polc 123-135-123-14
> begword porc 1234-135-1235-14
> begword l??nc 123-5-1345-14 
> compbrl kudarc
> compbrl gerinc
> begword t??nc 2345-5-1345-14
> 
> 


-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: