| 1 |
# liblouis: Lithuanian 8-dot braille table |
| 2 |
# |
| 3 |
# Copyright (C) 2016, 2025 Rimas Kudelis <[email protected]> |
| 4 |
# Copyright (C) 2025 Tadas Matusevičius <[email protected]> |
| 5 |
# |
| 6 |
# This file is part of liblouis. |
| 7 |
# |
| 8 |
# liblouis is free software: you can redistribute it and/or modify it |
| 9 |
# under the terms of the GNU Lesser General Public License as |
| 10 |
# published by the Free Software Foundation, either version 2.1 of the |
| 11 |
# License, or (at your option) any later version. |
| 12 |
# |
| 13 |
# liblouis is distributed in the hope that it will be useful, but |
| 14 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
# Lesser General Public License for more details. |
| 17 |
# |
| 18 |
# You should have received a copy of the GNU Lesser General Public |
| 19 |
# License along with liblouis. If not, see |
| 20 |
# <http://www.gnu.org/licenses/>. |
| 21 |
|
| 22 |
# The Lithuanian 8-dot braille writing system is described in a decree |
| 23 |
# of the Minister of Social Security and Labor, called "Dėl vieningos |
| 24 |
# aštuonių taškų Brailio rašto sistemos naudojimo tvarkos aprašo |
| 25 |
# patvirtinimo", which has been in effect since 2011-04-13 (its assigned |
| 26 |
# document number is A1-183). At the time of writing this file, the |
| 27 |
# document was accessible at |
| 28 |
# https://www.e-tar.lt/portal/lt/legalAct/TAR.443D667CA047 . |
| 29 |
# The document is referred to as "the Standard" below. |
| 30 |
# |
| 31 |
# The Standard defines two 1:1 mappings between ISO-8859-13 8-bit |
| 32 |
# character set and 8-dot Braille writing system, called "literary" and |
| 33 |
# "computer" braille codes. Due to the nature of the Standard, both |
| 34 |
# mappings contain lots of useless definitions (e.g. for control |
| 35 |
# characters), while some other sensible definitions (like one for |
| 36 |
# the € sign) are simply missing due to the relevant characters not |
| 37 |
# being part of ISO 8859-13. Additionally, it seems like very little |
| 38 |
# effort (if any) was made to align these 8-dot tables with the 6-dot |
| 39 |
# braille that was already in use by Lithuanian braille users. |
| 40 |
# Furthermore, the definition of not one but two mappings like this |
| 41 |
# seems questionable at least, and the Standard even contains a few |
| 42 |
# errors, such as incorrectly named characters and conflicting mappings. |
| 43 |
# In practice, the Standard seems barely used, if at all. |
| 44 |
# |
| 45 |
# lt.ctb is based on the literary table described in the |
| 46 |
# Standard. This table (lt-8dot.utb) was the result of revamping the |
| 47 |
# original 8-dot table (lt.ctb) in 2025 and aligning it closely with |
| 48 |
# our 6-dot braille table (lt-6dot.utb), which is actually used by the |
| 49 |
# people. |
| 50 |
# |
| 51 |
# Some definitions in this table are marked as noback. Typically, they |
| 52 |
# act as convenience aliases. It's okay to skip implementing them if |
| 53 |
# doing it is not possible or too difficult. |
| 54 |
|
| 55 |
|
| 56 |
### |
| 57 |
### TABLE METADATA |
| 58 |
### |
| 59 |
|
| 60 |
#-index-name: Lithuanian, 8-dot |
| 61 |
#-display-name: Lithuanian 8-dot braille |
| 62 |
|
| 63 |
#+language: lt |
| 64 |
#+type: literary |
| 65 |
#+dots: 8 |
| 66 |
#+direction: both |
| 67 |
|
| 68 |
#-updated: 2025 |
| 69 |
|
| 70 |
### |
| 71 |
### WHITESPACE |
| 72 |
### |
| 73 |
|
| 74 |
include spaces.uti |
| 75 |
|
| 76 |
|
| 77 |
### |
| 78 |
### LETTERS |
| 79 |
### |
| 80 |
|
| 81 |
# Base Latin letters. |
| 82 |
include latinLetterDef8Dots.uti |
| 83 |
|
| 84 |
# Letters with diacritics which are part of the Lithuanian alphabet. |
| 85 |
uppercase \x0104 167 Ą LATIN CAPITAL LETTER A WITH OGONEK |
| 86 |
lowercase \x0105 16 ą LATIN SMALL LETTER A WITH OGONEK |
| 87 |
uppercase \x010c 1467 Č LATIN CAPITAL LETTER C WITH CARON |
| 88 |
lowercase \x010d 146 č LATIN SMALL LETTER C WITH CARON |
| 89 |
uppercase \x0116 3457 Ė LATIN CAPITAL LETTER E WITH DOT ABOVE |
| 90 |
lowercase \x0117 345 ė LATIN SMALL LETTER E WITH DOT ABOVE |
| 91 |
uppercase \x0118 1567 Ę LATIN CAPITAL LETTER E WITH OGONEK |
| 92 |
lowercase \x0119 156 ę LATIN SMALL LETTER E WITH OGONEK |
| 93 |
uppercase \x012e 2467 Į LATIN CAPITAL LETTER I WITH OGONEK |
| 94 |
lowercase \x012f 246 į LATIN SMALL LETTER I WITH OGONEK |
| 95 |
uppercase \x0160 23467 Š LATIN CAPITAL LETTER S WITH CARON |
| 96 |
lowercase \x0161 2346 š LATIN SMALL LETTER S WITH CARON |
| 97 |
uppercase \x0172 3467 Ų LATIN CAPITAL LETTER U WITH OGONEK |
| 98 |
lowercase \x0173 346 ų LATIN SMALL LETTER U WITH OGONEK |
| 99 |
uppercase \x016a 12567 Ū LATIN CAPITAL LETTER U WITH MACRON |
| 100 |
lowercase \x016b 1256 ū LATIN SMALL LETTER U WITH MACRON |
| 101 |
uppercase \x017d 1267 Ž LATIN CAPITAL LETTER Z WITH CARON |
| 102 |
lowercase \x017e 126 ž LATIN SMALL LETTER Z WITH CARON |
| 103 |
|
| 104 |
|
| 105 |
### |
| 106 |
### DIGITS |
| 107 |
### |
| 108 |
|
| 109 |
include digits8Dots.uti |
| 110 |
|
| 111 |
|
| 112 |
### |
| 113 |
### PUNCTUATION |
| 114 |
### |
| 115 |
|
| 116 |
punctuation \x002c 2 , COMMA |
| 117 |
punctuation \x002e 256 . FULL STOP |
| 118 |
punctuation \x003f 26 ? QUESTION MARK |
| 119 |
punctuation \x0021 235 ! EXCLAMATION MARK |
| 120 |
punctuation \x003a 25 : COLON |
| 121 |
punctuation \x003b 23 ; SEMICOLON |
| 122 |
punctuation \x0028 23567 ( LEFT PARENTHESIS |
| 123 |
punctuation \x0029 23568 ) RIGHT PARENTHESIS |
| 124 |
punctuation \x005b 12356 [ LEFT SQUARE BRACKET |
| 125 |
punctuation \x005d 23456 ] RIGHT SQUARE BRACKET |
| 126 |
punctuation \x007b 123567 { LEFT CURLY BRACKET |
| 127 |
punctuation \x007d 234568 } RIGHT CURLY BRACKET |
| 128 |
punctuation \x0022 56 " QUOTATION MARK |
| 129 |
punctuation \x0027 3 ' APOSTROPHE |
| 130 |
# These are the typographically correct quotes in Lithuania. |
| 131 |
punctuation \x201e 236 „ DOUBLE LOW-9 QUOTATION MARK |
| 132 |
punctuation \x201c 356 “ LEFT DOUBLE QUOTATION MARK |
| 133 |
# The following quote characters are not considered typographically |
| 134 |
# correct for Lithuanian texts. However, some of them might sometimes |
| 135 |
# appear in texts regardless. |
| 136 |
# We output them as straight apostrophes and quotation marks. |
| 137 |
noback punctuation \x2018 3 ‘ LEFT SINGLE QUOTATION MARK |
| 138 |
noback punctuation \x2019 3 ’ RIGHT SINGLE QUOTATION MARK |
| 139 |
noback punctuation \x201a 3 ‚ SINGLE LOW-9 QUOTATION MARK |
| 140 |
noback punctuation \x201b 3 ‛ SINGLE HIGH-REVERSED-9 QUOTATION MARK |
| 141 |
noback punctuation \x201d 56 ” RIGHT DOUBLE QUOTATION MARK |
| 142 |
noback punctuation \x201f 56 ‟ DOUBLE HIGH-REVERSED-9 QUOTATION MARK |
| 143 |
# Angle quotation marks are not commonly used in Lithuanian language. |
| 144 |
# Probably the most common use-case for them in Lithuanian context is |
| 145 |
# as fancy breadcrumb separators on websites, thus marking them as sign, |
| 146 |
# not punctuation. |
| 147 |
noback sign \x00ab 56 « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 148 |
noback sign \x00bb 56 » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 149 |
noback sign \x2039 3 ‹ SINGLE LEFT-POINTING ANGLE QUOTATION MARK |
| 150 |
noback sign \x203a 3 › SINGLE RIGHT-POINTING ANGLE QUOTATION MARK |
| 151 |
|
| 152 |
# EN DASH is the typographically correct dash to use in Lithuanian |
| 153 |
# texts. All other dashes are aliased to HYPHEN-MINUS. |
| 154 |
punctuation \x002d 36 - HYPHEN-MINUS |
| 155 |
punctuation \x2013 367 – EN DASH |
| 156 |
noback punctuation \x00ad 36 [SOFT HYPHEN] |
| 157 |
noback punctuation \x2010 36 ‐ HYPHEN |
| 158 |
noback punctuation \x2011 36 ‑ NON-BREAKING HYPHEN |
| 159 |
noback punctuation \x2012 36 ‒ FIGURE DASH |
| 160 |
noback punctuation \x2014 36 — EM DASH |
| 161 |
noback punctuation \x2015 36 ― HORIZONTAL BAR |
| 162 |
|
| 163 |
# Two versions of horizontal ellipsis. |
| 164 |
# Making them consume any further repetitions of the same character. |
| 165 |
noback punctuation \x2026 256-256-256 … HORIZONTAL ELLIPSIS |
| 166 |
noback repeated \x2026 256-256-256 … HORIZONTAL ELLIPSIS |
| 167 |
noback repeated \x002e\x002e\x002e 256-256-256 ... Three times FULL STOP |
| 168 |
|
| 169 |
|
| 170 |
### |
| 171 |
### MATHEMATICAL SYMBOLS |
| 172 |
### |
| 173 |
|
| 174 |
math \x002b 2358 + PLUS SIGN |
| 175 |
math \x003c 2468 < LESS-THAN SIGN |
| 176 |
math \x003d 2356 = EQUALS SIGN |
| 177 |
math \x003e 1358 > GREATER-THAN SIGN |
| 178 |
math \x00b1 23578 ± PLUS-MINUS SIGN |
| 179 |
math \x2212 368 − MINUS SIGN |
| 180 |
math \x22c5 358 ⋅ DOT OPERATOR |
| 181 |
math \x2236 258 ∶ RATIO |
| 182 |
noback math \x00d7 358 × MULTIPLICATION SIGN |
| 183 |
noback math \x00f7 258 ÷ DIVISION SIGN |
| 184 |
noback math \x2044 34 ⁄ FRACTION SLASH |
| 185 |
noback math \x2215 34 ∕ DIVISION SLASH |
| 186 |
math \x221E 1234568 ∞ INFINITY |
| 187 |
math \x00b0 3568 ° DEGREE SIGN |
| 188 |
math \x0025 123456 % PERCENT SIGN |
| 189 |
noback math \x2103 3568-147 ℃ DEGREE CELSIUS |
| 190 |
noback math \x2109 3568-1247 ℉ DEGREE FAHRENHEIT |
| 191 |
# Vulgar fractions. This is not the mathematically correct notation |
| 192 |
# for fractions; rather, they are decomposed into number-slash-number |
| 193 |
# notation to ease reading of literary texts, cookbooks et cetera. |
| 194 |
noback math \x00BC 18-34-1458 ¼ VULGAR FRACTION ONE QUARTER |
| 195 |
noback math \x00BD 18-34-128 ½ VULGAR FRACTION ONE HALF |
| 196 |
noback math \x00BE 148-34-1458 ¾ VULGAR FRACTION THREE QUARTERS |
| 197 |
noback math \x2150 18-34-12458 ⅐ VULGAR FRACTION ONE SEVENTH |
| 198 |
noback math \x2151 18-34-248 ⅑ VULGAR FRACTION ONE NINTH |
| 199 |
noback math \x2152 18-34-18-2458 ⅒ VULGAR FRACTION ONE TENTH |
| 200 |
noback math \x2153 18-34-148 ⅓ VULGAR FRACTION ONE THIRD |
| 201 |
noback math \x2154 128-34-148 ⅔ VULGAR FRACTION TWO THIRDS |
| 202 |
noback math \x2155 18-34-158 ⅕ VULGAR FRACTION ONE FIFTH |
| 203 |
noback math \x2156 128-34-158 ⅖ VULGAR FRACTION TWO FIFTHS |
| 204 |
noback math \x2157 148-34-158 ⅗ VULGAR FRACTION THREE FIFTHS |
| 205 |
noback math \x2158 1458-34-158 ⅘ VULGAR FRACTION FOUR FIFTHS |
| 206 |
noback math \x2159 18-34-1248 ⅙ VULGAR FRACTION ONE SIXTH |
| 207 |
noback math \x215A 158-34-1248 ⅚ VULGAR FRACTION FIVE SIXTHS |
| 208 |
noback math \x215B 18-34-1258 ⅛ VULGAR FRACTION ONE EIGHTH |
| 209 |
noback math \x215C 148-34-1258 ⅜ VULGAR FRACTION THREE EIGHTHS |
| 210 |
noback math \x215D 158-34-1258 ⅝ VULGAR FRACTION FIVE EIGHTHS |
| 211 |
noback math \x215E 12458-34-1258 ⅞ VULGAR FRACTION SEVEN EIGHTHS |
| 212 |
noback math \x215F 18-34 ⅟ FRACTION NUMERATOR ONE |
| 213 |
noback math \x2189 2458-34-148 ↉ VULGAR FRACTION ZERO THIRDS |
| 214 |
|
| 215 |
|
| 216 |
### |
| 217 |
### CURRENCY SIGNS |
| 218 |
### |
| 219 |
|
| 220 |
sign \x0024 46 $ DOLLAR SIGN |
| 221 |
sign \x00a2 58 ¢ CENT SIGN |
| 222 |
sign \x00a3 12378 £ POUND SIGN |
| 223 |
sign \x20ac 1578 € EURO SIGN |
| 224 |
|
| 225 |
|
| 226 |
### |
| 227 |
### OTHER CHARACTERS |
| 228 |
### |
| 229 |
|
| 230 |
sign \x0023 3456 # NUMBER SIGN |
| 231 |
sign \x0026 12346 & AMPERSAND |
| 232 |
sign \x002a 35 * ASTERISK |
| 233 |
sign \x002f 34 / SOLIDUS |
| 234 |
sign \x0040 34578 @ COMMERCIAL AT |
| 235 |
sign \x007c 4568 | VERTICAL LINE |
| 236 |
sign \x00a7 3468 § SECTION SIGN |
| 237 |
sign \x007e 12456 ~ TILDE |
| 238 |
sign \x0060 4 ` GRAVE ACCENT |
| 239 |
sign \x005c 347 \ REVERSE SOLIDUS |
| 240 |
sign \x005e 2568 ^ CIRCUMFLEX ACCENT |
| 241 |
sign \x005f 1456 _ LOW LINE |
| 242 |
sign \x00b5 1348 µ MICRO SIGN |
| 243 |
sign \x2022 357 • BULLET |
| 244 |
sign \x00b7 37 · MIDDLE DOT |
| 245 |
sign \x00a9 123468 © COPYRIGHT SIGN |
| 246 |
sign \x00ae 12358 ® REGISTERED SIGN |
| 247 |
sign \x2117 12348 ℗ SOUND RECORDING COPYRIGHT |
| 248 |
sign \x2122 23458 ™ TRADE MARK SIGN |
| 249 |
sign \x00b9 178 ¹ SUPERSCRIPT ONE |
| 250 |
sign \x00b2 1278 ² SUPERSCRIPT TWO |
| 251 |
sign \x00b3 1478 ³ SUPERSCRIPT THREE |
| 252 |
noback sign \x2190 2468-25 ← LEFTWARDS ARROW |
| 253 |
noback sign \x2192 25-1358 → RIGHTWARDS ARROW |
| 254 |
|
| 255 |
# Braille patterns. |
| 256 |
include braille-patterns.cti |
| 257 |
|
| 258 |
|
| 259 |
### |
| 260 |
### INDICATOR AND SPECIAL SYMBOL OPCODES |
| 261 |
### |
| 262 |
|
| 263 |
# Emphasis classes. |
| 264 |
emphclass italic |
| 265 |
emphclass underline |
| 266 |
emphclass bold |
| 267 |
|
| 268 |
begemph italic 456 |
| 269 |
endemph italic 456 |
| 270 |
|
| 271 |
begemph bold 456 |
| 272 |
endemph bold 456 |
| 273 |
|
| 274 |
begemph underline 456 |
| 275 |
endemph underline 456 |
| 276 |
|
| 277 |
decpoint \x002c 2 , DECIMAL SEPARATOR |
| 278 |
|
| 279 |
# Use lowered question mark as replacement dots. |
| 280 |
noback sign \xfffd 38 � REPLACEMENT CHARACTER |
| 281 |
undefined 38 Replacement dots for characters not defined in this table |