| 1 |
#-index-name: Kazakh |
| 2 |
#-display-name: Kazakh braille |
| 3 |
|
| 4 |
#+language: kk |
| 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 |
# Based on the Russian braille. |
| 29 |
|
| 30 |
#-maintainer: Andrey Yakuboy |
| 31 |
|
| 32 |
# The Kazakh alphabet has 9 letters that are not in the Russian |
| 33 |
# alphabet, namely Ә, Ғ, Қ, Ң, Ө, Ұ, Ү, Һ and І. Like in ru-litbrl.ctb, the |
| 34 |
# following definitions have dot 9 set to make them distinguishable |
| 35 |
# from the Latin letters. |
| 36 |
|
| 37 |
lowercase \x04d9 3459 |
| 38 |
lowercase \x0493 124569 |
| 39 |
lowercase \x049b 14569 |
| 40 |
lowercase \x04a3 1469 |
| 41 |
lowercase \x04e9 1269 |
| 42 |
lowercase \x04b1 3469 |
| 43 |
lowercase \x04af 349 |
| 44 |
lowercase \x04bb 12369 |
| 45 |
lowercase \x0456 134569 # conflicts with a definition in ru-litbrl.ctb |
| 46 |
|
| 47 |
# base rules for Ә, Ғ, Қ, Ң, Ө, Ұ, Ү and Һ (the base rule for І is already in ru-litbrl.ctb) |
| 48 |
base uppercase \x04d8 \x04d9 |
| 49 |
base uppercase \x0492 \x0493 |
| 50 |
base uppercase \x049a \x049b |
| 51 |
base uppercase \x04a2 \x04a3 |
| 52 |
base uppercase \x04e8 \x04e9 |
| 53 |
base uppercase \x04b0 \x04b1 |
| 54 |
base uppercase \x04ae \x04af |
| 55 |
base uppercase \x04ba \x04bb |
| 56 |
|
| 57 |
# As some Kazakh letters' definitions conflict with parentheses, the definitions of parentheses should be changed |
| 58 |
punctuation ( 2356 |
| 59 |
punctuation ) 2356 |
| 60 |
|
| 61 |
include ru-litbrl.ctb |
| 62 |
|
| 63 |
# Extend classes defined in ru-litbrl.ctb |
| 64 |
attribute uppercyrillic \x04d8\x0492\x049a\x04a2\x04e8\x04b0\x04ae\x04ba |
| 65 |
attribute lowercyrillic \x04d9\x0493\x049b\x04a3\x04e9\x04b1\x04af\x04bb |
| 66 |
|
| 67 |
# In spite of conflicts of letters and parentheses, in math text parentheses should be marked like in the Russian braille |
| 68 |
# The correct opcode is used to avoid conflicts with rules in ru-litbrl.ctb |
| 69 |
noback correct $m["("] "\x2823"#4=1 # \x2823 is the dots 126 |
| 70 |
noback correct ["("]$m "\x2823"#4=1 |
| 71 |
noback correct $d["("] "\x2823"#4=1 |
| 72 |
noback correct ["("]$d "\x2823"#4=1 |
| 73 |
noback correct #4=1[")"] "\x281c"#4=0 # \x281c is the dots 345 |
| 74 |
noback correct $m[")"] "\x281c"#4=0 |
| 75 |
noback correct [")"]$m "\x281c"#4=0 |
| 76 |
noback correct $d[")"] "\x281c"#4=0 |
| 77 |
noback correct [")"]$d "\x281c"#4=0 |