~mshinke/nvdajp/MiscellaneousDependencies

« back to all changes in this revision

Viewing changes to include/liblouis/tables/text_nabcc.dis

  • Committer: Masataka Shinke
  • Date: 2012-01-12 20:01:32 UTC
  • mfrom: (26.1.42 miscdep)
  • Revision ID: mshinke@users.sourceforge.jp-20120112200132-fvksmjulcjdzu5mk
merged lp:~nishimotz/nvdajp/MiscellaneousDependencies 68

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This file is obsolete. Do not use!
 
2
 
 
3
# liblouis: text.nabcc.dis
 
4
#
 
5
# Based on the braille contraction modules in BRLTTY
 
6
#
 
7
# Original copyright (C) 1995-2004 by The BRLTTY Team. All rights reserved.
 
8
#
 
9
# liblouis copyright 2004 by 
 
10
# ViewPlus Technologies, inc.,  www.viewplustech.com .
 
11
# and
 
12
# Computers to Help People, Inc., www.chpi.org  
 
13
# All rights reserved.
 
14
#
 
15
# liblouis  comes with ABSOLUTELY NO WARRANTY.
 
16
#
 
17
# This is free software, placed under the terms of the
 
18
# GNU General Public License, as published by the Free Software
 
19
# Foundation.  Please see the file COPYING for details.
 
20
#
 
21
# Maintained by John J. Boyer, director@chpi.org, www.chpi.org
 
22
 
 
23
# This is a description of the default text translation table used by BRLTTY.  
 
24
# It's based on the North American Braille Computer Code, but defines the full
 
25
# Latin1 (ISO-8859-1) character set.
 
26
 
 
27
# The 95 printable characters of the standard 7-bit US-ASCII character set
 
28
# (32-126) are identical to their representations within the North American
 
29
# Braille Computer Code (these are the only characters which the NABCC actually
 
30
# defines). Characters from literary braille, symbols from The Nemeth Braille
 
31
# Code for Mathematics and Science Notation, and a bit of human imagination
 
32
# have all been combined to create an easy-to-remember, one-to-one mapping
 
33
# between each character and its braille counterpart. All possible combinations
 
34
# involving only the original 6 braille dots are used, but that only allows for
 
35
# 64 out of the required 95 character representations. The presence or absence
 
36
# of dot 7 is used to differentiate between pairs of characters which either
 
37
# are very closely related in meaning or, in a few cases where a more intuitive
 
38
# reason couldn't be found, have a very close logical relationship within the
 
39
# US-ASCII code. Dot 8 isn't used at all.
 
40
 
 
41
# The space and the 26 lowercase letters (a-z) are the same as in literary 
 
42
# braille:
 
43
 
 
44
        #Hex   Dots   Dec  Char Description
 
45
display \X0020 0                        #32  space
 
46
display \X0061 1                        #97  a  Latin small letter a
 
47
display \X0062 12                       #98  b Latin small letter b
 
48
display \X0063 14                       #99  c Latin small letter c
 
49
display \X0064 145              #100 d Latin small letter d
 
50
display \X0065 15                       #101 e Latin small letter e
 
51
display \X0066 124              #102 f Latin small letter f
 
52
display \X0067 1245             #103 g Latin small letter g
 
53
display \X0068 125              #104 h Latin small letter h
 
54
display \X0069  24              #105 i Latin small letter i
 
55
display \X006A  245             #106 j Latin small letter j
 
56
display \X006B 13                       #107 k Latin small letter k
 
57
display \X006C 123              #108 l Latin small letter l
 
58
display \X006D 134              #109 m Latin small letter m
 
59
display \X006E 1345             #110 n Latin small letter n
 
60
display \X006F 135              #111 o Latin small letter o
 
61
display \X0070 1234             #112 p Latin small letter p
 
62
display \X0071 12345    #113 q Latin small letter q
 
63
display \X0072 1235             #114 r Latin small letter r
 
64
display \X0073 234              #115 s Latin small letter s
 
