| 1 | # Test file for nemethdefs.cti, based on: |
| 2 | # 1. Official Nemeth braille specification (1972 revision): https://nfb.org/images/nfb/documents/pdf/nemeth_1972.pdf |
| 3 | # 2. Unicode Nemeth braille symbols collection: https://devblogs.microsoft.com/math-in-office/unicode-math-braille-sequences/ |
| 4 | # 3. Arrows related NFB tutorial lesson: https://nfb.org/sites/www.nfb.org/files/files-pdf/braille-certification/lesson-10--provisional-5-9-20.pdf |
| 5 | |
| 6 | # FIXME: This test should be changed so that it tests a top-level |
| 7 | # table (i.e. a table that can be discovered based on metadata). For |
| 8 | # instance, the table could be nemeth.ctb, and the test would document |
| 9 | # the math symbols as well as the "semantic" characters used for the |
| 10 | # linearization of MathML (see also |
| 11 | # https://github.com/liblouis/liblouis/issues/815). |
| 12 | |
| 13 | # Copyright © 2023 Attila Hammer from IT Foundation for the Visually Impaired - Hungary <www.infoalap.hu> |
| 14 | # |
| 15 | # Copying and distribution of this file, with or without modification, |
| 16 | # are permitted in any medium without royalty provided the copyright |
| 17 | # notice and this notice are preserved. This file is offered as-is, |
| 18 | # without any warranty. |
| 19 | |
| 20 | display: | |
| 21 | include unicode.dis |
| 22 | display \x00A0 a |
| 23 | table: | |
| 24 | include nemethdefs.cti |
| 25 | include en-chardefs.cti |
| 26 | capsletter 6 |
| 27 | flags: {testmode: forward} |
| 28 | |
| 29 | tests: |
| 30 | - ["^", ⠸⠣] |
| 31 | - [\x00a8, ⠡⠡] |
| 32 | - [\x2192, ⠫⠕ ] # note the no-break spaces (U+00A0) at the beginning and end |
| 33 | - [\x2218, ⠘⠨⠡⠐] |
| 34 | - [\x2322, ⠫⠁] |
| 35 | - [\x2323, ⠫⠄] |
| 36 | - [\x00ac, ⠈⠹] |
| 37 | - [\x2213, ⠤⠬] |
| 38 | - [\x27e6, ⠈⠸⠷] |
| 39 | - [\x27e7, ⠈⠸⠾] |
| 40 | - [\x2983, ⠨⠸⠷] |
| 41 | - [\x2984, ⠨⠸⠾] |
| 42 | - [\x2af4, ⠳⠳⠳] |
| 43 | - [\x02D9, ⠡] |
| 44 | - [\x2216, ⠸⠡] |
| 45 | - [\x27E8, ⠨⠨⠷] |
| 46 | - [\x27E9, ⠨⠨⠾] |
| 47 | - [\x0396, ⠨⠠⠵] |
| 48 | - [\x0397, ⠨⠠⠱] |
| 49 | - [\x03A4, ⠨⠠⠞] |
| 50 | - [\x03A8, ⠨⠠⠽] |
| 51 | - [\x03B6, ⠨⠵] |
| 52 | - [\x03B7, ⠨⠱] |
| 53 | - [\x03C2, ⠨⠒] |
| 54 | - [\x03C8, ⠨⠽] |
| 55 | - [\x03C9, ⠨⠺] |
| 56 | - [\x03D1, ⠨⠈⠹] |
| 57 | - [\x03D5, ⠨⠈⠋] |
| 58 | - [\x03D6, ⠨⠈⠏] |
| 59 | - [\x03F0, ⠨⠈⠅] |
| 60 | - [\x03F1, ⠨⠈⠗] |
| 61 | - [\x03F5, ⠨⠈⠑] |
| 62 | - [\x2015, ⠱] |
| 63 | - [\x2016, ⠳⠳] |
| 64 | - [\x2020, ⠸⠻] |
| 65 | - [\x2021, ⠸⠸⠻] |
| 66 | - [\x2030, ⠈⠴⠴] |
| 67 | - [\x2031, ⠈⠴⠴⠴] |
| 68 | - [\x2102, ⠈⠰⠠⠉] |
| 69 | - [\x2113, ⠈⠇] |
| 70 | - [\x211D, ⠈⠰⠠⠗] |
| 71 | - [\x2147, ⠑] |
| 72 | - [\x2308, ⠈⠘⠷] |
| 73 | - [\x2309, ⠈⠘⠾] |
| 74 | - [\x230A, ⠈⠰⠷] |
| 75 | - [\x230B, ⠈⠰⠾] |
| 76 | - [\x22EE, ⠀⠩⠒⠒⠒⠀] |
| 77 | - [\x22EF, ⠀⠒⠒⠒⠀] |
| 78 | - [\x22F0, ⠀⠘⠒⠒⠒⠀] |
| 79 | - [\x22F1, ⠀⠰⠒⠒⠒⠀] |
| 80 | - [\x21AE, ⠳⠈⠫⠪⠒⠒⠕⠻ ] |
| 81 | - [\x21CA, ⠫⠩⠒⠒⠕⠐⠫⠩⠒⠒⠕ ] |
| 82 | - [\x21CB, ⠫⠈⠪⠒⠒⠫⠒⠒⠈⠕ ] |
| 83 | - [\x21CC, ⠫⠒⠒⠈⠕⠫⠈⠪⠒⠒ ] |
| 84 | - [\x21CD, ⠳⠈⠫⠪⠶⠶⠻ ] |
| 85 | - [\x21CE, ⠳⠈⠫⠪⠶⠶⠕⠻ ] |
| 86 | - [\x21CF, ⠳⠈⠫⠶⠶⠕⠻ ] |
| 87 | - [\x21D0, ⠫⠪⠶⠶ ] |
| 88 | - [\x21D1, ⠫⠣⠶⠶⠕ ] |
| 89 | - [\x21d2, ⠫⠶⠶⠕ ] |
| 90 | - [\x21D3, ⠫⠣⠶⠶⠕ ] |
| 91 | - [\x21D4, ⠫⠪⠶⠶⠕ ] |
| 92 | - [\x21D5, ⠫⠣⠪⠶⠶⠕ ] |
| 93 | - [\x21D6, ⠫⠘⠪⠶⠶ ] |
| 94 | - [\x21d7, ⠫⠘⠶⠶⠕ ] |
| 95 | - [\x21D8, ⠫⠰⠶⠶⠕ ] |
| 96 | - [\x21D9, ⠫⠰⠪⠶⠶ ] |
| 97 | - [\x21DA, ⠫⠪⠸⠸ ] |
| 98 | - [\x21DB, ⠫⠸⠸⠕ ] |
| 99 | - [\x21F4, ⠨⠡⠈⠫⠒⠒⠕⠻ ] |
| 100 | - [\x223C, ⠈⠱ ] |
| 101 | - [\x220B, ⠈⠢ ] |
| 102 | - [\x220C, ⠌⠈⠢ ] |
| 103 | - [\x2227, ⠈⠩] |
| 104 | - [\x2228, ⠈⠬] |
| 105 | - [\x2260, ⠌⠨⠅ ] |
| 106 | - [\x2261, ⠸⠇ ] |
| 107 | - [\x2262, ⠌⠸⠇ ] |
| 108 | - [\x203E, ⠱] |
| 109 | - [\x2044, ⠸⠌] |
| 110 | - [\x2215, ⠸⠌] |
| 111 | - [\x2124, ⠈⠰⠠⠵] |
| 112 | - [\x23de, ⠨⠷] |
| 113 | - [\x23DF, ⠨⠾] |
| 114 | - [\x2208, ⠈⠑ ] |
| 115 | - [\x2209, ⠌⠈⠑ ] |
| 116 | - [\x2245, ⠈⠱⠨⠅ ] |
| 117 | - [\x2248, ⠈⠱⠈⠱ ] |
| 118 | - [\x22D8, ⠐⠅⠈⠐⠅⠈⠐⠅⠻ ] |
| 119 | - [\x22d9, ⠨⠂⠈⠨⠂⠈⠨⠂⠻ ] |
| 120 | - [\x226A, ⠐⠅⠈⠐⠅⠻ ] |
| 121 | - [\x226B, ⠨⠂⠈⠨⠂⠻ ] |
| 122 | - [\x226E, ⠌⠐⠅ ] |
| 123 | - [\x2282, ⠸⠐⠅ ] |
| 124 | - [\x2283, ⠸⠨⠂ ] |
| 125 | - [\x2284, ⠌⠸⠐⠅ ] |
| 126 | - [\x2285, ⠌⠸⠨⠂ ] |
| 127 | - [\x2286, ⠸⠐⠅⠱ ] |
| 128 | - [\x2287, ⠸⠨⠂⠱ ] |
| 129 | - [\x2288, ⠌⠸⠐⠅⠱ ] |
| 130 | - [\x2289, ⠌⠸⠨⠂⠱ ] |
| 131 | - [\x228A, ⠸⠐⠅⠌⠨⠅ ] |
| 132 | - [\x228B, ⠸⠨⠂⠌⠨⠅ ] |
| 133 | - [\x23E2, ⠫⠵] |
| 134 | - [\x25B2, ⠫⠸⠞] |
| 135 | - [\x25B3, ⠫⠞] |
| 136 | - [\x25B5, ⠫⠞] |
| 137 | - [\x25cb, ⠫⠉] |
| 138 | - [\x25CF, ⠫⠸⠉] |
| 139 | - [\x25A0, ⠫⠸⠲] |
| 140 | - [\x25A1, ⠫⠲] |
| 141 | - [\x25AC, ⠫⠸⠗] |
| 142 | - [\x25AD, ⠫⠗] |
| 143 | - [\x25b0, ⠫⠸⠛] |
| 144 | - [\x25B1, ⠫⠛] |
| 145 | - [\x25B2, ⠫⠸⠞] |
| 146 | - [\x25EF, ⠫⠉] |
| 147 | - [\x2221, ⠫⠪⠈⠫⠁⠻] |
| 148 | - [\x2222, ⠫⠪⠸⠫⠫⠁⠻] |
| 149 | - [\x2223, ⠳ ] |
| 150 | - [\x2224, ⠌⠳ ] |
| 151 | - [\x22FE, ⠫⠸⠲] |
| 152 | - [\x221D, ⠸⠿ ] |
| 153 | - [\x2237, ⠰⠆ ] |
| 154 | - [\x00B1, ⠬⠤] |
| 155 | - [\x00B7, ⠡] |
| 156 | - [\x00BE, ⠹⠒⠌⠲⠼] |
| 157 | - [\x00A5, ⠈⠽] |
| 158 | - [\x00AF, ⠱] |
| 159 | - [\x20A3, ⠈⠋] |
| 160 | - [\x20A6, ⠈⠝] |
| 161 | - [\x20AC, ⠈⠑] |
| 162 | - [\x00F7, ⠨⠌] |