blob: dd6965920c28e912628fb5480767a6331aa8fdb6 [file] [log] [blame]
#-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.
#
# The first definition conflicts with a definition in ru-litbrl.ctb
# and needs to be placed before AND after the "ru-litbrl.ctb" include
# in order for both the lower- and uppercase part to take precedence
# (see https://github.com/liblouis/liblouis/issues/384).
lowercase \x0456 134569 SMALL CYRILLIC LETTER I і
lowercase \x045e 3469 CYRILLIC LETTER SHORT U ў
include ru-litbrl.ctb
lowercase \x0456 134569 SMALL CYRILLIC LETTER I і
# base rule for Ў (the base rule for І is already in ru-litbrl.ctb)
base uppercase \x040e \x045e CYRILLIC LETTER SHORT U Ўў
# Extend classes defined in ru-litbrl.ctb
attribute uppercyrillic \x040e
attribute lowercyrillic \x045e