65
display \X0074  2345    #116 t Latin small letter t
 
66
display \X0075 136              #117 u Latin small letter u
 
67
display \X0076 1236             #118 v Latin small letter v
 
68
display \X0077  2456    #119 w Latin small letter w
 
69
display \X0078 1346             #120 x Latin small letter x
 
70
display \X0079 13456    #121 y Latin small letter y
 
71
display \X007A 1356             #122 z Latin small letter z
 
72
 
 
73
# The 26 uppercase letters A-Z) are the same as their lowercase counterparts 
 
74
# except that dot7 is added:
 
75
 
 
76
        #Hex   Dots             Dec     Char Description
 
77
display \X0041 1                        #65     A Latin capital letter a
 
78
display \X0042 12                       #66     B Latin capital letter b
 
79
display \X0043 14                       #67     C Latin capital letter c
 
80
display \X0044 145              #68     D Latin capital letter d
 
81
display \X0045 15                       #69     E Latin capital letter e
 
82
display \X0046 124              #70     F Latin capital letter f
 
83
display \X0047 1245             #71     G Latin capital letter g
 
84
display \X0048 125              #72     H Latin capital letter h
 
85
display \X0049 24                       #73     I Latin capital letter i
 
86
display \X004A 245              #74     J Latin capital letter j
 
87
display \X004B 13                       #75     K Latin capital letter k
 
88
display \X004C 123              #76     L Latin capital letter l
 
89
display \X004D 134              #77     M Latin capital letter m
 
90
display \X004E 1345             #78     N Latin capital letter n
 
91
display \X004F 135              #79     O Latin capital letter o
 
92
display \X0050 1234             #80     P Latin capital letter p
 
93
display \X0051 12345    #81     Q Latin capital letter q
 
94
display \X0052 1235             #82     R Latin capital letter r
 
95
display \X0053 234              #83     S Latin capital letter s
 
96
display \X0054 2345             #84     T Latin capital letter t
 
97
display \X0055 136              #85     U Latin capital letter u
 
98
display \X0056 1236             #86     V Latin capital letter v
 
99
display \X0057 2456             #87     W Latin capital letter w
 
100
display \X0058 1346             #88     X Latin capital letter x
 
101
display \X0059 13456  #89       Y Latin capital letter y
 
102
display \X005A 1356             #90     Z Latin capital letter z
 
103
 
 
104
# The 10 decimal digits 0-9) are the same as in the Nemeth Code:
 
105
 
 
106
#Hex Dots Dec Char Description
 
107
display \X0030 356 #480digit zero
 
108
display \X0031 2 #491digit one
 
109
display \X0032 23 #502digit two
 
110
display \X0033 25 #513digit three
 
111
display \X0034  256 #524digit four
 
112
display \X0035  26 #535digit five
 
113
display \X0036  235 #546digit six
 
114
display \X0037  2356 #557digit seven
 
115
display \X0038  236 #568digit eight
 
116
display \X0039 35 #579digit nine
 
117
 
 
118
# Common symbols used within mathematical expressions by popular computer
 
119
# programming languages are the same as in the Nemeth Code:
 
120
 
 
121
#Hex Dots Dec Char Description
 
122
display \X002E 46 #46.full stop
 
123
display \X002B 346 #43+plus sign
 
124
display \X002D 36 #45-hyphen-minus
 
125
display \X002A 16 #42*asterisk
 
126
display \X002F 34  #47/solidus
 
127
display \X0028 12356 #40left parenthesis
 
128
display \X0029  23456 #41)right parenthesis
 
129
 
 
130
# With all of these major considerations having been taken into account, 
 
131
# convenient representations were still available, and are used, for some of 
 
132
# the remaining characters:
 
133
 
 
134
                                #Hex            Dots    Dec Char Description
 
135
display \X0026 12346    #38 &            ampersand
 
136
display \X0023   3456   #35     #                number sign
 
137
 
 
138
# The remaining characters are what they are. Dot 7 isn't used either within 
 
