#
#  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 3 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
# ----------------------------------------------------------------------------------------------

digit       \x0030        245                 0                   DIGIT ZERO
digit       \x0031        1                   1                   DIGIT ONE
digit       \x0032        12                  2                   DIGIT TWO
digit       \x0033        14                  3                   DIGIT THREE
digit       \x0034        145                 4                   DIGIT FOUR
digit       \x0035        15                  5                   DIGIT FIVE
digit       \x0036        124                 6                   DIGIT SIX
digit       \x0037        1245                7                   DIGIT SEVEN
digit       \x0038        125                 8                   DIGIT EIGHT
digit       \x0039        24                  9                   DIGIT NINE

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 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


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

