#
#  Copyright (C) 2010, 2011 DocArch <http://www.docarch.be>.
#
#  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/>.
#
#-------------------------------------------------------------------------------
#
#  Flemish Braille Math Code (a.k.a. Woluwe code)
#     Created and maintained by Bert Frees <bertfrees@gmail.com>
#     See also: « Handleiding Braillesymbolen Wiskunde »
#              (Gilbert Notaert, Marc Suij en Emmanuel Vandekerkhove, G.on Woluwe, 1984)
#
# ----------------------------------------------------------------------------------------------

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

include digits6Dots.uti

space       \x0020        0                                       SPACE
punctuation \x0021        6-235               !                   EXCLAMATION MARK
punctuation \x0022        4-35-35             "                   QUOTATION MARK
math        \x0025        3456-245-356        %                   PERCENT SIGN
punctuation \x0027        4-35                '                   APOSTROPHE
punctuation \x0028        126                 (                   LEFT PARENTHESIS
punctuation \x0029        345                 )                   RIGHT PARENTHESIS
math        \x002B        235                 +                   PLUS SIGN
punctuation \x002C        6-2-0               ,                   COMMA
punctuation \x002D        36                  -                   HYPHEN-MINUS
math        \x002E        236                 .                   FULL STOP
math        \x002F        34                  /                   SOLIDUS
punctuation \x003A        6-25-0              :                   COLON
punctuation \x003B        6-23-0              ;                   SEMICOLON
math        \x003C        246                 <                   LESS-THAN SIGN
math        \x003D        2356                =                   EQUALS SIGN
math        \x003E        4-135               >                   GREATER-THAN SIGN
punctuation \x003F        6-26                ?                   QUESTION MARK
math        \x007B        5-12356             {                   LEFT CURLY BRACKET
math        \x007D        5-23456             }                   RIGHT CURLY BRACKET
math        \x007E        26                  ~                   TILDE


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

space       \x00A0        a                                       NO-BREAK SPACE
math        \x00AF        36                  ¯                   MACRON
sign        \x00B0        34-356              °                   DEGREE SIGN
math        \x00B1        235-36              ±                   PLUS-MINUS SIGN
math        \x00B2        34-23               ²                   SUPERSCRIPT TWO
math        \x00B3        34-25               ³                   SUPERSCRIPT THREE
math        \x00B9        34-2                ¹                   SUPERSCRIPT ONE
math        \x00BA        34-356              º                   MASCULINE ORDINAL INDICATOR
math        \x00BC        3456-1-256          ¼                   VULGAR FRACTION ONE QUARTER
math        \x00BD        3456-1-23           ½                   VULGAR FRACTION ONE HALF
math        \x00BE        3456-14-256         ¾                   VULGAR FRACTION THREE QUARTERS
letter      \x00C2        46-1-45-346         Â                   LATIN CAPITAL LETTER A WITH CIRCUMFLEX
letter      \x00C3        46-1-45-26          Ã                   LATIN CAPITAL LETTER A WITH TILDE
math        \x00D7        236                 ×                   MULTIPLICATION SIGN
letter      \x00E2        1-45-346            â                   LATIN SMALL LETTER A WITH CIRCUMFLEX
letter      \x00E3        1-45-26             ã                   LATIN SMALL LETTER A WITH TILDE
math        \x00F7        256                 ÷                   DIVISION SIGN


# ----------------------------------------------------------------------------------------------
# Unicode 0300..036F  Combining Diacritical Marks
# ----------------------------------------------------------------------------------------------

math        \x0302        346                 ̂                   COMBINING CIRCUMFLEX ACCENT
math        \x0303        26                  ̃                   COMBINING TILDE
math        \x0304        36                  ̄                   COMBINING MACRON


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