139
# the number block 32-63) or, with the exception of the DEL control character
 
140
# 127), within the lowercase block 96-127). With the exception of the
 
141
# underscore 95), dot 7 is used for every character within the uppercase block
 
142
#64-95). Adding dot7 to any character within the lowercase block 96-127)
 
143
# yields its corresponding character within the uppercase block 64-95) except
 
144
# that removing dot7 from the DEL control character yields the underscore.
 
145
 
 
146
                                #Hex                    Dots Dec        Char    Description
 
147
display \X002C      6           #44 ,                   comma
 
148
display \X003B     56           #59 ;                   semicolon
 
149
display \X003A  156                     #58 :                   colon
 
150
display \X0021   2346           #33 !                   exclamation mark
 
151
display \X003F  1456            #63 ?                   question mark
 
152
display \X0022    5                     #34 "                   quotation mark
 
153
display \X0027  3                               #39 '                   apostrophe
 
154
display \X0060   4                      #96 `                   grave accent
 
155
display \X005E   457            #94 ^                   circumflex accent
 
156
display \X007E   45     #126 ~    tilde
 
157
 
 
158
display \X005B  246                     #91  [  left square bracket
 
159
display \X005D 12456            #93  ]  right square bracket
 
160
display \X007B  256                     #123 {  left curly bracket
 
161
display \X007D 12456            #125 }  right curly bracket
 
162
display \X003D 123456           #61  =  equals sign
 
163
display \X003C 126                      #60  <  less-than sign
 
164
display \X003E 345                      #62  >  greater-than sign
 
165
display \X0024 1246                     #36  $  dollar sign
 
166
display \X0025 146                      #37  %  percent sign
 
167
display \X0040 47                               #64  @  commercial at
 
168
display \X007C 1256 # 124|vertical line
 
169
display \X005C 12567  #92\reverse solidus
 
170
display \X005F 456 #95_low line
 
171
 
 
172
# Each of the characters within the basic control character block 0-31) is the
 
173
# same as its corresponding character within both the uppercase block64-95)
 
174
# and the lowercase block 96-127) except that dots7 and8 are both used.
 
175
 
 
176
#Hex Dots Dec Char Description
 
177
display \X0000 478 #0^@null
 
178
display \X0001 178 #1^Astart of heading
 
179
display \X0002 1278 #2^Bstart of text
 
180
display \X0003 1478 #3^Cend of text
 
181
display \X0004 14578 #4^Dend of transmission
 
182
display \X0005 1578 #5^Eenquiry
 
183
display \X0006 12478 #6^Facknowledge
 
184
display \X0007 124578 #7^Gbell
 
185
display \X0008 12578 #8^Hbackspace
 
186
display \X0009  2478 #9^Ihorizontal tabulation
 
187
display \X000A  24578 #10^Jline feed
 
188
display \X000B 1378 #11^Kvertical tabulation
 
189
display \X000C 12378 #12^Lform feed
 
190
display \X000D 13478 #13^Mcarriage return
 
191
display \X000E 134578 #14^Nshift out
 
192
display \X000F 13578 #15^Oshift in
 
193
display \X0010 123478 #16^Pdata link escape
 
194
display \X0011 1234578 #17^Qdevice control one
 
195
display \X0012 123578 #18^Rdevice control two
 
196
display \X0013 23478 #19^Sdevice control three
 
197
display \X0014  234578 #20^Tdevice control four
 
198
display \X0015 13678 #21^Unegative acknowledge
 
199
display \X0016 123678 #22^Vsynchronous idle
 
200
display \X0017  245678 #23^Wend of transmission block
 
201
display \X0018 134678 #24^Xcancel
 
202
display \X0019 1345678 #25^Yend of medium
 
203
display \X001A 135678 #26^Zsubstitute
 
204
display \X001B  24678 #27^[escape
 
205
display \X001C 125678 #28^\file separator
 
206
display \X001D 1245678 #29^]group separator
 
