Debian Codegraph @

tables/sah.utb

raw
1 #-index-name: Yakut
2 #-display-name: Yakut braille
3 #
4 #+language: sah
5 #+type: literary
6 #+dots: 6
7 #+contraction: no
8 #+direction: forward
9
10 # Copyright (C) 2021 Andrey Yakuboy <[email protected]>
11 #
12 # This file is part of liblouis.
13 #
14 # liblouis is free software: you can redistribute it and/or modify it
15 # under the terms of the GNU Lesser General Public License as
16 # published by the Free Software Foundation, either version 2.1 of the
17 # License, or (at your option) any later version.
18 #
19 # liblouis is distributed in the hope that it will be useful, but
20 # WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 # Lesser General Public License for more details.
23 #
24 # You should have received a copy of the GNU Lesser General Public
25 # License along with liblouis. If not, see
26 # <http://www.gnu.org/licenses/>.
27 #
28 #-maintainer: Andrey Yakuboy
29
30 # The Yakut braille code was created by Ivan Gorny (the real name is
31 # Ivan Nikolaevich Egorov) and accepted in 1992. It was described in
32 # "Braille codes of the national languages of Russia" (a collection of
33 # materials); by N.D. Shaposhnikova; Moscow, 2017
34 # <http://liblouis.io/braille-specs/russian>.
35
36 # The Yakut braille code is based on the Russian braille and includes 5 additional letters,
37 # namely Ҕ, Ҥ, Ө, Һ and Ү. Like in ru-litbrl.ctb, the
38 # following definitions have dot 9 set to make them distinguishable
39 # from the Latin letters.
40 lowercase \x0495 14569
41 lowercase \x04a5 134569
42 lowercase \x04e9 1269
43 lowercase \x04bb 1469
44 lowercase \x04af 12369
45
46 base uppercase \x0494 \x0495
47 base uppercase \x04a4 \x04a5
48 base uppercase \x04e8 \x04e9
49 base uppercase \x04ba \x04bb
50 base uppercase \x04ae \x04af
51
52 # As the definition of the Yakut letter 'Ө' conflicts with parentheses, the definitions of parentheses should be changed
53 punctuation ( 2356
54 punctuation ) 2356
55
56 include ru-litbrl.ctb
57
58 # Extend classes defined in ru-litbrl.ctb
59 attribute uppercyrillic \x0494\x04a4\x04e8\x04ba\x04ae
60 attribute lowercyrillic \x0495\x04a5\x04e9\x04bb\x04af
61
62 # In spite of conflicts of letters and parentheses, in math text parentheses should be marked like in the Russian braille
63 # The correct opcode is used to avoid conflicts with rules in ru-litbrl.ctb
64 noback correct $m["("] "\x2823"#4=1 # \x2823 is the dots 126
65 noback correct ["("]$m "\x2823"#4=1
66 noback correct $d["("] "\x2823"#4=1
67 noback correct ["("]$d "\x2823"#4=1
68 noback correct #4=1[")"] "\x281c"#4=0 # \x281c is the dots 345
69 noback correct $m[")"] "\x281c"#4=0
70 noback correct [")"]$m "\x281c"#4=0
71 noback correct $d[")"] "\x281c"#4=0
72 noback correct [")"]$d "\x281c"#4=0