letter      \x0391        456-1               Α                   GREEK CAPITAL LETTER ALPHA
letter      \x0392        456-12              Β                   GREEK CAPITAL LETTER BETA
letter      \x0393        456-1245            Γ                   GREEK CAPITAL LETTER GAMMA
letter      \x0394        456-145             Δ                   GREEK CAPITAL LETTER DELTA
letter      \x0395        456-15              Ε                   GREEK CAPITAL LETTER EPSILON
letter      \x0396        456-1356            Ζ                   GREEK CAPITAL LETTER ZETA
letter      \x0397        456-345             Η                   GREEK CAPITAL LETTER ETA
letter      \x0398        456-1456            Θ                   GREEK CAPITAL LETTER THETA
letter      \x0399        456-24              Ι                   GREEK CAPITAL LETTER IOTA
letter      \x039A        456-13              Κ                   GREEK CAPITAL LETTER KAPPA
letter      \x039B        456-123             Λ                   GREEK CAPITAL LETTER LAMDA
letter      \x039C        456-134             Μ                   GREEK CAPITAL LETTER MU
letter      \x039D        456-1345            Ν                   GREEK CAPITAL LETTER NU
letter      \x039E        456-1346            Ξ                   GREEK CAPITAL LETTER XI
letter      \x039F        456-135             Ο                   GREEK CAPITAL LETTER OMICRON
letter      \x03A0        456-1234            Π                   GREEK CAPITAL LETTER PI
letter      \x03A1        456-1235            Ρ                   GREEK CAPITAL LETTER RHO
letter      \x03A3        456-234             Σ                   GREEK CAPITAL LETTER SIGMA
letter      \x03A4        456-2345            Τ                   GREEK CAPITAL LETTER TAU
letter      \x03A5        456-13456           Υ                   GREEK CAPITAL LETTER UPSILON
letter      \x03A6        456-124             Φ                   GREEK CAPITAL LETTER PHI
letter      \x03A7        456-125             Χ                   GREEK CAPITAL LETTER CHI
letter      \x03A8        456-12346           Ψ                   GREEK CAPITAL LETTER PSI
letter      \x03A9        456-245             Ω                   GREEK CAPITAL LETTER OMEGA
lowercase   \x03B1        56-1                α                   GREEK SMALL LETTER ALPHA
lowercase   \x03B2        56-12               β                   GREEK SMALL LETTER BETA
lowercase   \x03B3        56-1245             γ                   GREEK SMALL LETTER GAMMA
lowercase   \x03B4        56-145              δ                   GREEK SMALL LETTER DELTA
lowercase   \x03B5        56-15               ε                   GREEK SMALL LETTER EPSILON
lowercase   \x03B6        56-1356             ζ                   GREEK SMALL LETTER ZETA
lowercase   \x03B7        56-345              η                   GREEK SMALL LETTER ETA
lowercase   \x03B8        56-1456             θ                   GREEK SMALL LETTER THETA
lowercase   \x03B9        56-24               ι                   GREEK SMALL LETTER IOTA
lowercase   \x03BA        56-13               κ                   GREEK SMALL LETTER KAPPA
lowercase   \x03BB        56-123              λ                   GREEK SMALL LETTER LAMDA
lowercase   \x03BC        56-134              μ                   GREEK SMALL LETTER MU
lowercase   \x03BD        56-1345             ν                   GREEK SMALL LETTER NU
lowercase   \x03BE        56-1346             ξ                   GREEK SMALL LETTER XI
lowercase   \x03BF        56-135              ο                   GREEK SMALL LETTER OMICRON
lowercase   \x03C0        56-1234             π                   GREEK SMALL LETTER PI
lowercase   \x03C1        56-1235             ρ                   GREEK SMALL LETTER RHO
lowercase   \x03C2        56-234              ς                   GREEK SMALL LETTER FINAL SIGMA
lowercase   \x03C3        56-234              σ                   GREEK SMALL LETTER SIGMA
lowercase   \x03C4        56-2345             τ                   GREEK SMALL LETTER TAU
lowercase   \x03C5        56-13456            υ                   GREEK SMALL LETTER UPSILON
lowercase   \x03C6        56-124              φ                   GREEK SMALL LETTER PHI
lowercase   \x03C7        56-125              χ                   GREEK SMALL LETTER CHI
lowercase   \x03C8        56-12346            ψ                   GREEK SMALL LETTER PSI
lowercase   \x03C9        56-245              ω                   GREEK SMALL LETTER OMEGA
lowercase   \x03D5        56-124              ϕ                   GREEK PHI SYMBOL


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


math        \x2030        3456-245-356-356    ‰                   PER MILLE SIGN
math        \x2032        4-35                ′                   PRIME
math        \x2033        4-35-35             ″                   DOUBLE PRIME
math        \x2034        4-35-35-35          ‴                   TRIPLE PRIME
math        \x2070        34-356              ⁰                   SUPERSCRIPT ZERO
math        \x2074        34-256              ⁴                   SUPERSCRIPT FOUR
math        \x2075        34-26               ⁵                   SUPERSCRIPT FIVE
math        \x2076        34-235              ⁶                   SUPERSCRIPT SIX
math        \x2077        34-2356             ⁷                   SUPERSCRIPT SEVEN
math        \x2078        34-236              ⁸                   SUPERSCRIPT EIGHT
math        \x2079        34-35               ⁹                   SUPERSCRIPT NINE
math        \x207F        34-1345-156         ⁿ                   SUPERSCRIPT LATIN SMALL LETTER N
math        \x2080        16-356              ₀                   SUBSCRIPT ZERO
math        \x2081        16-2                ₁                   SUBSCRIPT ONE
math        \x2082        16-23               ₂                   SUBSCRIPT TWO
math        \x2083        16-25               ₃                   SUBSCRIPT THREE
math        \x2084        16-256              ₄                   SUBSCRIPT FOUR
math        \x2085        16-26               ₅                   SUBSCRIPT FIVE
math        \x2086        16-235              ₆                   SUBSCRIPT SIX
math        \x2087        16-2356             ₇                   SUBSCRIPT SEVEN
math        \x2088        16-236              ₈                   SUBSCRIPT EIGHT
math        \x2089        16-35               ₉                   SUBSCRIPT NINE
math        \x2090        16-1-156            ₐ                   LATIN SUBSCRIPT SMALL LETTER A
math        \x2091        16-15-156           ₑ                   LATIN SUBSCRIPT SMALL LETTER E
math        \x2092        16-135-156          ₒ                   LATIN SUBSCRIPT SMALL LETTER O
math        \x2093        16-1346-156         ₓ                   LATIN SUBSCRIPT SMALL LETTER X