207
display \X001E 4578 #30^^record separator
 
208
display \X001F 45678 #31^_unit separator
 
209
 
 
210
# Each of the characters within the extended control character block 128-159)
 
211
# is the same as its corresponding character within the basic control character
 
212
# block 0-31) except that only dot8 is used.
 
213
 
 
214
#Hex Dots Dec Char Description
 
215
display \X0080 48 # 128~@<control>
 
216
display \X0081 18 # 129~A<control>
 
217
display \X0082 128 # 130~Bbreak permitted here
 
218
display \X0083 148 # 131~Cno break here
 
219
display \X0084 1458 # 132~D<control>
 
220
display \X0085 158 # 133~Enext line
 
221
display \X0086 1248 # 134~Fstart of selected area
 
222
display \X0087 12458 # 135~Gend of selected area
 
223
display \X0088 1258 # 136~Hcharacter tabulation set
 
224
display \X0089  248 # 137~Icharacter tabulation with justification
 
225
display \X008A  2458 # 138~Jline tabulation set
 
226
display \X008B 138 # 139~Kpartial line down
 
227
display \X008C 1238 # 140~Lpartial line up
 
228
display \X008D 1348 # 141~Mreverse line feed
 
229
display \X008E 13458 # 142~Nsingle shift two
 
230
display \X008F 1358 # 143~Osingle shift three
 
231
display \X0090 12348 # 144~Pdevice control string
 
232
display \X0091 123458 # 145~Qprivate use one
 
233
display \X0092 12358 # 146~Rprivate use two
 
234
display \X0093 2348 # 147~Sset transmit state
 
235
display \X0094  23458 # 148~Tcancel character
 
236
display \X0095 1368 # 149~Umessage waiting
 
237
display \X0096 12368 # 150~Vstart of guarded area
 
238
display \X0097  24568 # 151~Wend of guarded area
 
239
display \X0098 13468 # 152~Xstart of string
 
240
display \X0099 134568 # 153~Y<control>
 
241
display \X009A 13568 # 154~Zsingle character introducer
 
242
display \X009B  2468 # 155~[control sequence introducer
 
243
display \X009C 12568 # 156~\string terminator
 
244
display \X009D 124568 # 157~]operating system command
 
245
display \X009E 458 # 158~^privacy message
 
246
 
 
247
 
 
248
# Representations for the uppercase accented letters are drawn from the
 
249
# remaining combinations which use both dots 7 and 8. The representation for a
 
250
# lowercase accented letter is the same as its uppercase counterpart except
 
251
# that dot 7 isn't used. This scheme retains the use of dot 7 as the modifier
 
252
# for a capitalized letter. The only exception to these rules is that, due to
 
253
# the nature of the  Latin 1 character set, the German lowercase double-s is
 
254
# treated as though it were an uppercase y-dieresis neither has an uppercase
 
255
# definition). These representations have been gathered, as much as possible,
 
256
# into logical groupings.
 
257
 
 
258
# The 5 letters with a circumflex accent ^) use the [1-5] dot combinations:
 
259
 
 
260
                                #Hex     Dots           Dec     Char    Description
 
261
display \X009F 4568 # 159                               ~_application program command
 
262
display \X00A0 0                                #160                    no-break space
 
263
display \X00A1 23467  #161 �            inverted exclamation mark
 
264
display \X00A2 4           #162 �               cent sign
 
265
display \X00A3 34567  # 163�pound sign
 
266
display \X00A4 1467  # 164�currency sign
 
267
display \X00A5 123467  # 165�yen sign
 
268
display \X00A6 1567  # 166�broken bar
 
269
display \X00A7 357  # 167�section sign
 
270
display \X00A8  57  # 168�diaeresis
 
271
display \X00A9  23567  # 169�copyright sign
 
272
display \X00AA 8 # 170�feminine ordinal indicator
 
273
display \X00AB 1267  # 171�left-pointing double angle quotation mark
 
274
display \X00AC  2567  # 172�not sign
 
