#
#  Copyright (C) 2011 by Bert Frees <bertfrees@gmail.com>
#  Copyright (C) 2011 by Jan Halousek <merit@login.cz>
#  Copyright (C) 2012 by Brailcom, o.p.s.
#
#  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/>.
#
# ----------------------------------------------------------------------------------------------
#
#  Czech Braille
#
#     Created and maintained by Bert Frees <bertfrees@gmail.com>
#                               Jan Halousek <merit@login.cz>
#
#     Based on the official Czech Braille Standard
# ----------------------------------------------------------------------------------------------

space       \x0009        9                                       <control> HORIZONTAL TABULATION
space       \x001B        1b                                      <control> ESCAPE
space       \x00A0        a                                       NO-BREAK SPACE
include spaces.uti

# ==============================================================================================
# SINGLE-CELL
# ==============================================================================================

include cs-letterDef8Dots.uti

uplow       \x013D\x013E  1234567,123456      Ľľ                  LATIN CAPITAL LETTER L WITH CARON - LATIN SMALL LETTER L WITH CARON

# ----------------------------------------------------------------------------------------------
# Unicode 0000..007F  C0 Controls and Basic Latin
# ----------------------------------------------------------------------------------------------

punctuation \x0021        235                 !                   EXCLAMATION MARK
punctuation \x0022        2356                "                   QUOTATION MARK
sign        \x0023        6-3456                #                   NUMBER SIGN
punctuation \x0027        4                   '                   APOSTROPHE
punctuation \x0028        236                 (                   LEFT PARENTHESIS
punctuation \x0029        356                 )                   RIGHT PARENTHESIS
sign        \x002A        35                  *                   ASTERISK
math        \x002B        256                 +                   PLUS SIGN
punctuation \x002C        2                   ,                   COMMA
punctuation \x002D        36                  -                   HYPHEN-MINUS
punctuation \x002E        3                   .                   FULL STOP
math        \x002F        12456               /                   SOLIDUS
include digits6Dots.uti
punctuation \x003A        25                  :                   COLON
punctuation \x003B        23                  ;                   SEMICOLON
math        \x003C        126                 <                   LESS-THAN SIGN
math        \x003D        2356                =                   EQUALS SIGN
math        \x003E        345                 >                   GREATER-THAN SIGN
punctuation \x003F        26                  ?                   QUESTION MARK
sign        \x007C        456                 |                   VERTICAL LINE


# ----------------------------------------------------------------------------------------------
# Unicode 0080..00FF  C1 Controls and Latin-1 Supplement
# ----------------------------------------------------------------------------------------------

sign        \x00A9        1246-2456-6-14      ©                   COPYRIGHT SIGN
punctuation \x00AD        36                  ­                   SOFT HYPHEN
math        \x00B1        256-36              ±                   PLUS-MINUS SIGN
sign        \x00B4        4                   ´                   ACUTE ACCENT
math        \x00D7        346                 ×                   MULTIPLICATION SIGN
math        \x00F7        25                  ÷                   DIVISION SIGN


# ----------------------------------------------------------------------------------------------
# Unicode 2000..206F  General Punctuation
# ----------------------------------------------------------------------------------------------

punctuation \x2010        36                  ‐                   HYPHEN
punctuation \x2011        36                  ‑                   NON-BREAKING HYPHEN
punctuation \x2012        36                  ‒                   FIGURE DASH
punctuation \x2013        36                  –                   EN DASH
punctuation \x2014        36                  —                   EM DASH
punctuation \x2015        36                  ―                   HORIZONTAL BAR
punctuation \x2018        4                   ‘                   LEFT SINGLE QUOTATION MARK
punctuation \x2019        4                   ’                   RIGHT SINGLE QUOTATION MARK
punctuation \x201A        4                   ‚                   SINGLE LOW-9 QUOTATION MARK
punctuation \x201B        4                   ‛                   SINGLE HIGH-REVERSED-9 QUOTATION MARK
punctuation \x201C        2356                “                   LEFT DOUBLE QUOTATION MARK
punctuation \x201D        2356                ”                   RIGHT DOUBLE QUOTATION MARK
punctuation \x201E        2356                „                   DOUBLE LOW-9 QUOTATION MARK
punctuation \x201F        2356                ‟                   DOUBLE HIGH-REVERSED-9 QUOTATION MARK


