| 1 |
#-index-name: Tatar |
| 2 |
#-display-name: Tatar braille |
| 3 |
# |
| 4 |
#+language: tt |
| 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 Tatar braille code was created by Sharif Kalimullovich Enikeev |
| 31 |
# and accepted in 1939. It was described in "Braille codes of the |
| 32 |
# national languages of Russia" (a collection of materials); by |
| 33 |
# N.D. Shaposhnikova; Moscow, 2017 |
| 34 |
# <http://liblouis.io/braille-specs/russian>. |
| 35 |
|
| 36 |
# The Tatar braille code is based on the Russian braille and includes 6 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 \x04d9 3459 |
| 41 |
lowercase \x0497 124569 |
| 42 |
lowercase \x04a3 14569 |
| 43 |
lowercase \x04e9 1269 |
| 44 |
lowercase \x04af 134569 |
| 45 |
lowercase \x04bb 12369 |
| 46 |
|
| 47 |
base uppercase \x04d8 \x04d9 |
| 48 |
base uppercase \x0496 \x0497 |
| 49 |
base uppercase \x04a2 \x04a3 |
| 50 |
base uppercase \x04e8 \x04e9 |
| 51 |
base uppercase \x04ae \x04af |
| 52 |
base uppercase \x04ba \x04bb |
| 53 |
|
| 54 |
# As some Tatar letters' definitions conflict with parentheses, the definitions of parentheses should be changed |
| 55 |
punctuation ( 2356 |
| 56 |
punctuation ) 2356 |
| 57 |
|
| 58 |
include ru-litbrl.ctb |
| 59 |
|
| 60 |
# Extend classes defined in ru-litbrl.ctb |
| 61 |
attribute uppercyrillic \x04d8\x0496\x04a2\x04e8\x04ae\x04ba |
| 62 |
attribute lowercyrillic \x04d9\x0497\x04a3\x04e9\x04af\x04bb |
| 63 |
|
| 64 |
# In spite of conflicts of letters and parentheses, in math text parentheses should be marked like in the Russian braille |
| 65 |
# The correct opcode is used to avoid conflicts with rules in ru-litbrl.ctb |
| 66 |
noback correct $m["("] "\x2823"#4=1 # \x2823 is the dots 126 |
| 67 |
noback correct ["("]$m "\x2823"#4=1 |
| 68 |
noback correct $d["("] "\x2823"#4=1 |
| 69 |
noback correct ["("]$d "\x2823"#4=1 |
| 70 |
noback correct #4=1[")"] "\x281c"#4=0 # \x281c is the dots 345 |
| 71 |
noback correct $m[")"] "\x281c"#4=0 |
| 72 |
noback correct [")"]$m "\x281c"#4=0 |
| 73 |
noback correct $d[")"] "\x281c"#4=0 |
| 74 |
noback correct [")"]$d "\x281c"#4=0 |