275
display \X00AD 367  # 173�soft hyphen
 
276
display \X00AE  2367  # 174�registered sign
 
277
display \X00AF  267  # 175�macron
 
278
display \X00B0 3567  # 176�degree sign
 
279
 
 
280
display \X00C0  23578           # 192           �               Latin capital letter a with grave
 
281
display \X00C1  1678            # 193           �               Latin capital letter a with acute
 
282
display \X00C2  16                      # 194           �               Latin capital letter a with circumflex
 
283
display \X00C3  578 # 195� Latin capital letter a with tilde
 
284
display \X00C4  1234678 # 196� Latin capital letter a with diaeresis
 
285
display \X00C5  34578 # 197� Latin capital letter a with ring above
 
286
display \X00C6  378 # 198� Latin capital letter ae
 
287
display \X00C7  34678 # 199� Latin capital letter c with cedilla
 
288
display \X00C8  23567           #       200             �               Latin capital letter e with grave
 
289
display \X00C9  12678           # 201� Latin capital letter e with acute
 
290
display \X00CA  2378    # 202           �               Latin capital letter e with circumflex
 
291
display \X00CB 12345678 # 203� Latin capital letter e with diaeresis
 
292
display \X00CC  23678 # 204� Latin capital letter i with grave
 
293
display \X00CD 14678 # 205� Latin capital letter i with acute
 
294
display \X00CE  2578    # 206           �               Latin capital letter i with circumflex
 
295
display \X00CF 1235678 # 207� Latin capital letter i with diaeresis
 
296
display \X00D0 678 # 208� Latin capital letter eth
 
297
display \X00D1 4678 # 209� Latin capital letter n with tilde
 
298
display \X00D2 3578 # 210� Latin capital letter o with grave
 
299
display \X00D3 145678 # 211� Latin capital letter o with acute
 
300
display \X00D4  25678 # 212             �               Latin capital letter o with circumflex
 
301
display \X00D5  5678 # 213� Latin capital letter o with tilde
 
302
display \X00D6  234678 # 214� Latin capital letter o with diaeresis
 
303
display \X00D7 167  # 215�multiplication sign
 
304
display \X00D8 3478 # 216� Latin capital letter o with stroke
 
305
display \X00D9 35678 # 217� Latin capital letter u with grave
 
306
display \X00DA 15678 # 218� Latin capital letter u with acute
 
307
display \X00DB  2678    # 219           �               Latin capital letter u with circumflex
 
308
display \X00DC  2345678 # 220� Latin capital letter u with diaeresis
 
309
display \X00DD 124678 # 221� Latin capital letter y with acute
 
310
display \X00DE 3678 # 222� Latin capital letter thorn
 
311
display \X00DF 345678 # 223� Latin small letter sharp s
 
312
display \X00E0  2358 # 224� Latin small letter a with grave
 
313
display \X00E1 168 # 225� Latin small letter a with acute
 
314
display \X00E2  16              # 226           �               Latin small letter a with circumflex
 
315
display \X00E3 58 # 227� Latin small letter a with tilde
 
316
display \X00E4 123468 # 228� Latin small letter a with diaeresis
 
317
display \X00E5 3458 # 229� Latin small letter a with ring above
 
318
display \X00E6 38 # 230� Latin small letter ae
 
319
display \X00E7 3468 # 231� Latin small letter c with cedilla
 
320
display \X00E8  23568 # 232� Latin small letter e with grave
 
321
display \X00E9 1268 # 233� Latin small letter e with acute
 
322
display \X00EA  238             # 234           �               Latin small letter e with circumflex
 
323
display \X00EB 1234568 # 235� Latin small letter e with diaeresis
 
324
display \X00EC  2368 # 236� Latin small letter i with grave
 
325
display \X00ED 1468 # 237� Latin small letter i with acute
 
326
display \X00EE  258             # 238           �               Latin small letter i with circumflex
 
327
display \X00EF 123568 # 239� Latin small letter i with diaeresis
 
