| 1 |
# liblouis: Persian Grade 1 Braille table |
| 2 |
# |
| 3 |
# ----------- |
| 4 |
#-index-name: Persian |
| 5 |
#-display-name: Persian braille |
| 6 |
# |
| 7 |
#+language:fa |
| 8 |
#+type:literary |
| 9 |
#+contraction:no |
| 10 |
#+grade:1 |
| 11 |
# Marked as "direction:forward" by Bue Vester-Andersen |
| 12 |
# as tests only run forward. |
| 13 |
#+direction:forward |
| 14 |
# |
| 15 |
# TODO: Please correct the metadata above. It is not meant to be |
| 16 |
# accurate nor complete. It hasn't been verified by the table |
| 17 |
# author yet. It is merely an attempt by the liblouis maintainers |
| 18 |
# to get some sensible initial values in place. |
| 19 |
# |
| 20 |
# TODO: Please add a reference to official documentation about |
| 21 |
# the implemented braille code. Preferably submit the documents |
| 22 |
# to https://github.com/liblouis/braille-specs. |
| 23 |
# ----------- |
| 24 |
# |
| 25 |
# Copyright (C) 2011 by Mesar Hameed <[email protected]> |
| 26 |
# Copyright (C) 2011 by Abdolamir Banisaeid <saedjan at gmail.com> |
| 27 |
# Copyright (C) 2016 by Mohammadreza Rashad <[email protected]> |
| 28 |
# |
| 29 |
# This file is part of liblouis. |
| 30 |
# |
| 31 |
# liblouis is free software: you can redistribute it and/or modify it |
| 32 |
# under the terms of the GNU Lesser General Public License as |
| 33 |
# published by the Free Software Foundation, either version 2.1 of the |
| 34 |
# License, or (at your option) any later version. |
| 35 |
# |
| 36 |
# liblouis is distributed in the hope that it will be useful, but |
| 37 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 38 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 39 |
# Lesser General Public License for more details. |
| 40 |
# |
| 41 |
# You should have received a copy of the GNU Lesser General Public |
| 42 |
# License along with liblouis. If not, see |
| 43 |
# <http://www.gnu.org/licenses/>. |
| 44 |
|
| 45 |
# Fixed some conflicts in Persian Braille script and added |
| 46 |
# Persian-specific signs which weren't available in previous table. |
| 47 |
|
| 48 |
space \x200C 8 |
| 49 |
space \x00a0 a |
| 50 |
include spaces.uti |
| 51 |
|
| 52 |
include braille-patterns.cti # unicode braille. |
| 53 |
|
| 54 |
# ----------- define all chars -------------------------------------- |
| 55 |
|
| 56 |
punctuation ! 235 |
| 57 |
punctuation " 58 |
| 58 |
sign # 3456 |
| 59 |
sign $ 4-234 |
| 60 |
sign % 25-1234 |
| 61 |
sign & 123468 |
| 62 |
punctuation ' 3 |
| 63 |
punctuation ) 2356 |
| 64 |
punctuation ( 2356 |
| 65 |
sign * 246-135 |
| 66 |
math + 56-235 |
| 67 |
punctuation , 2 |
| 68 |
punctuation - 36 |
| 69 |
punctuation \x06D4 256 |
| 70 |
punctuation . 256 |
| 71 |
math / 348 |
| 72 |
punctuation : 25 |
| 73 |
punctuation ; 23 |
| 74 |
sign \x061B 23 |
| 75 |
math < 246 |
| 76 |
math = 56-2356 |
| 77 |
math > 135 |
| 78 |
punctuation ? 236 |
| 79 |
sign @ 4 |
| 80 |
punctuation [ 6-236 |
| 81 |
sign \\ 12568 |
| 82 |
punctuation ] 356-3 |
| 83 |
sign ^ 3468 |
| 84 |
sign _ 78 |
| 85 |
sign ` 48 |
| 86 |
punctuation { 5-236 |
| 87 |
sign | 4568-1237 |
| 88 |
punctuation } 356-2 |
| 89 |
math ~ 45 |
| 90 |
sign \x00A2 4-14 |
| 91 |
sign \x00A3 4-123 |
| 92 |
sign \x00A5 4-13456 |
| 93 |
sign \x00A7 4-234-3 |
| 94 |
sign \x00A9 147-7 |
| 95 |
sign \x00AB 236 |
| 96 |
sign \x00AE 12357-7 |
| 97 |
punctuation \x00Ad 367 |
| 98 |
sign \x00B0 3568 |
| 99 |
sign \x00B5 46-134 |
| 100 |
sign \x00B6 4-1234-345 |
| 101 |
sign \x00BB 356 |
| 102 |
sign \x00BF 236 |
| 103 |
math \x00D7 56-236 |
| 104 |
math \x00F7 56-256 |
| 105 |
punctuation \x2010 368 |
| 106 |
punctuation \x2011 36-3 |
| 107 |
punctuation \x2013 6-36 |
| 108 |
punctuation \x2018 236 |
| 109 |
punctuation \x2019 356 |
| 110 |
punctuation \x201C 6-12356 |
| 111 |
punctuation \x201D 23456-3 |
| 112 |
punctuation \x201E 123567 |
| 113 |
punctuation \x201F 234568 |
| 114 |
punctuation \x2026 3-3-3 |
| 115 |
sign \x20AC 4-15 |
| 116 |
sign \x25CF 134678 |
| 117 |
math \x2212 56-36 (−) |
| 118 |
sign \x2022 358 (•) |
| 119 |
sign \x25E6 3578 (◦) |
| 120 |
sign \x25FE 35678 (◾) |
| 121 |
|
| 122 |
# English letters |
| 123 |
|
| 124 |
uppercase A 17 |
| 125 |
uppercase B 127 |
| 126 |
uppercase C 147 |
| 127 |
uppercase D 1457 |
| 128 |
uppercase E 157 |
| 129 |
uppercase F 1247 |
| 130 |
uppercase G 12457 |
| 131 |
uppercase H 1257 |
| 132 |
uppercase I 247 |
| 133 |
uppercase J 2457 |
| 134 |
uppercase K 137 |
| 135 |
uppercase L 1237 |
| 136 |
uppercase M 1347 |
| 137 |
uppercase N 13457 |
| 138 |
uppercase O 1357 |
| 139 |
uppercase P 12347 |
| 140 |
uppercase Q 123457 |
| 141 |
uppercase R 12357 |
| 142 |
uppercase S 2347 |
| 143 |
uppercase T 23457 |
| 144 |
uppercase U 1367 |
| 145 |
uppercase V 12367 |
| 146 |
uppercase W 24567 |
| 147 |
uppercase X 13467 |
| 148 |
uppercase Y 134567 |
| 149 |
uppercase Z 13567 |
| 150 |
lowercase a 18 |
| 151 |
lowercase b 128 |
| 152 |
lowercase c 148 |
| 153 |
lowercase d 1458 |
| 154 |
lowercase e 158 |
| 155 |
lowercase f 1248 |
| 156 |
lowercase g 12458 |
| 157 |
lowercase h 1258 |
| 158 |
lowercase i 248 |
| 159 |
lowercase j 2458 |
| 160 |
lowercase k 138 |
| 161 |
lowercase l 1238 |
| 162 |
lowercase m 1348 |
| 163 |
lowercase n 13458 |
| 164 |
lowercase o 1358 |
| 165 |
lowercase p 12348 |
| 166 |
lowercase q 123458 |
| 167 |
lowercase r 12358 |
| 168 |
lowercase s 2348 |
| 169 |
lowercase t 23458 |
| 170 |
lowercase u 1368 |
| 171 |
lowercase v 12368 |
| 172 |
lowercase w 24568 |
| 173 |
lowercase x 13468 |
| 174 |
lowercase y 134568 |
| 175 |
lowercase z 13568 |
| 176 |
|
| 177 |
# -------------------------- Arabic and Persian letters and symbols --------------------------------- |
| 178 |
|
| 179 |
sign \x060C 2 |
| 180 |
sign \x061B 23 |
| 181 |
sign \x061F 236 |
| 182 |
sign \x0621 3 |
| 183 |
sign \x0622 345 |
| 184 |
sign \x0623 34 |
| 185 |
sign \x0624 1256 |
| 186 |
sign \x0625 34 |
| 187 |
sign \x0626 13456 |
| 188 |
sign \x0627 1 |
| 189 |
sign \x0628 12 |
| 190 |
sign \x067E 1234 |
| 191 |
sign \x0629 16 |
| 192 |
sign \x062A 2345 |
| 193 |
sign \x062B 1456 |
| 194 |
sign \x062C 245 |
| 195 |
sign \x0686 14 |
| 196 |
sign \x062D 156 |
| 197 |
sign \x062E 1346 |
| 198 |
sign \x062F 145 |
| 199 |
sign \x0630 2346 |
| 200 |
sign \x0631 1235 |
| 201 |
sign \x0632 1356 |
| 202 |
sign \x0698 346 |
| 203 |
sign \x0633 234 |
| 204 |
sign \x0634 146 |
| 205 |
sign \x0635 12346 |
| 206 |
sign \x0636 1246 |
| 207 |
sign \x0637 23456 |
| 208 |
sign \x0638 123456 |
| 209 |
sign \x0639 12356 |
| 210 |
sign \x063A 126 |
| 211 |
sign \x0640 6-3 |
| 212 |
sign \x0641 124 |
| 213 |
sign \x0642 12345 |
| 214 |
sign \x0643 13 |
| 215 |
sign \x06A9 13 |
| 216 |
sign \x06AF 1245 |
| 217 |
sign \x0644 123 |
| 218 |
sign \x0645 134 |
| 219 |
sign \x0646 1345 |
| 220 |
sign \x0648 2456 |
| 221 |
sign \x0647 125 |
| 222 |
sign \x064A 24 |
| 223 |
sign \x06CC 24 |
| 224 |
sign \x0649 135 |
| 225 |
sign \x064E 2 |
| 226 |
sign \x0650 15 |
| 227 |
sign \x064F 136 |
| 228 |
sign \x064B 23 |
| 229 |
sign \x064D 35 |
| 230 |
sign \x064C 26 |
| 231 |
sign \x0651 6 |
| 232 |
sign \x0652 25 |
| 233 |
sign \xFDFC 4-1235 |
| 234 |
sign \x066A 25-1234 |
| 235 |
sign \x066B 2 |
| 236 |
sign \x066C 3 |
| 237 |
|
| 238 |
# --------------------------- end definitions --------------------------------- |
| 239 |
|
| 240 |
# include countries.cti |
| 241 |
|
| 242 |
|
| 243 |
# Braille indicators |
| 244 |
|
| 245 |
emphclass italic |
| 246 |
emphclass underline |
| 247 |
emphclass bold |
| 248 |
|
| 249 |
begemph italic 46-46 |
| 250 |
endemph italic 46 |
| 251 |
begemph bold 456-456 |
| 252 |
endemph bold 4568 |
| 253 |
begemph underline 78-78 |
| 254 |
endemph underline 78 |
| 255 |
|
| 256 |
numsign 3456 number sign, just a dots operand |
| 257 |
begnum # 3456-4 print number sign before number |
| 258 |
midnum , 3 |
| 259 |
midnum ٬ 3 |
| 260 |
|
| 261 |
# the decimal digits |
| 262 |
include digits6Dots.uti |
| 263 |
|
| 264 |
# Arabic numerals |
| 265 |
|
| 266 |
digit \x0660 245 |
| 267 |
digit \x0661 1 |
| 268 |
digit \x0662 12 |
| 269 |
digit \x0663 14 |
| 270 |
digit \x0664 145 |
| 271 |
digit \x0665 15 |
| 272 |
digit \x0666 124 |
| 273 |
digit \x0667 1245 |
| 274 |
digit \x0668 125 |
| 275 |
digit \x0669 24 |
| 276 |
|
| 277 |
# Persian numerals |
| 278 |
|
| 279 |
digit \x06F0 245 |
| 280 |
digit \x06F1 1 |
| 281 |
digit \x06F2 12 |
| 282 |
digit \x06F3 14 |
| 283 |
digit \x06F4 145 |
| 284 |
digit \x06F5 15 |
| 285 |
digit \x06F6 124 |
| 286 |
digit \x06F7 1245 |
| 287 |
digit \x06F8 125 |
| 288 |
digit \x06F9 24 |
| 289 |
|
| 290 |
# punctuation |
| 291 |
|
| 292 |
prepunc ) 2356 |
| 293 |
postpunc ( 2356 |
| 294 |
prepunc " 57 |
| 295 |
postpunc " 58 |
| 296 |
prepunc ' 2367 |
| 297 |
postpunc ' 3567 |
| 298 |
postpunc , 2 |
| 299 |
decpoint . 2 |
| 300 |
decpoint ٫ 2 |
| 301 |
midnum - 36 |
| 302 |
hyphen - 36 |
| 303 |
postpunc . 256 |
| 304 |
postpunc ; 23 |
| 305 |
postpunc : 25 |
| 306 |
postpunc ! 235 |
| 307 |
postpunc ? 236 |
| 308 |
endnum % 25-1234 |
| 309 |
prepunc ` 48 |
| 310 |
always ... 3-3-3 |
| 311 |
|