# ----------------------------------------------------------------------------------------------
# Unicode 2100..214F  Letterlike Symbols
# ----------------------------------------------------------------------------------------------


math        \x2102        4-14                ℂ                   DOUBLE-STRUCK CAPITAL C
math        \x2115        4-1345              ℕ                   DOUBLE-STRUCK CAPITAL N
math        \x211A        4-12345             ℚ                   DOUBLE-STRUCK CAPITAL Q
math        \x211C        12346-1235          ℜ                   BLACK-LETTER CAPITAL R
math        \x211D        4-1235              ℝ                   DOUBLE-STRUCK CAPITAL R
math        \x2124        4-1356              ℤ                   DOUBLE-STRUCK CAPITAL Z


# ----------------------------------------------------------------------------------------------
# Unicode 2190..21FF  Arrows
# ----------------------------------------------------------------------------------------------


math        \x2190        2-25                ←                   LEFTWARDS ARROW
math        \x2191        6-346               ↑                   UPWARDS ARROW
math        \x2192        25-2                →                   RIGHTWARDS ARROW
math        \x2193        4-146               ↓                   DOWNWARDS ARROW
math        \x2194        2-25-2              ↔                   LEFT RIGHT ARROW
math        \x21D0        2-2356              ⇐                   LEFTWARDS DOUBLE ARROW
math        \x21D2        2356-2              ⇒                   RIGHTWARDS DOUBLE ARROW
math        \x21D4        2-2356-2            ⇔                   LEFT RIGHT DOUBLE ARROW


# ----------------------------------------------------------------------------------------------
# Unicode 2200..22FF  Mathematical Operators
# ----------------------------------------------------------------------------------------------


math        \x2200        12346-2             ∀                   FOR ALL
math        \x2203        12346-26            ∃                   THERE EXISTS
math        \x2205        12456-35            ∅                   EMPTY SET
math        \x2208        4-15                ∈                   ELEMENT OF
math        \x2209        35-4-15             ∉                   NOT AN ELEMENT OF
math        \x220B        4-24                ∋                   CONTAINS AS MEMBER
math        \x220C        35-4-24             ∌                   DOES NOT CONTAIN AS MEMBER
math        \x220F        456-1234            ∏                   N-ARY PRODUCT
math        \x2211        456-234             ∑                   N-ARY SUMMATION
math        \x2212        36                  −                   MINUS SIGN
math        \x2215        34                  ∕                   DIVISION SLASH
math        \x2216        16                  ∖                   SET MINUS
math        \x2217        356                 ∗                   ASTERISK OPERATOR
math        \x221E        3456-123456         ∞                   INFINITY
math        \x2221        12456-246           ∡                   MEASURED ANGLE
math        \x2222        12456-246           ∢                   SPHERICAL ANGLE
math        \x2223        1456                ∣                   DIVIDES
math        \x2224        35-1456             ∤                   DOES NOT DIVIDE
math        \x2225        34-34               ∥                   PARALLEL TO
math        \x2226        35-34-34            ∦                   NOT PARALLEL TO
math        \x2227        346                 ∧                   LOGICAL AND
math        \x2228        146                 ∨                   LOGICAL OR
math        \x2229        346                 ∩                   INTERSECTION
math        \x222A        146                 ∪                   UNION
math        \x222B        2346                ∫                   INTEGRAL
math        \x222C        2346-2346           ∬                   DOUBLE INTEGRAL
math        \x222D        2346-2346-2346      ∭                   TRIPLE INTEGRAL
math        \x223C        26                  ∼                   TILDE OPERATOR
math        \x2243        26-2356             ≃                   ASYMPTOTICALLY EQUAL TO
math        \x2248        26-26               ≈                   ALMOST EQUAL TO
math        \x2260        35-2356             ≠                   NOT EQUAL TO
math        \x2261        2356-2356           ≡                   IDENTICAL TO
math        \x2264        246-2356            ≤                   LESS-THAN OR EQUAL TO
math        \x2265        4-135-2356          ≥                   GREATER-THAN OR EQUAL TO
math        \x2282        126                 ⊂                   SUBSET OF
math        \x2283        345                 ⊃                   SUPERSET OF
math        \x2284        35-126              ⊄                   NOT A SUBSET OF
math        \x2285        35-345              ⊅                   NOT A SUPERSET OF
math        \x2286        126-2356            ⊆                   SUBSET OF OR EQUAL TO
math        \x2287        345-2356            ⊇                   SUPERSET OF OR EQUAL TO
math        \x2288        35-126-2356         ⊈                   NEITHER A SUBSET OF NOR EQUAL TO
math        \x2289        35-345-2356         ⊉                   NEITHER A SUPERSET OF NOR EQUAL TO
math        \x22A5        3456-3              ⊥                   UP TACK
math        \x22C5        236                 ⋅                   DOT OPERATOR
math        \x22D5        34-34-2356          ⋕                   EQUAL AND PARALLEL TO


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