328
display \X00F0 68 # 240� Latin small letter eth
 
329
display \X00F1 468 # 241� Latin small letter n with tilde
 
330
display \X00F2 358 # 242� Latin small letter o with grave
 
331
display \X00F3 14568 # 243� Latin small letter o with acute
 
332
display \X00F4  2568    # 244           �               Latin small letter o with circumflex
 
333
display \X00F5  568 # 245� Latin small letter o with tilde
 
334
display \X00F6  23468 # 246� Latin small letter o with diaeresis
 
335
display \X00F7 347  # 247�division sign
 
336
display \X00F8 348 # 248� Latin small letter o with stroke
 
337
display \X00F9 3568 # 249� Latin small letter u with grave
 
338
display \X00FA 1568 # 250� Latin small letter u with acute
 
339
display \X00FB  268             # 251           �               Latin small letter u with circumflex
 
340
display \X00FC  234568 # 252� Latin small letter u with diaeresis
 
341
display \X00FD 12468 # 253� Latin small letter y with acute
 
342
display \X00FE 368 # 254� Latin small letter thorn
 
343
display \X00FF 34568 # 255� Latin small letter y with diaeresis
 
344
 
 
345
 
 
346
# Some characters are the same as other characters which they resemble but with
 
347
# dot 7 added:
 
348
 
 
349
#Hex Dots Dec Char Description
 
350
 
 
351
 
 
352
display \X00BB 3457  # 187�right-pointing double angle quotation mark
 
353
display \X00B9  27  # 185�superscript one
 
354
display \X00B2 237  # 178�superscript two
 
355
display \X00B3 257  # 179�superscript three
 
356
display \X00B1 3467  # 177�plus-minus sign
 
357
display \X00D7 167  # 215�multiplication sign
 
358
 
 
359
display \X00B7 467  # 183�middle dot
 
360
 
 
361
display \X00BF 14567  # 191�inverted question mark
 
362
 
 
363
 
 
364
 
 
365
# A few more characters follow this same convention but they're relationships
 
366
# to their base characters is a bit obscure:
 
367
 
 
368
#Hex Dots Dec Char Description
 
369
 
 
370
 
 
371
 
 
372
# Some characters are represented by the first letters of their names lowered
 
373
# by one row of dots:
 
374
 
 
375
#Hex Dots Dec Char Description
 
376
 
 
377
display \X00B6  2357  # 182�pilcrow sign
 
378
 
 
379
 
 
380
 
 
381
 
 
382
 
 
383
# The three fraction characters use combinations of dots 1 and 4 which
 
384
# progress from left to right as the value of the fraction increases) together
 
385
# with dots 2,3,5,6,7:
 
386
 
 
387
#Hex Dots Dec Char Description
 
388
display \X00BC 123567  # 188�vulgar fraction one quarter
 
389
display \X00BD 1234567  # 189�vulgar fraction one half
 
390
display \X00BE  234567  # 190�vulgar fraction three quarters
 
391
 
 
392
# Each of the three extended accent characters is the same as its conventional
 
393
# compose character but with dot7 added:
 
394
 
 
395
#Hex Dots Dec Char Description
 
396
display \X00B4 37  # 180�acute accent
 
397
display \X00B8 67  # 184�cedilla
 
398
 
 
399
 
 
400
# The two gender symbols are:
 
401
 
 
402
#Hex Dots Dec Char Description
 
403
display \X00BA 7  # 186�masculine ordinal indicator
 
404
 
 
405
 
 
406
# The three remaining characters are:
 
407
 
 
408
#Hex Dots Dec Char Description
 
409
 
 
410
display \X00B5  567  # 181�micro sign
 
411
 
 
412
 
 
413
# The nonbreaking space is dots 7 and 8 because this presents a sequence of
 
414
# nonbreaking spaces as a smooth low line segment.
 
415
 
 
416
#Hex Dots Dec Char Description
 
417
display \X007F 4567  # 127^?delete