Debian Codegraph @

tables/sl-si-g1.utb

raw
1 # Slovene braille translation table
2 #
3 # Copyright (C) 2004-2008 ViewPlus Technologies, Inc. www.viewplus.com
4 # Copyright (C) 2009 JJB Software, Inc. www.jjb-software.com
5 # Copyright (C) 2012 Mesar Hameed <[email protected]>
6 # Copyright (C) 2018 Robert Merič
7 # Copyright (C) 2019 Bert Frees
8 #
9 # This file is part of liblouis.
10 #
11 # liblouis is free software: you can redistribute it and/or modify it
12 # under the terms of the GNU Lesser General Public License as
13 # published by the Free Software Foundation, either version 2.1 of the
14 # License, or (at your option) any later version.
15 #
16 # liblouis is distributed in the hope that it will be useful, but
17 # WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 # Lesser General Public License for more details.
20 #
21 # You should have received a copy of the GNU Lesser General Public
22 # License along with liblouis. If not, see
23 # <http://www.gnu.org/licenses/>.
24 #
25 # by Mike Sivill <[email protected]>
26 #
27 # corrections 15.12.2018 - new Slovenian braille standard: http://liblouis.io/braille-specs/slovenian
28 # Robert Merič <[email protected]>
29
30 include text_nabcc.dis
31 include braille-patterns.cti
32
33 space \x00a0 a
34 include spaces.uti
35
36 # ----------- define all chars --------------------------------------
37
38 replace \x0007
39 punctuation ! 235 # 33
40 punctuation " 5-2356 # 34
41 sign # 3456 # 35
42 sign $ 46 # 36
43 sign % 12456 # 37
44 sign & 5-24 # 38
45 punctuation ' 3 # 39 apostrophe
46 punctuation ( 126 # 40
47 punctuation ) 345 # 41
48 sign * 35 # 42
49 math + 1256 # 43
50 punctuation , 2 # 44
51 punctuation - 36 # 45
52 punctuation . 256 # 46
53 math / 23456 # 47
54 include loweredDigits6Dots.uti
55 punctuation : 25 # 58
56 punctuation ; 23 # 59
57 math < 6-236 # 60
58 math = 2356
59 math > 6-356 # 62
60 punctuation ? 26 # 63
61 sign @ 246 # 64
62
63 include latinLetterDef6Dots.uti
64
65 punctuation [ 4-12346 # 91
66 sign \\ 12356 # 92
67 punctuation ] 4-13456 # 93
68 sign ^ 6-45 # 94 circumflex accent
69 sign _ 5-36 # 95 underscore
70 sign ` 4 # 96 grave accent
71 # a - z # 97 - 122
72 punctuation { 4-246 # 123
73 sign | 5-1236 # 124
74 punctuation } 4-135 # 125
75 math ~ 5-1356 # 126
76
77 sign \x00A2 4-14 # 162 ¢ cents sign
78 sign \x00A3 5-1234 # 163 £ pound sign
79 sign \x20A4 4-123 # lira sign
80 sign \x00A5 4-13456 #165 ¥ yen sign
81 sign § 4-234-3 # 167
82 begnum § 234-3 # 167
83 always § 4-234-3 # 167
84 sign \x2022 36-36-0 # bullet
85 sign \x00A9 5-14 # 169 © copyright sign
86 sign \x00AE 5-1235 # 174 ® registered sign
87 sign \x2665 2356-125-15-345-2345-2356 # heart symbol
88 sign \x21FD 246-25-25 # LEFTWARDS OPEN-HEADED ARROW
89 sign \x21FE 25-25-135 # RIGHTWARDS OPEN-HEADED ARROW
90 sign \x21FF 246-25-25-135 # LEFT RIGHT OPEN-HEADED ARROW
91 always \x21FD 246-25-25 # LEFTWARDS OPEN-HEADED ARROW
92 always \x21FE 25-25-135 # RIGHTWARDS OPEN-HEADED ARROW
93 always \x21FF 246-25-25-135 # LEFT RIGHT OPEN-HEADED ARROW
94 sign \x00BA 145-1245 MASCULINE ORDINAL INDICATOR 006F
95 punctuation \x00Ad 36 # 173 soft hyphen
96 sign \x00B0 5-234 # 176 ° degree sign
97 sign \x00B4 4
98 noback always \x00B4 4 # acute accent sign
99 sign \x00B5 2-134 # micro sign, (mu)
100 sign \x00B6 4-1234-345 # 182 ¶ pilcrow sign
101 math \x00D7 4-16 # 215 × multiplication sign
102 midnum \x00D7 4-16
103
104 math \x00F7 46-34 # 247 ÷ division sign
105 midnum \x00F7 46-34
106 punctuation \x2010 36 # 8208 hyphen
107 punctuation \x2011 23478 # 8209 non-breaking hyphen
108
109 punctuation \x2013 6-36 # 8211 en dash
110 punctuation \x2014 6-36 # 8212 em dash
111 punctuation \x2018 236 # 8216 smart single left quotation mark
112 punctuation \x2019 356-3 # 8217 smart single right quotation mark
113
114 punctuation \x201C 236 # 8220 smart opening double quote ***začetni narekovaj
115 punctuation \x201D 356 # 8221 smart closing double quote ***končni narekovaj
116 punctuation \x201E 236 # 8222 smart double low quotation mark
117 punctuation \x201F 356 # 8223 smart double high reverse quotation mark
118
119 punctuation \x2026 3-3-3 # 8230 smart ellipsis
120 math \x2030 5-12456 # 8240 ‰ per mille sign
121 math \x2260 235 # 8800 ≠ not equal to
122 always != 235
123 sign \x20AC 5-15 # 8364 Euro sign anywhere else
124
125 # --------------------------- end definitions ---------------------------------
126
127 include countries.cti
128
129
130 # Braille indicators
131 numsign 3456 number sign, just a dots operand
132 capsletter 46
133 begcapsword 456
134 endcapsword 6
135 nocontractsign 6
136 nonumsign 6
137 numericnocontchars abcdefghij
138 numericmodechars .,:
139
140 # Roman numbers are preceded with 456, also if single letter
141 attribute roman IVXLCDM
142 noback pass2 $ps[@46]%roman$ps @456
143 noback pass2 $ps[@46]%roman~ @456
144 noback pass2 `[@46]%roman$ps @456
145 noback pass2 `[@46]%roman~ @456
146
147 # the decimal digits
148 include litdigits6Dots.uti
149
150 # special accented chars
151 lowercase \x0111 1456 # đ
152 lowercase \x0161 156 # š
153 lowercase \x010D 16 # č
154 lowercase \x0107 146 # ć
155 lowercase \x017E 2346 # ž
156 lowercase \x00F0 1456 # ð (dž)
157
158
159 # accented letters
160
161 lowercase \x00E0 1 # a with grave
162 lowercase \x00E1 1 # a with acute
163 lowercase \x00E2 1 # a with circumflex
164 lowercase \x00E3 1 # a with tilde
165 lowercase \x00E4 1 # a with dieresis
166 lowercase \x00E5 1 # a with ring above
167 lowercase \x00E6 1 # letter ae
168 lowercase \x00E7 14 # c with cedilla
169 lowercase \x00E8 15 # e with grave
170 lowercase \x00E9 15 # e with acute
171 lowercase \x00EA 15 # e with circumflex
172 lowercase \x00EB 15 # e with dieresis
173 lowercase \x00EC 24 # i with grave above
174 lowercase \x00ED 24 # i with acute above
175 lowercase \x00EE 24 # i with circumflex
176 lowercase \x00EF 24 # i with dieresis
177 lowercase \x00F0 15 # letter eth
178 lowercase \x00F1 1345 # n with tilde
179 lowercase \x00F2 135 # o with grave above
180 lowercase \x00F3 135 # o with acute above
181 lowercase \x00F4 135 # o with circumflex
182 lowercase \x00F5 135 # o with tilde
183 lowercase \x00F6 135 # o with dieresis
184 # \x00D7 × multiplication sign ----------------------
185 lowercase \x00F8 135 # o with stroke
186 lowercase \x00F9 136 # u with grave above
187 lowercase \x00FA 136 # u with acute above
188 lowercase \x00FB 136 # u with circumflex above
189 lowercase \x00FC 136 # u with dieeresis
190 lowercase \x00FD 13456 # y with acute above
191 lowercase \x00FE 4-1456 # letter thorn
192 letter \x00DF 2346 # small sharp s
193 lowercase \x0175 4-2456 w with circumflex
194 lowercase \x0177 4-13456 # y with circumflex
195 lowercase \x00ff 4-13456 # y with diaeresis
196 lowercase \x1ef3 4-13456 # y with grave
197 largesign \x00C0 4-1 [C0] upper a grave
198 largesign \x00E0 4-1 [E0] lower a grave
199 largesign \x00C1 4-1 [C1] upper a acute
200 largesign \x00E1 4-1 [E1] lower a acute
201 largesign \x00C2 4-1 [C2] upper a circumflex
202 largesign \x00E2 4-1 [E2] lower a circumflex
203 largesign \x00C3 4-1 [C3] upper a tilde
204 largesign \x00E3 4-1 [E3] lower a tilde
205 largesign \x00C4 4-1 [C4] upper a dieresis
206 largesign \x00E4 4-1 [E4] lower a dieresis
207
208 largesign \x00C5 4-1 [C5] upper a ring
209 largesign \x00E5 4-1 [E5] lower a ring
210
211 largesign \x00C6 1-15 [C6] upper ae
212 largesign \x00E6 1-15 [E6] lower ae
213
214 largesign \x00C7 4-14 [C7] upper c cedilla
215 largesign \x00E7 4-14 [E7] lower c cedilla
216
217 largesign \x00C8 4-15 [C8] upper e grave
218 largesign \x00E8 4-15 [E8] lower e grave
219
220 largesign \x00C9 4-15 [C9] upper e acute
221 largesign \x00E9 4-15 [E9] lower e acute
222
223 largesign \x00CA 4-15 [CA] upper e circumflex
224 largesign \x00EA 4-15 [EA] lower e circumflex
225
226 largesign \x00CB 4-15 [CB] upper e dieresis
227 largesign \x00EB 4-15 [EB] lower e dieresis
228
229 largesign \x00CC 4-24 [CC] upper i grave
230 largesign \x00EC 4-24 [EC] lower i grave
231
232 largesign \x00CD 4-24 [CD] upper i acute
233 largesign \x00ED 4-24 [ED] lower i acute
234
235 largesign \x00CE 4-24 [CE] upper i circumflex
236 largesign \x00EE 4-24 [EE] lower i circumflex
237
238 largesign \x00CF 4-24 [CF] upper i dieresis
239 largesign \x00EF 4-24 [EF] lower i dieresis
240
241 largesign \x00D0 4-15 [D0] upper eth
242 largesign \x00F0 4-15 [F0] lower eth
243
244 largesign \x00D1 4-1345 [D1] upper n tilde
245 largesign \x00F1 4-1345 [F1] lower n tilde
246
247 largesign \x00D2 4-135 [D2] upper o grave
248 largesign \x00F2 4-135 [F2] lower o grave
249
250 largesign \x00D3 4-135 [D3] upper o acute
251 largesign \x00F3 4-135 [F3] lower o acute
252
253 largesign \x00D4 4-135 [D4] upper o circumflex
254 largesign \x00F4 4-135 [F4] lower o circumflex
255
256 largesign \x00D5 4-135 [D5] upper o tilde
257 largesign \x00F5 4-135 [F5] lower o tilde
258
259 largesign \x00D6 4-135 [D6] upper o dieresis
260 largesign \x00F6 4-135 [F6] lower o dieresis
261
262 largesign \x00D8 4-135 [D8] upper o slash
263 largesign \x00f8 4-135 [F8] lower o slash
264
265 largesign \x00D9 4-136 [D9] upper u grave
266 largesign \x00F9 4-136 [F9] lower u grave
267
268 largesign \x00DA 4-136 [DA] upper u acute
269 largesign \x00FA 4-136 [FA] lower u acute
270
271 largesign \x00DB 4-136 [DB] upper u circumflex
272 largesign \x00FB 4-136 [FB] lower u circumflex
273
274 largesign \x00DC 4-136 [DC] upper u dieresis
275 largesign \x00FC 4-136 [FC] lower u dieresis
276
277 largesign \x00DD 4-13456 [DD] upper y acute
278 largesign \x00FD 4-13456 [FD] lower y acute
279
280 largesign \x00DE 4-2345 [DE] upper t horn
281 largesign \x00FE 4-2345 [FE] lower t horn
282
283 largesign \x00DF 234-234 (DF) lower ss
284
285 largesign \x0174 4-2456 lower w circumflex
286 largesign \x0175 4-2456 upper w circumflex
287
288 letter \x0176 4-13456 upper y circumflex
289 letter \x0177 4-13456 lower y circumflex
290
291 largesign \x0178 4-13456 upper y with dieresis
292 largesign \x00FF 4-13456 lower y with dieresis
293
294 largesign \x1EF2 4-13456 upper y with grave
295 largesign \x1EF3 4-13456 lower y with grave
296
297 # Greek letters
298 lowercase \x03b1 1 # greek letter alpha α
299 lowercase \x03b2 12 # greek letter beta β
300 lowercase \x03b3 1245 # greek letter gamma γ
301 lowercase \x03b4 145 # greek letter delta δ
302 lowercase \x03b5 156 # greek letter epsilon ε
303 lowercase \x03b6 1356 # greek letter zeta ζ
304 lowercase \x03b7 15 # greek letter eta η
305 lowercase \x03b8 125 # greek letter theta θ
306 lowercase \x03b9 24 # greek letter iota ι
307 lowercase \x03ba 13 # greek letter kappa κ
308 lowercase \x03bb 123 # greek letter lamda λ
309 lowercase \x03bc 134 # greek letter mu μ
310 lowercase \x03bd 1345 # greek letter nu ν
311 lowercase \x03be 1346 # greek letter xi ξ
312 lowercase \x03bf 135 # greek letter omicron ο
313 lowercase \x03c0 1234 # greek letter pi π
314 lowercase \x03c1 1235 # greek letter rho ρ
315 lowercase \x03c3 234 # greek letter sigma σ
316 lowercase \x03c2 234 # 962 greek small letter final sigma ς
317 lowercase \x03c4 2345 # 932 greek letter tau τ
318 lowercase \x03c5 136 # 933 greek letter upsilon υ
319 lowercase \x03c6 124 # 934 greek letter phi φ
320 lowercase \x03c7 14 # 935 greek letter chi χ
321 lowercase \x03c8 13456 # 936 greek letter psi ψ
322 lowercase \x03c9 2456 # 937 greek letter omega ω
323
324 attribute greek αβγδεζηθικλμνξοπρσςτυφχψωΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ
325 noback context %greek. @56*
326 noback pass2 @46@56 @56@46
327 noback pass2 @456@56 @56@456
328
329 # Uppercase letters
330 base uppercase \x0110 \x0111 # đ
331 base uppercase \x0160 \x0161 # š
332 base uppercase \x010C \x010D # č
333 base uppercase \x0106 \x0107 # ć
334 base uppercase \x017D \x017E # ž
335 base uppercase \x00D0 \x00F0 # ð (dž)
336 base uppercase \x00C0 \x00E0 # a with grave
337 base uppercase \x00C1 \x00E1 # a with acute
338 base uppercase \x00C2 \x00E2 # a with circumflex
339 base uppercase \x00C3 \x00E3 # a with tilde
340 base uppercase \x00C4 \x00E4 # a with dieresis
341 base uppercase \x00C5 \x00E5 # a with ring above
342 base uppercase \x00C6 \x00E6 # letter ae
343 base uppercase \x00C7 \x00E7 # c with cedilla
344 base uppercase \x00C8 \x00E8 # e with grave
345 base uppercase \x00C9 \x00E9 # e with acute
346 base uppercase \x00CA \x00EA # e with circumflex
347 base uppercase \x00CB \x00EB # e with dieresis
348 base uppercase \x00CC \x00EC # i with grave above
349 base uppercase \x00CD \x00ED # i with acute above
350 base uppercase \x00CE \x00EE # i with circumflex
351 base uppercase \x00CF \x00EF # i with dieresis
352 base uppercase \x00D0 \x00F0 # letter eth
353 base uppercase \x00D1 \x00F1 # n with tilde
354 base uppercase \x00D2 \x00F2 # o with grave above
355 base uppercase \x00D3 \x00F3 # o with acute above
356 base uppercase \x00D4 \x00F4 # o with circumflex
357 base uppercase \x00D5 \x00F5 # o with tilde
358 base uppercase \x00D6 \x00F6 # o with dieresis
359 base uppercase \x00D8 \x00F8 # o with stroke
360 base uppercase \x00D9 \x00F9 # u with grave above
361 base uppercase \x00DA \x00FA # u with acute above
362 base uppercase \x00DB \x00FB # u with circumflex above
363 base uppercase \x00DC \x00FC # u with dieeresis
364 base uppercase \x00DD \x00FD # y with acute above
365 base uppercase \x00DE \x00FE # letter thorn
366 base uppercase \x0174 \x0175 # w with circumflex
367 base uppercase \x0176 \x0177 # y with circumflex
368 base uppercase \x0178 \x00ff # y with diaeresis
369 base uppercase \x1ef2 \x1ef3 # y with grave
370 base uppercase \x0391 \x03b1 # 913 greek letter alpha Αα
371 base uppercase \x0392 \x03b2 # 914 greek letter beta Ββ
372 base uppercase \x0393 \x03b3 # 915 greek letter gamma Γγ
373 base uppercase \x0394 \x03b4 # 916 greek letter delta Δδ
374 base uppercase \x0395 \x03b5 # 917 greek letter epsilon Εε
375 base uppercase \x0396 \x03b6 # 918 greek letter zeta Ζζ
376 base uppercase \x0397 \x03b7 # 919 greek letter eta Ηη
377 base uppercase \x0398 \x03b8 # 920 greek letter theta Θθ
378 base uppercase \x0399 \x03b9 # 921 greek letter iota Ιι
379 base uppercase \x039a \x03ba # 922 greek letter kappa Κκ
380 base uppercase \x039b \x03bb # 923 greek letter lamda Λλ
381 base uppercase \x039c \x03bc # 924 greek letter mu Μμ
382 base uppercase \x039d \x03bd # 925 greek letter nu Νν
383 base uppercase \x039e \x03be # 926 greek letter xi Ξξ
384 base uppercase \x039f \x03bf # 927 greek letter omicron Οο
385 base uppercase \x03a0 \x03c0 # 928 greek letter pi Ππ
386 base uppercase \x03a1 \x03c1 # 929 greek letter rho Ρρ
387 base uppercase \x03a3 \x03c3 # 931 greek letter sigma Σσ
388 base uppercase \x03a4 \x03c4 # 932 greek letter tau Ττ
389 base uppercase \x03a5 \x03c5 # 933 greek letter upsilon Υυ
390 base uppercase \x03a6 \x03c6 # 934 greek letter phi Φφ
391 base uppercase \x03a7 \x03c7 # 935 greek letter chi Χχ
392 base uppercase \x03a8 \x03c8 # 936 greek letter psi Ψψ
393 base uppercase \x03a9 \x03c9 # 937 greek letter omega Ωω
394
395 # punctuation
396 prepunc ( 236
397 postpunc ) 356
398 begword ` 236
399 prepunc " 236
400 postpunc " 356
401 prepunc ' 2
402 postpunc ' 3
403 sign # 456-1456 # Pound, number sign, hash
404 always # 5-1345
405 sign \x20AC 5-15 # euro sign atend of number
406 midnum , 2
407 postpunc , 2
408 decpoint . 256
409 midnum - 36
410 hyphen - 36
411 #capsnocont
412 postpunc . 256
413 postpunc ; 23
414 midnum : 25
415 postpunc : 25
416 postpunc ! 235
417 midnum / 23456
418 noback always / 23456
419 always < 6-236
420 always > 6-356
421 punctuation ? 26
422 sign % 12456
423 endnum % 12456
424 midnum ^ 5-156
425 always ^ 5-156
426 always ~ 5-1356
427 always & 5-24
428 midnum * 35
429 midnum + 1256
430 noback always * 35
431 midword \x2019 3 # stupid smart apostrophe
432 always [ 6-235
433 always ] 6-256
434 always { 6-126
435 always } 6-345
436 prepunc ` 236
437 noback always @ 246
438 always \\ 12356
439 always | 5-1236
440 repeated \s 0
441 repeated \t 0
442 always \s-\s 36
443 always ... 256-256-256
444 always .\s.\s. 256-256-256 . . .
445 begnum $ 46
446 always $ 5-145
447 endword (s) 2356-234-2356
448
449 # Vulgar Fractions
450 sign \x00BD 3456-1-34-12 # one half
451 sign \x00BC 3456-1-34-145 # one fourth
452 sign \x00BE 3456-14-34-145 # three fourths
453 sign \x2153 3456-1-34-14 # one third
454 sign \x2154 3456-12-34-14 # two thirds
455 sign \x215B 3456-1-34-125 # one eighth
456 sign \x215C 3456-14-34-125 # three eighths
457 sign \x215D 3456-15-34-125 # five eighths
458 sign \x215E 3456-1245-34-125 # seven eighths
459
460 sign \x00B1 346-36 # plus or minus
461 sign \x00B2 45-23
462 sign \x00B3 45-25
463 postpunc \x00B2 45-23-456
464 sign \x00B3 45-25-456
465 always \x00B2 45-23
466 always \x00B2 45-25
467 always \x00BA 56-145-1245
468 sign \x2122 5-2345 # trade mark symbol
469
470 sign \x00BB 236
471 sign \x00AB 356