# ==============================================================================================
# MULTI-CELL
# ==============================================================================================

# ----------------------------------------------------------------------------------------------
# Unicode 0000..007F  C0 Controls and Basic Latin
# ----------------------------------------------------------------------------------------------

sign        \x0024        3456-1246           $                   DOLLAR SIGN
math        \x0025        3456-1234           %                   PERCENT SIGN
sign        \x0026        3456-12346          &                   AMPERSAND
sign        \x0040        3456-12456          @                   COMMERCIAL AT
punctuation \x005B        6-236               [                   LEFT SQUARE BRACKET
sign        \x005C        3456-1256           \                   REVERSE SOLIDUS
punctuation \x005D        6-356               ]                   RIGHT SQUARE BRACKET
sign        \x005E        6-45                ^                   CIRCUMFLEX ACCENT
sign        \x005F        6-36                _                   LOW LINE
punctuation \x0060        45-4                `                   GRAVE ACCENT
math        \x007B        46-236              {                   LEFT CURLY BRACKET
math        \x007D        46-356              }                   RIGHT CURLY BRACKET
math        \x007E        6-5                 ~                   TILDE
sign        \x007F        6-3                                     DELETE


# ----------------------------------------------------------------------------------------------
# Unicode 0080..00FF  C1 Controls and Latin-1 Supplement
# ----------------------------------------------------------------------------------------------

sign        \x0080        15-136-1235-135     €                   <control> - ANSI: EURO-CURRENCY SIGN - MACROMAN: A DIAERESIS
sign        \x00B0        3456-234            °                   DEGREE SIGN
sign        \x00B5        4-134               µ                   MICRO SIGN
math        \x00B9        34-1                ¹                   SUPERSCRIPT ONE
uplow       \x00C4\x00E4  1-15,1-15           Ää                  LATIN CAPITAL LETTER A WITH DIAERESIS - LATIN SMALL LETTER A WITH DIAERESIS
uplow       \x00D6\x00F6  135-15,135-15       Öö                  LATIN CAPITAL LETTER O WITH DIAERESIS - LATIN SMALL LETTER O WITH DIAERESIS
uplow       \x00DC\x00FC  136-15,136-15       Üü                  LATIN CAPITAL LETTER U WITH DIAERESIS - LATIN SMALL LETTER U WITH DIAERESIS


# ----------------------------------------------------------------------------------------------
# Unicode 0370..03FF  Greek and Coptic
# ----------------------------------------------------------------------------------------------

letter      \x0391        46-1                Α                   GREEK CAPITAL LETTER ALPHA
letter      \x0392        46-12               Β                   GREEK CAPITAL LETTER BETA
letter      \x0393        46-1245             Γ                   GREEK CAPITAL LETTER GAMMA
letter      \x0394        46-145              Δ                   GREEK CAPITAL LETTER DELTA
letter      \x0395        46-15               Ε                   GREEK CAPITAL LETTER EPSILON
letter      \x0398        46-1456             Θ                   GREEK CAPITAL LETTER THETA
letter      \x0399        46-24               Ι                   GREEK CAPITAL LETTER IOTA
letter      \x039A        46-13               Κ                   GREEK CAPITAL LETTER KAPPA
letter      \x039B        46-123              Λ                   GREEK CAPITAL LETTER LAMDA
letter      \x039C        46-134              Μ                   GREEK CAPITAL LETTER MU
letter      \x039D        46-1345             Ν                   GREEK CAPITAL LETTER NU
letter      \x039E        46-1346             Ξ                   GREEK CAPITAL LETTER XI
letter      \x039F        46-135              Ο                   GREEK CAPITAL LETTER OMICRON
letter      \x03A0        46-1234             Π                   GREEK CAPITAL LETTER PI
letter      \x03A1        46-1235             Ρ                   GREEK CAPITAL LETTER RHO
letter      \x03A3        46-234              Σ                   GREEK CAPITAL LETTER SIGMA
letter      \x03A4        46-2345             Τ                   GREEK CAPITAL LETTER TAU
letter      \x03A5        46-13456            Υ                   GREEK CAPITAL LETTER UPSILON
letter      \x03A6        46-124              Φ                   GREEK CAPITAL LETTER PHI
letter      \x03A7        46-125              Χ                   GREEK CAPITAL LETTER CHI
letter      \x03A8        46-12346            Ψ                   GREEK CAPITAL LETTER PSI
letter      \x03A9        46-2356             Ω                   GREEK CAPITAL LETTER OMEGA

lowercase   \x03B1        45-1                α                   GREEK SMALL LETTER ALPHA
lowercase   \x03B2        45-12               β                   GREEK SMALL LETTER BETA
lowercase   \x03B3        45-1245             γ                   GREEK SMALL LETTER GAMMA
lowercase   \x03B4        45-145              δ                   GREEK SMALL LETTER DELTA
lowercase   \x03B5        45-15               ε                   GREEK SMALL LETTER EPSILON
lowercase   \x03B8        45-1456             θ                   GREEK SMALL LETTER THETA
lowercase   \x03B9        45-24               ι                   GREEK SMALL LETTER IOTA
lowercase   \x03BA        45-13               κ                   GREEK SMALL LETTER KAPPA
lowercase   \x03BB        45-123              λ                   GREEK SMALL LETTER LAMDA
lowercase   \x03BC        45-134              μ                   GREEK SMALL LETTER MU
lowercase   \x03BD        45-1345             ν                   GREEK SMALL LETTER NU
lowercase   \x03BE        45-1346             ξ                   GREEK SMALL LETTER XI
lowercase   \x03BF        45-135              ο                   GREEK SMALL LETTER OMICRON
lowercase   \x03C0        45-1234             π                   GREEK SMALL LETTER PI
lowercase   \x03C1        45-1235             ρ                   GREEK SMALL LETTER RHO
lowercase   \x03C3        45-234              σ                   GREEK SMALL LETTER SIGMA
lowercase   \x03C4        45-2345             τ                   GREEK SMALL LETTER TAU
lowercase   \x03C5        45-13456            υ                   GREEK SMALL LETTER UPSILON
lowercase   \x03C6        45-124              φ                   GREEK SMALL LETTER PHI
lowercase   \x03C7        45-125              χ                   GREEK SMALL LETTER CHI
lowercase   \x03C8        45-12346            ψ                   GREEK SMALL LETTER PSI
lowercase   \x03C9        45-2356             ω                   GREEK SMALL LETTER OMEGA

# ----------------------------------------------------------------------------------------------
# Other Unicode characters
# ----------------------------------------------------------------------------------------------

math        \x2030        3456-1235           ‰                   PER MILLE SIGN
math        \x0609        3456-1235           ؉                   ARABIC-INDIC PER MILLE SIGN
math        \x27E8        4-126               ⟨                   MATHEMATICAL LEFT ANGLE BRACKET
math        \x27E9        4-345               ⟩                   MATHEMATICAL RIGHT ANGLE BRACKET
math        \x2260        4-2356              ≠                   NOT EQUAL TO
math        \x2250        5-2356              ≐                   APPROACHES THE LIMIT
math        \x2264        126-2356            ≤                   LESS-THAN OR EQUAL TO
math        \x2265        345-2356            ≥                   GREATER-THAN OR EQUAL TO
math        \x22C5        3                   ⋅                   DOT OPERATOR
math        \x2217        35                  ∗                   ASTERISK OPERATOR
math        \x2236        25                  ∶                   RATIO
math        \x2208        45-15               ∈                   ELEMENT OF
math        \x2209        4-45-15             ∉                   NOT AN ELEMENT OF

# ----------------------------------------------------------------------------------------------
