| 1 |
# Copyright (C) 2016 Rimas Kudelis <[email protected]> |
| 2 |
# |
| 3 |
# This file is part of liblouis. |
| 4 |
# |
| 5 |
# liblouis is free software: you can redistribute it and/or modify it |
| 6 |
# under the terms of the GNU Lesser General Public License as |
| 7 |
# published by the Free Software Foundation, either version 2.1 of the |
| 8 |
# License, or (at your option) any later version. |
| 9 |
# |
| 10 |
# liblouis is distributed in the hope that it will be useful, but |
| 11 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
# Lesser General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU Lesser General Public |
| 16 |
# License along with liblouis. If not, see |
| 17 |
# <http://www.gnu.org/licenses/>. |
| 18 |
|
| 19 |
# The Lithuanian 8-dot Braille writing system is described in a decree of the Minister of |
| 20 |
# Social Security and Labor, called "Dėl vieningos aštuonių taškų Brailio rašto sistemos |
| 21 |
# naudojimo tvarkos aprašo patvirtinimo", which is in effect since 2011-04-13. Document |
| 22 |
# number is A1-183. At the time of writing this file, the document was accessible at |
| 23 |
# https://www.e-tar.lt/portal/lt/legalAct/TAR.443D667CA047 . |
| 24 |
# The document is referred to as "the standard" below. |
| 25 |
# |
| 26 |
# The standard maps ISO-8859-13 character set to 8-dot Braille writing system. However, |
| 27 |
# even though it defines different mappings for literary and computer braille modes, it |
| 28 |
# doesn't seem like the authors had a good understanding of why these two modes exist |
| 29 |
# and how they differ. Furthermore, the standard contains a few errors (incorrectly named |
| 30 |
# characters as well as mapping conflicts). I would say it needs further improvements. |
| 31 |
# |
| 32 |
# This file is based on the standard, but does not exactly follow it. Some standard |
| 33 |
# definitions are commented out, some changed, and some extra ones are added. |
| 34 |
|
| 35 |
# lt-8dot.utb is the Lithuanian 8-dot table that we want to be actually used. For this |
| 36 |
# reason the metadata below is commented out, so that the table is not discoverable. |
| 37 |
|
| 38 |
# ---- |
| 39 |
##-index-name: Lithuanian, 8-dot |
| 40 |
##-display-name: Lithuanian 8-dot braille |
| 41 |
# |
| 42 |
##+language: lt |
| 43 |
##+type: literary |
| 44 |
##+contraction: no |
| 45 |
##+dots: 8 |
| 46 |
##+direction: both |
| 47 |
# ---- |
| 48 |
|
| 49 |
### |
| 50 |
### WHITESPACE |
| 51 |
### |
| 52 |
|
| 53 |
# No-break space is defined as 7 in the standard. |
| 54 |
space \x00a0 7 [NO-BREAK SPACE] |
| 55 |
include spaces.uti |
| 56 |
|
| 57 |
|
| 58 |
### |
| 59 |
### DIGITS |
| 60 |
### |
| 61 |
|
| 62 |
include digits8Dots.uti |
| 63 |
|
| 64 |
|
| 65 |
### |
| 66 |
### LETTERS |
| 67 |
### |
| 68 |
|
| 69 |
include latinLetterDef8Dots.uti |
| 70 |
|
| 71 |
# Accented letters which are part of the Lithuanian alphabet. |
| 72 |
uppercase \x0104 167 Ą LATIN CAPITAL LETTER A WITH OGONEK |
| 73 |
lowercase \x0105 16 ą LATIN SMALL LETTER A WITH OGONEK |
| 74 |
uppercase \x010c 1467 Č LATIN CAPITAL LETTER C WITH CARON |
| 75 |
lowercase \x010d 146 č LATIN SMALL LETTER C WITH CARON |
| 76 |
uppercase \x0116 3457 Ė LATIN CAPITAL LETTER E WITH DOT ABOVE |
| 77 |
lowercase \x0117 345 ė LATIN SMALL LETTER E WITH DOT ABOVE |
| 78 |
uppercase \x0118 1567 Ę LATIN CAPITAL LETTER E WITH OGONEK |
| 79 |
lowercase \x0119 156 ę LATIN SMALL LETTER E WITH OGONEK |
| 80 |
uppercase \x012e 2467 Į LATIN CAPITAL LETTER I WITH OGONEK |
| 81 |
lowercase \x012f 246 į LATIN SMALL LETTER E WITH OGONEK |
| 82 |
uppercase \x0160 23467 Š LATIN CAPITAL LETTER S WITH CARON |
| 83 |
lowercase \x0161 2346 š LATIN SMALL LETTER S WITH CARON |
| 84 |
uppercase \x0172 3467 Ų LATIN CAPITAL LETTER U WITH OGONEK |
| 85 |
lowercase \x0173 346 ų LATIN SMALL LETTER U WITH OGONEK |
| 86 |
uppercase \x016a 12567 Ū LATIN CAPITAL LETTER U WITH MACRON |
| 87 |
lowercase \x016b 1256 ū LATIN SMALL LETTER U WITH MACRON |
| 88 |
uppercase \x017d 1267 Ž LATIN CAPITAL LETTER Z WITH CARON |
| 89 |
lowercase \x017e 126 ž LATIN SMALL LETTER Z WITH CARON |
| 90 |
|
| 91 |
|
| 92 |
### |
| 93 |
### PUNCTUATION |
| 94 |
### |
| 95 |
|
| 96 |
punctuation \x0021 235 ! EXCLAMATION MARK |
| 97 |
punctuation \x0022 4 " QUOTATION MARK |
| 98 |
punctuation \x0027 3 ' APOSTROPHE |
| 99 |
# The following symbol is defined as 134568 in the standard, but that is hardly useful. |
| 100 |
# According to Unicode, it is the preferred character to use for apostrophe, hence |
| 101 |
# defining it as one here. |
| 102 |
punctuation \x2019 3 ’ RIGHT SINGLE QUOTATION MARK |
| 103 |
punctuation \x0028 23567 ( LEFT PARENTHESIS |
| 104 |
punctuation \x0029 23568 ) RIGHT PARENTHESIS |
| 105 |
punctuation \x002c 2 , COMMA |
| 106 |
punctuation \x002d 36 - HYPHEN-MINUS |
| 107 |
punctuation \x002e 256 . FULL STOP |
| 108 |
punctuation \x003a 25 : COLON |
| 109 |
punctuation \x003b 23 ; SEMICOLON |
| 110 |
punctuation \x003f 26 ? QUESTION MARK |
| 111 |
punctuation \x005b 12356 [ LEFT SQUARE BRACKET |
| 112 |
punctuation \x005d 23456 ] RIGHT SQUARE BRACKET |
| 113 |
punctuation \x007b 24678 { LEFT CURLY BRACKET |
| 114 |
punctuation \x007d 13578 } RIGHT CURLY BRACKET |
| 115 |
# The following symbol is defined as 368 in the standard. |
| 116 |
punctuation \x00ad 36 [SOFT HYPHEN] |
| 117 |
# The following symbol is not defined in the standard. |
| 118 |
punctuation \x2013 36 – EN DASH |
| 119 |
punctuation \x2014 36 — EM DASH |
| 120 |
|
| 121 |
# These are the typographically correct quotes in Lithuania. |
| 122 |
punctuation \x201e 2367 „ DOUBLE LOW-9 QUOTATION MARK |
| 123 |
punctuation \x201c 3567 “ LEFT DOUBLE QUOTATION MARK |
| 124 |
# The following character is defined in the standard, because it exists in ISO-8859-13 |
| 125 |
# character set, even though it should not be used in Lithuanian texts. |
| 126 |
punctuation \x201d 367 ” RIGHT DOUBLE QUOTATION MARK |
| 127 |
# Let's make straight quotes smarter if we can. |
| 128 |
prepunc \x0022 2367 " QUOTATION MARK |
| 129 |
postpunc \x0022 3567 " QUOTATION MARK |
| 130 |
# The following combination of smart quotes is sometimes mistakenly used due to automatic |
| 131 |
# replacement based on English rules. This will turn them to the correct quotes. |
| 132 |
prepunc \x201c 2367 “ LEFT DOUBLE QUOTATION MARK |
| 133 |
postpunc \x201d 3567 ” RIGHT DOUBLE QUOTATION MARK |
| 134 |
|
| 135 |
# Two versions of horizontal ellipsis. |
| 136 |
punctuation \x2026 3-3-3 … HORIZONTAL ELLIPSIS |
| 137 |
always \x002e\x002e\x002e 3-3-3 ... Three times FULL STOP |
| 138 |
|
| 139 |
|
| 140 |
### |
| 141 |
### MATHEMATICAL SYMBOLS |
| 142 |
### |
| 143 |
|
| 144 |
math \x002b 2358 + PLUS SIGN |
| 145 |
math \x003c 2468 < LESS-THAN SIGN |
| 146 |
math \x003d 2356 = EQUALS SIGN |
| 147 |
math \x003e 1358 > GREATER-THAN SIGN |
| 148 |
math \x00b1 23578 ± PLUS-MINUS SIGN |
| 149 |
# math \x00bc 1368 ¼ VULGAR FRACTION ONE QUARTER |
| 150 |
# math \x00bd 12368 ½ VULGAR FRACTION ONE HALF |
| 151 |
# math \x00be 13468 ¾ VULGAR FRACTION THREE QUARTERS |
| 152 |
math \x2212 36 − MINUS SIGN |
| 153 |
math \x00d7 2348 × MULTIPLICATION SIGN |
| 154 |
math \x00f7 125678 ÷ DIVISION SIGN |
| 155 |
# math \x2215 25 ∕ DIVISION SLASH |
| 156 |
# Parentheses are different in Math than in literature. |
| 157 |
# midnum \x0028 126 ( LEFT PARENTHESIS |
| 158 |
# midnum \x0029 345 ) RIGHT PARENTHESIS |
| 159 |
|
| 160 |
|
| 161 |
### |
| 162 |
### OTHER CHARACTERS |
| 163 |
### |
| 164 |
|
| 165 |
sign \x0023 3456 # NUMBER SIGN |
| 166 |
sign \x0024 46 $ DOLLAR SIGN |
| 167 |
sign \x0025 123456 % PERCENT SIGN |
| 168 |
sign \x0026 12346 & AMPERSAND |
| 169 |
sign \x002a 35 * ASTERISK |
| 170 |
sign \x002f 34 / SOLIDUS |
| 171 |
sign \x0040 34578 @ COMMERCIAL AT |
| 172 |
sign \x005c 347 \ REVERSE SOLIDUS |
| 173 |
sign \x005e 2568 ^ CIRCUMFLEX ACCENT |
| 174 |
sign \x005f 4567 _ LOW LINE |
| 175 |
sign \x0060 6 ` GRAVE ACCENT |
| 176 |
sign \x007c 456 | VERTICAL LINE |
| 177 |
sign \x007e 268 ~ TILDE |
| 178 |
sign \x00a2 58 ¢ CENT SIGN |
| 179 |
sign \x00a3 467 £ POUND SIGN |
| 180 |
sign \x00a4 4678 ¤ CURRENCY SIGN |
| 181 |
sign \x00a6 1456 ¦ BROKEN BAR |
| 182 |
sign \x00a7 3468 § SECTION SIGN |
| 183 |
sign \x00a9 123468 © COPYRIGHT SIGN |
| 184 |
# Angle quotation marks are not commonly used in Lithuanian language. |
| 185 |
# It's probably much more common to see them as fancy breadcrumb separators |
| 186 |
# than anything else, thus marking them as sign, not punctuation. |
| 187 |
sign \x00ab 5678 « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 188 |
sign \x00bb 4578 » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 189 |
sign \x00ac 5 ¬ NOT SIGN |
| 190 |
sign \x00ae 12358 ® REGISTERED SIGN |
| 191 |
sign \x00b0 4568 ° DEGREE SIGN |
| 192 |
sign \x00b2 1278 ² SUPERSCRIPT TWO |
| 193 |
sign \x00b3 1478 ³ SUPERSCRIPT THREE |
| 194 |
sign \x00b5 1348 µ MICRO SIGN |
| 195 |
sign \x00b6 12348 ¶ PILCROW SIGN |
| 196 |
sign \x00b7 37 · MIDDLE DOT |
| 197 |
sign \x00b9 178 ¹ SUPERSCRIPT ONE |
| 198 |
|
| 199 |
|
| 200 |
### |
| 201 |
### INDICATOR AND SPECIAL SYMBOL OPCODES |
| 202 |
### |
| 203 |
|
| 204 |
# numsign 3456 Number indicator in text (6-dot output only) |
| 205 |
hyphen \x002d 36 - HYPHEN-MINUS |
| 206 |
decpoint \x002c 2 , DECIMAL SEPARATOR |
| 207 |
|
| 208 |
sign \xfffd 7 � REPLACEMENT CHARACTER |
| 209 |
undefined 7 Replacement dots for characters not defined in this table |
| 210 |
|
| 211 |
|
| 212 |
### |
| 213 |
### ATTIC (commented out definitions) |
| 214 |
### |
| 215 |
|
| 216 |
# Other letters from the ISO-8859-13 repertoire. |
| 217 |
# This set seems quite useless and poorly designed, so leaving it commented out. |
| 218 |
# uplow \x00c4\x00e4 567,3458 Ää LATIN CAPITAL LETTER A WITH DIAERESIS,LATIN SMALL LETTER A WITH DIAERESIS |
| 219 |
# uplow \x00c5\x00e5 34567,345678 Åå LATIN CAPITAL LETTER A WITH RING ABOVE,LATIN SMALL LETTER A WITH RING ABOVE |
| 220 |
# uplow \x00c6\x00e6 458,38 Ææ LATIN CAPITAL LETTER AE,LATIN SMALL LETTER AE |
| 221 |
# uplow \x00c9\x00e9 238,1268 Éé LATIN CAPITAL LETTER E WITH ACUTE,LATIN SMALL LETTER E WITH ACUTE |
| 222 |
# uplow \x00d3\x00f3 123567,14568 Óó LATIN CAPITAL LETTER O WITH ACUTE,LATIN SMALL LETTER O WITH ACUTE |
| 223 |
# uplow \x00d5\x00f5 267,1234567 Õõ LATIN CAPITAL LETTER O WITH TILDE,LATIN SMALL LETTER O WITH TILDE |
| 224 |
# uplow \x00d6\x00f6 358,1234568 Öö LATIN CAPITAL LETTER O WITH DIAERESIS,LATIN SMALL LETTER O WITH DIAERESIS |
| 225 |
# uplow \x00d8\x00f8 48,68 Øø LATIN CAPITAL LETTER O WITH STROKE,LATIN SMALL LETTER O WITH STROKE |
| 226 |
# uplow \x00dc\x00fc 2368,12568 Üü LATIN CAPITAL LETTER U WITH DIAERESIS,LATIN SMALL LETTER U WITH DIAERESIS |
| 227 |
# lowercase \x00df 34568 ß LATIN SMALL LETTER SHARP S |
| 228 |
# uplow \x0100\x0101 12468,1678 Āā LATIN CAPITAL LETTER A WITH MACRON,LATIN SMALL LETTER A WITH MACRON |
| 229 |
# uplow \x0106\x0107 15678,34678 Ćć LATIN CAPITAL LETTER C WITH ACUTE,LATIN SMALL LETTER C WITH ACUTE |
| 230 |
# uplow \x0112\x0113 123467,1234678 Ēē LATIN CAPITAL LETTER E WITH MACRON,LATIN SMALL LETTER E WITH MACRON |
| 231 |
# uplow \x0122\x0123 57,348 Ģģ LATIN CAPITAL LETTER G WITH CEDILLA,LATIN SMALL LETTER G WITH CEDILLA |
| 232 |
# uplow \x012a\x012b 23468,14678 Īī LATIN CAPITAL LETTER I WITH MACRON,LATIN SMALL LETTER I WITH MACRON |
| 233 |
# uplow \x0136\x0137 258,1468 Ķķ LATIN CAPITAL LETTER K WITH CEDILLA,LATIN SMALL LETTER K WITH CEDILLA |
| 234 |
# uplow \x013b\x013c 23678,124568 Ļļ LATIN CAPITAL LETTER L WITH CEDILLA,LATIN SMALL LETTER L WITH CEDILLA |
| 235 |
# uplow \x0141\x0142 35678,234568 Łł LATIN CAPITAL LETTER L WITH STROKE,LATIN SMALL LETTER L WITH STROKE |
| 236 |
# uplow \x0143\x0144 2567,13458 Ńń LATIN CAPITAL LETTER N WITH ACUTE,LATIN SMALL LETTER N WITH ACUTE |
| 237 |
# uplow \x0145\x0146 578,234567 Ņņ LATIN CAPITAL LETTER N WITH CEDILLA,LATIN SMALL LETTER N WITH CEDILLA |
| 238 |
# uplow \x014c\x014d 14567,145678 Ōō LATIN CAPITAL LETTER O WITH MACRON,LATIN SMALL LETTER O WITH MACRON |
| 239 |
# uplow \x015a\x015b 123568,1568 Śś LATIN CAPITAL LETTER S WITH ACUTE,LATIN SMALL LETTER S WITH ACUTE |
| 240 |
# uplow \x0179\x017a 23458,12678 Źź LATIN CAPITAL LETTER Z WITH ACUTE,LATIN SMALL LETTER A WITH ACUTE |
| 241 |
# uplow \x017b\x017c 3568,24568 Żż LATIN CAPITAL LETTER Z WITH DOT ABOVE,LATIN SMALL LETTER Z WITH DOT ABOVE |
| 242 |
# uplow \x0156\x0157 2357,12456 Ŗŗ LATIN CAPITAL LETTER R WITH CEDILLA,LATIN SMALL LETTER R WITH CEDILLA |
| 243 |
|
| 244 |
# These control chars are defined by the standard, but are hardly useful. |
| 245 |
# These official definitions are commented out below, and only whitespace characters |
| 246 |
# are defined as 0 (no dots) in the Whitespace section at the top of this file. |
| 247 |
# sign \x0000 3578 [NULL] |
| 248 |
# sign \x0001 28 [START OF HEADING] |
| 249 |
# sign \x0002 45 [START OF TEXT] |
| 250 |
# sign \x0003 47 [END OF TEXT] |
| 251 |
# sign \x0004 14578 [END OF TRANSMISSION] |
| 252 |
# sign \x0005 1578 [ENQUIRY] |
| 253 |
# sign \x0006 12478 [ACKNOWLEDGE] |
| 254 |
# sign \x0007 124578 [BELL] |
| 255 |
# sign \x0008 12578 [BACKSPACE] |
| 256 |
# space \x0009 2478 [CHARACTER TABULATION] |
| 257 |
# space \x000a 24578 [LINE FEED (LF)] |
| 258 |
# space \x000b 1378 [LINE TABULATION] |
| 259 |
# space \x000c 12378 [FORM FEED (FF)] |
| 260 |
# space \x000d 13478 [CARRIAGE RETURN (CR)] |
| 261 |
# sign \x000e 134578 [SHIFT OUT] |
| 262 |
# sign \x000f 56 [SHIFT IN] |
| 263 |
# sign \x0010 123478 [DATA LINK ESCAPE] |
| 264 |
# sign \x0011 1234578 [DEVICE CONTROL ONE] |
| 265 |
# sign \x0012 123578 [DEVICE CONTROL TWO] |
| 266 |
# sign \x0013 23478 [DEVICE CONTROL THREE] |
| 267 |
# sign \x0014 234578 [DEVICE CONTROL FOUR] |
| 268 |
# sign \x0015 13678 [NEGATIVE ACKNOWLEDGE] |
| 269 |
# sign \x0016 123678 [SYNCHRONOUS IDLE] |
| 270 |
# sign \x0017 245678 [END OF TRANSMISSION BLOCK] |
| 271 |
# sign \x0018 134678 [CANCEL] |
| 272 |
# sign \x0019 1345678 [END OF MEDIUM] |
| 273 |
# sign \x001a 135678 [SUBSTITUTE] |
| 274 |
# sign \x001b 1235678 [ESCAPE] |
| 275 |
# sign \x001c 3478 [INFORMATION SEPARATOR FOUR] |
| 276 |
# sign \x001d 2345678 [INFORMATION SEPARATOR THREE] |
| 277 |
# sign \x001e 234678 [INFORMATION SEPARATOR TWO] |
| 278 |
# sign \x001f 45678 [INFORMATION SEPARATOR ONE] |
| 279 |
# sign \x007f 138 [DELETE] |
| 280 |
# sign \x0080 457 |
| 281 |
# sign \x0081 8 |
| 282 |
# sign \x0082 3678 [BREAK PERMITTED HERE] |
| 283 |
# sign \x0083 78 [NO BREAK HERE] |
| 284 |
# sign \x0084 236 |
| 285 |
# sign \x0085 25678 [NEXT LINE (NEL)] |
| 286 |
# sign \x0086 168 [START OF SELECTED AREA] |
| 287 |
# sign \x0087 357 [END OF SELECTED AREA] |
| 288 |
# sign \x0088 378 [CHARACTER TABULATION SET] |
| 289 |
# sign \x0089 468 [CHARACTER TABULATION WITH JUSTIFICATION] |
| 290 |
# sign \x008a 678 [LINE TABULATION SET] |
| 291 |
# sign \x008b 27 [PARTIAL LINE FORWARD] |
| 292 |
# sign \x008c 237 [PARTIAL LINE BACKWARD] |
| 293 |
# sign \x008d 257 [REVERSE LINE FEED] |
| 294 |
# sign \x008e 478 [SINGLE SHIFT TWO] |
| 295 |
# sign \x008f 12467 [SINGLE SHIFT THREE] |
| 296 |
# sign \x0090 124678 [DEVICE CONTROL STRING] |
| 297 |
# sign \x0091 568 [PRIVATE USE ONE] |
| 298 |
# sign \x0092 1246 [PRIVATE USE TWO] |
| 299 |
# sign \x0093 356 [SET TRANSMIT STATE] |
| 300 |
# sign \x0094 1238 [CANCEL CHARACTER] |
| 301 |
# sign \x0095 278 [MESSAGE WAITING] |
| 302 |
# sign \x0096 2378 [START OF GUARDED AREA] |
| 303 |
# sign \x0097 13568 [END OF GUARDED AREA] |
| 304 |
# sign \x0098 2578 [START OF STRING] |
| 305 |
# sign \x0099 1245678 |
| 306 |
# sign \x009a 2678 [SINGLE CHARACTER INTRODUCER] |
| 307 |
# sign \x009b 123458 [CONTROL SEQUENCE INTRODUCER] |
| 308 |
# sign \x009c 67 [STRING TERMINATOR] |
| 309 |
# sign \x009d 124567 [OPERATING SYSTEM COMMAND] |
| 310 |
# sign \x009e 235678 [PRIVACY MESSAGE] |
| 311 |
# sign \x009f 12345678 [APPLICATION PROGRAM COMMAND] |
| 312 |
|
| 313 |
include braille-patterns.cti |