forked from liblouis/liblouis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathno-no-g0.utb
238 lines (213 loc) · 8.42 KB
/
no-no-g0.utb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# liblouis: Norwegian Grade 0 Braille Table, uncontracted braille
# Created June 9, 2005 by Leon Ungier <Leon.Ungier@ViewPlus.com> with
# help and guidance from Lars Bjørndal <lars@handytech.no>
# Updated June 2009 by Lars Bjørndal <lars@handytech.no>
# Updated April 2015 by Jostein Austvik Jacobsen <jostein@nlb.com> and Ammar Usama <ammar.usama@nlb.no>
include digits6Dots.uti
include latinLetterDef6Dots.uti
space \s 0 # blank x0020
space \x001b 1b # escape character for html back-translation # dec 27
# With liblouisxml, use the following three lines instead:
space \t 9 # tab x0009
space \x000D 0 # \r
space \x000A 0 # \n
space \x00A0 a # NO-BREAK SPACE <noBreak> 0020 NON-BREAKING SPACE # dec 160
punctuation ! 235 # exclamation mark x0021
punctuation " 256 # double quote x0022
punctuation ' 5 # apostrophe x0027
punctuation ( 236 # left parenthesis x0028
punctuation ) 356 # right parenthesis x0029
punctuation , 2 # coma x002C
punctuation - 36 # hyphen-minus x002D
punctuation . 3 # point x002E
punctuation : 25 # colon x003A
punctuation ; 23 # semicolon x003B
punctuation ? 26 # question mark x003F
punctuation [ 12356 # left square bracket x005B
punctuation ] 23456 # right square bracket x005D
punctuation { 6-12356 # left curly bracket x007B
punctuation } 6-23456 # right curly bracket x007D
punctuation « 256 # left-pointing double angle quotation mark x00AB
punctuation » 256 # right-pointing double angle quotation mark x00BB
punctuation \x2010 36 # 8208 hyphen
punctuation \x2011 36 # 8209 non-breaking hyphen
punctuation \x2013 36-36 # en dash
punctuation \x2014 36-36 # em dash
punctuation \x2018 5 # 8216 smart single left quotation mark
punctuation \x2019 5 # 8217 smart single right quotation mark
punctuation \x201C 256 # 8220 smart opening double quote
punctuation \x201D 256 # 8221 smart closing double quote
punctuation \x201E 256 # 8222 smart double low quotation mark
punctuation \x201F 256 # 8223 smart double high reverse quotation mark
punctuation \x2026 3-3-3 # 8230 smart ellipsis
sign # 3456 # number sign x0023
sign $ 256 # dollar sign x0024
sign £ 123 # pound sign
sign % 46-356 # percent sign x0025
sign ‰ 46-356-356 # per mille sign
sign & 346 # ampersand z0026
sign * 35 # asterisk x002A
sign @ 4 # commercial at x0040
sign \\ 156 # reverse solidus x005C
sign ^ 46 # circumflex accent x005E (math power)
sign _ 456 # low line x005F
sign ` 45 # grave accent x0060
sign \x00AF 45 # macron
sign \x0304 45 # combining macron
sign | 123456 # vertical line x007C
sign ~ 1456 # tilde x007E
sign \x0080 15-136-1235-135 # Euro sign x0080
sign ¢ 4-14 # cent sign x00A2
sign £ 45-123 # pound sign x00A3
sign ¤ 236-134-356 # currency sign x00A4
sign ¥ 45-13456 # yen sign x00A5
sign § 346 # section sign x00A7
sign © 236-14-356 # copyright x00A9
sign ® 236-1235-356 # Registered trademark
sign ™ 236-2345-356 # Trademark
sign ° 5-356 # degree sign x00B0
sign ² 4-6-126 # superscript 2 sign x00B2
sign ³ 4-6-146 # superscript 3 sign x00B3
sign \x00B4 4 # acute sign dec-180
sign ¹ 1-27 # superscript 1 sign x00B9
sign \x20AC 26 # Euro sign x0080
sign ■ 123456 # Filled square
sign □ 123456 # Empty square
sign ● 2356 # Filled circle
sign ○ 2356 # Empty circle
uplow \x00C8\x00E8 2346 # e with grave è x00C8 / 00E8
uplow \x00C9\x00E9 123456 # e with acute é x00C9 / 00E9
uplow \x00CA\x00EA 126 # e with circumflex x00CA / 00EA
uplow \x00CB\x00EB 25-15 # e with diaeresis ë x00CB / 00EB
uplow \x010C\x010D 146 # c with caron x00CE / 00EE
uplow \x00CF\x00EF 34 # i with diaeresis x00CF / 00EF
uplow \x00D3\x00F3 1456 # o with acute ó x00D3 / 00F3
uplow \x00D4\x00F4 46-135 # o with circumflex ô x00D4 / 00F4
uplow \x00CD\x00ED 126 # i with acute x00CD / 00ED
uplow \x00C6\x00E6 345 # æ x00C6 / 00E6
uplow \x00C1\x00E1 12356 # a with acute x00C1 / 00E1
uplow Øø 246 # o with stroke
uplow \X00DA\x00FA 12456 # u with acute x00DA / 00FA
uplow \x0160\x0161 156 # s with caron x00FB
uplow \x00DC\x00FC 1256 # u with diaeresis x00FC
uplow \x00DD\x00FD 12346 # y with acute x00FD
uplow Åå 16 # A with ring above x00C5 / 00E5
uplow \x00C0\x00E0 12356 # a with grave x00C0 / 00E0
uplow \x00C2\x00E2 46-1 # a with circumflex x00C2 / 00E2
uplow \x00C3\x00E3 1456-1 # a with tilde x00C3 / 00E3
uplow Ää 345 # A with diaeresis x00C4 / 00E4
uplow \x00C7\x00E7 12346 # c with cedilla ç x00C7 / 00E7
uplow \x00D5\x00F5 1456-135 # o with tilde x00D5 / 00F5
uplow Öö 246 # O with diaeresis x00D6 / 00F6
uplow \x00D2\x00F2 346 # O with grave ò
uplow \x017D\x017E 2346 # z with caron
uplow \x01EA\x01EB 23456 # o with ogonek
uplow Đđ 1456 # d with stroke
uplow Ðð 156 # Eth
uplow Ŋŋ 1246 # Eng
uplow Þþ 1246 # Thorn
uplow Üü 1245 # u with diaeresis
uplow Ŧŧ 1245 # t with stroke
math + 235 # plus x002B
math / 34 solidus # x002F
math < 246-3 # less-than sign x003C
math = 2356 # equal sign x003D
math > 135-2 # greater-than sign x003E
math ¼ 6-16-34-1456 # vulgar fraction one quarter x00BC
math ½ 6-16-34-126 # vulgar fraction one half x00BD
math ¾ 6-126-34-1456 # vulgar fraction 3 quarters x00BE
math × 3 # multiplication sign x00D7
math ÷ 25 # division sign x00F7
math \x2013 36 # 8211 en dash (smart minus sign)
math √ 146 # root sign
lowword \x2013 36-36 # make double when surrounded by white spaces
lowword - 36-36 # make double when hyphen surrounded by white spaces
lowercase \x00F3 4-135 # DEC 243 ó
lowercase \x00F4 4-135 # DEC 244 ô
# Some diacritic characters
uplow \x00CC\x00EC 45-24 # latin small letter i with grave - latin capital letter i with grave
uplow \x0160\x0161 46-234 # Šš LATIN CAPITAL LETTER S WITH CARON - LATIN SMALL LETTER S WITH CARON
# ------------------- End char definitions --------------------
include litdigits6Dots.uti
include braille-patterns.cti # unicode braille
numsign 3456
capsign 6 # single capital letter indicator
begcaps 6-6 # a block of consecutive capital letters indicator
endcaps 56 # TODO
lenitalphrase 1
lenboldphrase 1
firstwordital 23
firstletterital 23
firstwordbold 23
firstletterbold 23
firstwordunder 23
firstletterunder 23
lastworditalafter 56
lastletterital 56
lastwordboldafter 56
lastletterbold 56
lastwordunderafter 56
lastletterunder 56
midnum , 2
midnum . 3
midnum + 235
midnum - 36-36-3456
midnum / 34-3456
midnum : 25
midnum = 2356
endnum # 56-3456
always # 3456
endnum a 56-1
endnum b 56-12
endnum c 56-14
endnum d 56-145
endnum e 56-15
endnum f 56-124
endnum g 56-1245
endnum h 56-125
endnum i 56-24
endnum j 56-245
repeated ... 3-3-3 # points de suite
repeated --- 36-36-36
repeated ___ 456-456-456
# always \s--\s 36-36 # tiret
noback always ;\s; 0
begcomp 126
endcomp 345
# URLs
compbrl ://
compbrl www.
compbrl .com
compbrl .edu
compbrl .gov
compbrl .mil
compbrl .net
compbrl .org
compbrl .no
compbrl .nu
compbrl .se
compbrl .dk
compbrl .fi
compbrl .ini
compbrl .doc
compbrl .docx
compbrl .xml
compbrl .xsl
compbrl .htm
compbrl .html
compbrl .tex
compbrl .txt
compbrl .gif
compbrl .jpg
compbrl .png
compbrl .wav
compbrl .mp3
compbrl .m3u
compbrl .tar
compbrl .gz
compbrl .bz2
compbrl .zip
# Fix input where less than / greater than already are surrounding the
# URL / email address.
pass2 @126-246-3 @126
pass2 @135-2-345 @345