#-index-name: Belarusian
#-display-name: Belarusian braille

#+language: be
#+type: literary
#+dots: 6
#+contraction: no
#+direction: forward

#  Copyright (C) 2021 Andrey Yakuboy <braille@yakuboy.ru>
#
#  This file is part of liblouis.
#
#  liblouis is free software: you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as
#  published by the Free Software Foundation, either version 2.1 of the
#  License, or (at your option) any later version.
#
#  liblouis is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#  Lesser General Public License for more details.
#
#  You should have received a copy of the GNU Lesser General Public
#  License along with liblouis. If not, see
#  <http://www.gnu.org/licenses/>.
#
# Based on the Russian braille.

#-maintainer: Andrey Yakuboy

# The Belarusian alphabet has 2 letters that are not in the Russian
# alphabet, namely І and Ў. Like in ru-litbrl.ctb, the
# following definitions have dot 9 set to make them distinguishable
# from the Latin letters.

lowercase \x0456 134569  SMALL CYRILLIC LETTER I    і  # conflicts with definition in ru-litbrl.ctb
lowercase \x045e 3469    CYRILLIC LETTER SHORT U    ў

# base rule for Ў (the base rule for І is already in ru-litbrl.ctb)
base uppercase \x040e \x045e  CYRILLIC LETTER SHORT U    Ўў

include ru-litbrl.ctb

# Extend classes defined in ru-litbrl.ctb
attribute uppercyrillic \x040e
attribute lowercyrillic \x045e
