| 1 |
# liblouis: German grade 0 braille |
| 2 |
# |
| 3 |
# Copyright (C) 2018 SBS Schweizerische Bibliothek für Blinde, Seh- und Lesebehinderte |
| 4 |
# Copyright (C) 2020 Bue Vester-Andersen |
| 5 |
# Copyright (C) 2022 Bert Frees |
| 6 |
# |
| 7 |
# This file is part of liblouis. |
| 8 |
# |
| 9 |
# liblouis is free software: you can redistribute it and/or modify it |
| 10 |
# under the terms of the GNU Lesser General Public License as |
| 11 |
# published by the Free Software Foundation, either version 2.1 of the |
| 12 |
# License, or (at your option) any later version. |
| 13 |
# |
| 14 |
# liblouis is distributed in the hope that it will be useful, but |
| 15 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 |
# Lesser General Public License for more details. |
| 18 |
# |
| 19 |
# You should have received a copy of the GNU Lesser General Public |
| 20 |
# License along with liblouis. If not, see |
| 21 |
# <http://www.gnu.org/licenses/>. |
| 22 |
# |
| 23 |
#------------------------------------------------------------------------------- |
| 24 |
|
| 25 |
|
| 26 |
# --- Corrects ----------------------------------------------------------------- |
| 27 |
|
| 28 |
# --- Korrektur der Bindestrich-Probleme |
| 29 |
|
| 30 |
# Bindestrich nach Leerschlag vor Zahl ist Minuszeichen. |
| 31 |
noback correct $s["-"]$d "\x2212" |
| 32 |
# Bindestrich nach öffnender Klammer vor Zahl ist Minuszeichen. |
| 33 |
noback correct ["(-"]$d "(\x2212" |
| 34 |
noback correct ["[-"]$d "[\x2212" |
| 35 |
noback correct ["›-"]$d "›\x2212" |
| 36 |
noback correct ["»-"]$d "»\x2212" |
| 37 |
# begword nach Wortersatzstrich verhindern |
| 38 |
noback correct $s["-"] "-\x250A" |
| 39 |
# begword nach Satzzeichen und Wortersatzstrich verhindern |
| 40 |
noback correct $s["(-"]$l "(\x2013\x250A" |
| 41 |
noback correct $s["[-"]$l "[\x2013\x250A" |
| 42 |
noback correct $s["»-"]$l "»\x2013\x250A" |
| 43 |
noback correct $s["›-"]$l "›\x2013\x250A" |
| 44 |
# begword nach Wortersatzstrich nach Schrägstrich verhindern |
| 45 |
noback correct ["/-"]$l "/\x2013\x250A" |
| 46 |
# endword vor Wortersatzstrich vor Schrägstrich verhindern |
| 47 |
noback correct $l["-/"] "\x250A-/" |
| 48 |
# endword vor Wortersatzstrich verhindern |
| 49 |
noback correct "-\s" "\x250A-\s" |
| 50 |
noback correct "‹-\s" "\x250A‹-\s" |
| 51 |
noback correct "«-\s" "\x250A«-\s" |
| 52 |
# endword vor Wortersatzstrich und Satzzeichen verhindern (vor Satzzeichen KEIN Pt.6) |
| 53 |
# corrects für Satzzeichen, die einen Pt. 6 benötigen, befinden sich in sbs-de-g2-core.mod |
| 54 |
noback correct "-.\s" "\x250A-.\s" |
| 55 |
noback correct "-,\s" "\x250A-,\s" |
| 56 |
noback correct "-;\s" "\x250A-;\s" |
| 57 |
noback correct "-:\s" "\x250A-:\s" |
| 58 |
noback correct "-‹\s" "\x250A-‹\s" |
| 59 |
# begword/endword vor/nach Auslassungspunkten verhindern |
| 60 |
noback correct $l["..."]$l "\x250A...\x250A" |
| 61 |
noback correct $l["..."] "\x250A..." |
| 62 |
noback correct ["..."]$l "...\x250A" |
| 63 |
|
| 64 |
# --- Satzzeichen im Wort: Keine Wortgrenze |
| 65 |
|
| 66 |
noback correct $l["("]$l "\x250A(\x250A" |
| 67 |
noback correct $l[")"]$l "\x250A)\x250A" |
| 68 |
noback correct $l["["]$l "\x250A[\x250A" |
| 69 |
noback correct $l["]"]$l "\x250A]\x250A" |
| 70 |
noback correct $l["»"]$l "\x250A»\x250A" |
| 71 |
noback correct $l["«"]$l "\x250A«\x250A" |
| 72 |
noback correct $l["\x2039"]$l "\x250A\x2039\x250A" |
| 73 |
noback correct $l["\x203a"]$l "\x250A\x203a\x250A" |
| 74 |
|
| 75 |
# --- Apostroph, Punkt, Komma, Strich vor Zahl |
| 76 |
|
| 77 |
noback correct $d["'"]$d "." |
| 78 |
noback correct ["'"]$d "\x2500" |
| 79 |
noback correct $dl["."]$d "." |
| 80 |
noback correct ["."]$d "\x2501" |
| 81 |
noback correct ["--."]$d "\x2510" |
| 82 |
noback correct ["\x2013."]$d "\x2510" |
| 83 |
noback correct ["\x2014."]$d "\x2510" |
| 84 |
noback correct ["--,"]$d "\x2511" |
| 85 |
noback correct ["\x2013,"]$d "\x2511" |
| 86 |
noback correct ["\x2014,"]$d "\x2511" |
| 87 |
|
| 88 |
# --- Dagger ("gestorben") |
| 89 |
|
| 90 |
noback correct ["\x2020"] "gest." |
| 91 |
|
| 92 |
# --- Satzzeichen nach zahlenähnlichen Zeichen |
| 93 |
|
| 94 |
attribute puncAfterOrdinal ;:?!()[]\x00AB\x00BB |
| 95 |
# Prozent |
| 96 |
noback correct ["%"]%puncAfterOrdinal "%\x250B" |
| 97 |
noback correct ["%,"] "%\x256C," |
| 98 |
# Promille |
| 99 |
noback correct ["\x2030"]%puncAfterOrdinal "\x2030\x250B" |
| 100 |
noback correct ["\x2030,"] "\x2030\x256C," |
| 101 |
# Grad |
| 102 |
noback correct ["\x00B0"]%puncAfterOrdinal "\x00B0\x250B" |
| 103 |
noback correct ["\x00B0,"] "\x00B0\x256C," |
| 104 |
# Superscript 2 |
| 105 |
noback correct ["\x00B2"]%puncAfterOrdinal "\x00B2\x250B" |
| 106 |
noback correct ["\x00B2,"] "\x00B2\x256C," |
| 107 |
# Superscript 3 |
| 108 |
noback correct ["\x00B3"]%puncAfterOrdinal "\x00B3\x250B" |
| 109 |
noback correct ["\x00B3,"] "\x00B3\x256C," |
| 110 |
noback correct "\x00BC"[]%puncAfterOrdinal "\x250B" |
| 111 |
noback correct "\x00BD"[]%puncAfterOrdinal "\x250B" |
| 112 |
noback correct "\x00BE"[]%puncAfterOrdinal "\x250B" |
| 113 |
noback correct "\x2153"[]%puncAfterOrdinal "\x250B" |
| 114 |
noback correct "\x2154"[]%puncAfterOrdinal "\x250B" |
| 115 |
noback correct "\x2155"[]%puncAfterOrdinal "\x250B" |
| 116 |
noback correct "\x2156"[]%puncAfterOrdinal "\x250B" |
| 117 |
noback correct "\x2157"[]%puncAfterOrdinal "\x250B" |
| 118 |
noback correct "\x2158"[]%puncAfterOrdinal "\x250B" |
| 119 |
noback correct "\x2159"[]%puncAfterOrdinal "\x250B" |
| 120 |
noback correct "\x215a"[]%puncAfterOrdinal "\x250B" |
| 121 |
noback correct "\x215b"[]%puncAfterOrdinal "\x250B" |
| 122 |
noback correct "\x215c"[]%puncAfterOrdinal "\x250B" |
| 123 |
noback correct "\x215d"[]%puncAfterOrdinal "\x250B" |
| 124 |
noback correct "\x215e"[]%puncAfterOrdinal "\x250B" |
| 125 |
|
| 126 |
# --- Brüche vor Komma |
| 127 |
|
| 128 |
noback correct "\x00BC"[]"," "\x256C" |
| 129 |
noback correct "\x00BD"[]"," "\x256C" |
| 130 |
noback correct "\x00BE"[]"," "\x256C" |
| 131 |
noback correct "\x2153"[]"," "\x256C" |
| 132 |
noback correct "\x2154"[]"," "\x256C" |
| 133 |
noback correct "\x2155"[]"," "\x256C" |
| 134 |
noback correct "\x2156"[]"," "\x256C" |
| 135 |
noback correct "\x2157"[]"," "\x256C" |
| 136 |
noback correct "\x2158"[]"," "\x256C" |
| 137 |
noback correct "\x2159"[]"," "\x256C" |
| 138 |
noback correct "\x215a"[]"," "\x256C" |
| 139 |
noback correct "\x215b"[]"," "\x256C" |
| 140 |
noback correct "\x215c"[]"," "\x256C" |
| 141 |
noback correct "\x215d"[]"," "\x256C" |
| 142 |
noback correct "\x215e"[]"," "\x256C" |
| 143 |
|
| 144 |
# --- Markieren von Zahl-Buchstabenverbindung für Kurzschrift |
| 145 |
|
| 146 |
noback correct $d["bis"]!$l "b\x250Ais" |
| 147 |
noback correct $d[]$l "\x2504" |
| 148 |
|
| 149 |
# --- Braille indicator opcodes ------------------------------------------------ |
| 150 |
|
| 151 |
# Marking caps is necessary for back-translation |
| 152 |
capsletter 46 |
| 153 |
begcapsword 45 |
| 154 |
endcapsword 6 |
| 155 |
capsnocont # See section 2.6.2 |
| 156 |
|
| 157 |
numsign 3456 |
| 158 |
numericmodechars .,: |
| 159 |
nonumsign 6 |
| 160 |
|
| 161 |
# --- Emphasis opcodes --------------------------------------------------------- |
| 162 |
|
| 163 |
emphclass italic |
| 164 |
emphclass underline |
| 165 |
emphclass bold |
| 166 |
|
| 167 |
begemphphrase italic 456-456 |
| 168 |
endemphphrase italic after 6-3 |
| 169 |
lenemphphrase italic 2 |
| 170 |
begemphword italic 456b |
| 171 |
endemphword italic 6-3 |
| 172 |
emphmodechars italic *()[]{}<> |
| 173 |
noemphchars italic \s\t\n\r\x00a0/-\x2013\x2014*()[]{}<>„“‚‘«»‹›.,:;!¡?¿ |
| 174 |
|
| 175 |
begemphphrase bold 456-456 |
| 176 |
endemphphrase bold after 6-3 |
| 177 |
lenemphphrase bold 2 |
| 178 |
begemphword bold 456b |
| 179 |
endemphword bold 6-3 |
| 180 |
emphmodechars bold *()[]{}<> |
| 181 |
noemphchars bold \s\t\n\r/x00a0/-\x2013\x2014*()[]{}<>„“‚‘«»‹›.,:;!¡?¿ |
| 182 |
|
| 183 |
begemphphrase underline 456-456 |
| 184 |
endemphphrase underline after 6-3 |
| 185 |
lenemphphrase underline 2 |
| 186 |
begemphword underline 456b |
| 187 |
endemphword underline 6-3 |
| 188 |
emphmodechars underline *()[]{}<> |
| 189 |
noemphchars underline \s\t\n\r\x00a0/-\x2013\x2014*()[]{}<>„“‚‘«»‹›.,:;!¡?¿ |
| 190 |
|
| 191 |
# dot 6 required before emphasis indicator when inside word |
| 192 |
noback pass2 _$l@456b @6-456 |
| 193 |
noback pass2 @456b @456 |
| 194 |
|
| 195 |
emphclass downgrade |
| 196 |
begemphphrase downgrade 36-3 |
| 197 |
endemphphrase downgrade after 6-3 |
| 198 |
lenemphphrase downgrade 2 |
| 199 |
begemphword downgrade 6-3 |
| 200 |
endemphword downgrade 6-3 |
| 201 |
|
| 202 |
begcomp 6-46 |
| 203 |
# endcomp 6-3 # Omitted here (only to be used when longer than one word) |
| 204 |
|
| 205 |
# --- Special Symbol Opcodes --------------------------------------------------- |
| 206 |
|
| 207 |
hyphen - 36 |
| 208 |
|
| 209 |
# --- Translation opcodes ------------------------------------------------------ |
| 210 |
|
| 211 |
include litdigits6Dots.uti |
| 212 |
|
| 213 |
# Interpunktions- und Sonderzeichen |
| 214 |
midnum , 2 |
| 215 |
endnum ; 6-23 |
| 216 |
|
| 217 |
endnum ? 6-26 |
| 218 |
midword ? 6-26 |
| 219 |
always \s? 0-6-26 |
| 220 |
always (? 2356-6-26 |
| 221 |
|
| 222 |
endnum ! 6-235 |
| 223 |
midword ! 6-235 |
| 224 |
always \s! 0-6-235 |
| 225 |
always ! 235 |
| 226 |
|
| 227 |
midword : 6-25 |
| 228 |
|
| 229 |
midword ( 6-2356 |
| 230 |
midnum ( 6-2356 |
| 231 |
endnum ( 6-2356 |
| 232 |
always ( 2356 |
| 233 |
|
| 234 |
midword ) 6-2356 |
| 235 |
midnum ) 6-2356 |
| 236 |
endnum ) 6-2356 |
| 237 |
always ) 2356 |
| 238 |
|
| 239 |
midword [ 6-6-2356 |
| 240 |
midnum [ 6-6-2356 # [ after a number needs dot 6, since [ is 6-2356 we need a double dot 6 |
| 241 |
endnum [ 6-6-2356 |
| 242 |
midword ] 6-6-2356 |
| 243 |
midnum ] 6-6-2356 # ] after a number needs dot 6, since ] is 6-2356 we need a double dot 6 |
| 244 |
endnum ] 6-6-2356 |
| 245 |
|
| 246 |
always { 5-12356 |
| 247 |
always } 5-12356 |
| 248 |
|
| 249 |
prepunc " 236 |
| 250 |
prepunc « 236 |
| 251 |
prepunc » 236 |
| 252 |
prepunc \x201f 236 |
| 253 |
|
| 254 |
endnum " 6-356 |
| 255 |
postpunc " 356 |
| 256 |
endnum » 6-356 |
| 257 |
postpunc » 356 |
| 258 |
endnum « 6-356 |
| 259 |
postpunc « 356 |
| 260 |
endnum \x201f 6-356 |
| 261 |
postpunc \x201f 356 |
| 262 |
|
| 263 |
midword » 6-236 |
| 264 |
midword « 6-356 |
| 265 |
midword \x2039 6-6-356 |
| 266 |
midword \x203a 6-6-236 |
| 267 |
|
| 268 |
midnum . 3 |
| 269 |
always .\s.\s. 3-3-3 |
| 270 |
|
| 271 |
always # 4-3456 |
| 272 |
|
| 273 |
always ** 6-35-35 |
| 274 |
always *** 6-35-35-35 |
| 275 |
|
| 276 |
prepunc \x2039 6-236 |
| 277 |
prepunc \x203a 6-236 |
| 278 |
prepunc \x201b 6-236 |
| 279 |
postpunc \x2039 6-356 |
| 280 |
postpunc \x203a 6-356 |
| 281 |
postpunc \x201b 6-356 |
| 282 |
|
| 283 |
always \x2192 25-25-135 |
| 284 |
always \x2190 246-25-25 |
| 285 |
always \x2194 246-25-25-135 |
| 286 |
|
| 287 |
always & 5-136 |
| 288 |
|
| 289 |
always % 3456-245-356 |
| 290 |
endnum \s% 3456-245-356 |
| 291 |
endnum \s\x2030 3456-245-356-356 |
| 292 |
endnum \s\x2031 3456-245-356-356-356 |
| 293 |
|
| 294 |
endnum \s° 4-356 |
| 295 |
endnum \s\x2032 4-35 |
| 296 |
endnum \s\x2033 4-35-35 |
| 297 |
|
| 298 |
joinnum § 346 |
| 299 |
joinnum §§ 346-346 |
| 300 |
|
| 301 |
endnum .-- 3-36a-36a |
| 302 |
endnum .\x2013 3-36a-36a |
| 303 |
endnum ,-- 2-36a-36a |
| 304 |
endnum ,\x2013 2-36a-36a |
| 305 |
|
| 306 |
always \s-\s 6-36a-0 |
| 307 |
always \s-- 6-36a |
| 308 |
always -- 6-36a |
| 309 |
always \s\x2013 6-36a |
| 310 |
always \x2013 6-36a |
| 311 |
always \s\x2014 6-36a |
| 312 |
always \x2014 6-36a |
| 313 |
|
| 314 |
midnum / 5-2 |
| 315 |
endnum / 5-2 |
| 316 |
always / 5-2 |
| 317 |
always | 5-36 |
| 318 |
|
| 319 |
joinnum £ 4-123 |
| 320 |
joinnum $ 4-234 |
| 321 |
always $ 4-234 |
| 322 |
joinnum ¢ 4-14 |
| 323 |
joinnum ¥ 4-13456 |
| 324 |
joinnum \x20A0 4-15 |
| 325 |
joinnum \x20AC 4-15 |
| 326 |
|
| 327 |
begnum +\s 4-235 |
| 328 |
midnum \s+\s 0-4-235 |
| 329 |
midnum \s+ 0-4-235 |
| 330 |
midnum + 0-4-235 |
| 331 |
always + 4-235 |
| 332 |
|
| 333 |
begnum \s- 0-4-36a-3456 |
| 334 |
always \s- 0-6-36a |
| 335 |
always (- 2356-6-36a |
| 336 |
always »- 236-6-36a |
| 337 |
always ›- 6-236-6-36a |
| 338 |
always [- 6-2356-6-36a |
| 339 |
begnum \x2212\s 4-36a |
| 340 |
midnum \s\x2212\s 0-4-36a |
| 341 |
midnum \s\x2212 0-4-36a |
| 342 |
midnum \x2212 0-4-36a |
| 343 |
always \x2212 4-36a |
| 344 |
|
| 345 |
midnum \s±\s 0-4-235-36a |
| 346 |
midnum \s± 0-4-235-36a |
| 347 |
midnum ± 0-4-235-36a |
| 348 |
always ± 4-235-36a |
| 349 |
|
| 350 |
begnum =\s 4-2356 |
| 351 |
midnum \s=\s 0-4-2356 |
| 352 |
midnum \s= 0-4-2356 |
| 353 |
midnum = 0-4-2356 |
| 354 |
always = 4-2356 |
| 355 |
|
| 356 |
midnum \s\x2260\s 0-4-35-2356 |
| 357 |
midnum \s\x2260 0-4-35-2356 |
| 358 |
midnum \x2260 0-4-35-2356 |
| 359 |
always \x2260 4-35-2356 |
| 360 |
|
| 361 |
midnum \s\x2261\s 0-4-2356-2356 |
| 362 |
midnum \s\x2261 0-4-2356-2356 |
| 363 |
midnum \x2261 0-4-2356-2356 |
| 364 |
always \x2261 4-2356-2356 |
| 365 |
|
| 366 |
midnum \s\x2259\s 0-4-26 |
| 367 |
midnum \s\x2259 0-4-26 |
| 368 |
midnum \x2259 0-4-26 |
| 369 |
always \x2259 4-26 |
| 370 |
|
| 371 |
midnum \s~\s 0-4-26-26 |
| 372 |
midnum \s~ 0-4-26-26 |
| 373 |
midnum ~ 0-4-26-26 |
| 374 |
always ~ 0-4-26-26 |
| 375 |
midnum \s\x223C\s 0-4-26-26 |
| 376 |
midnum \s\x223C 0-4-26-26 |
| 377 |
midnum \x223C 0-4-26-26 |
| 378 |
always \x223C 4-26-26 |
| 379 |
midnum \s\x2245\s 0-4-26-26 |
| 380 |
midnum \s\x2245 0-4-26-26 |
| 381 |
midnum \x2245 0-4-26-26 |
| 382 |
always \x2245 4-26-26 |
| 383 |
|
| 384 |
begnum \x00D7\s 4-236 |
| 385 |
midnum \s\x00D7\s 0-4-236 |
| 386 |
midnum \s\x00D7 0-4-236 |
| 387 |
midnum \x00D7 0-4-236 |
| 388 |
always \x00D7 4-236 |
| 389 |
noback midnum \s\x2217\s 3 |
| 390 |
noback midnum \s\x2217 3 |
| 391 |
noback midnum \x2217 3 |
| 392 |
noback midnum \s*\s 3 |
| 393 |
noback midnum \s* 3 |
| 394 |
noback midnum * 3 |
| 395 |
always * 6-35 (Anmerkungsstern) |
| 396 |
noback midnum \s\x22c5\s 3 |
| 397 |
noback midnum \s\x22c5 3 |
| 398 |
noback midnum \x22c5 3 |
| 399 |
noback midnum \s\x22c6\s 3 |
| 400 |
noback midnum \s\x22c6 3 |
| 401 |
noback midnum \x22c6 3 |
| 402 |
|
| 403 |
midnum \s:\s 4-25 |
| 404 |
midnum \s: 4-25 |
| 405 |
midnum : 4-25 |
| 406 |
endnum : 6-25 |
| 407 |
begnum ÷\s 4-25 |
| 408 |
midnum \s÷\s 0-4-25 |
| 409 |
midnum \s÷ 0-4-25 |
| 410 |
midnum ÷ 0-4-25 |
| 411 |
always ÷ 4-25 |
| 412 |
midnum \s\x2215\s 0-4-25 |
| 413 |
midnum \s\x2215 0-4-25 |
| 414 |
midnum \x2215 0-4-25 |
| 415 |
always \x2215 4-25 |
| 416 |
|
| 417 |
midnum \s<\s 0-4-246-3 |
| 418 |
midnum \s< 0-4-246-3 |
| 419 |
midnum < 0-4-246-3 |
| 420 |
always < 4-246-3 |
| 421 |
|
| 422 |
midnum \s\x2264\s 0-4-246-2356 |
| 423 |
midnum \s\x2264 0-4-246-2356 |
| 424 |
midnum \x2264 0-4-246-2356 |
| 425 |
always \x2264 4-246-2356 |
| 426 |
midnum \s\x2266\s 0-4-246-2356 |
| 427 |
midnum \s\x2266 0-4-246-2356 |
| 428 |
midnum \x2266 0-4-246-2356 |
| 429 |
always \x2266 4-246-2356 |
| 430 |
|
| 431 |
midnum \s>\s 0-4-135-2 |
| 432 |
midnum \s> 0-4-135-2 |
| 433 |
midnum > 0-4-135-2 |
| 434 |
always > 4-135-2 |
| 435 |
|
| 436 |
midnum \s\x2265\s 0-4-135-2356 |
| 437 |
midnum \s\x2265 0-4-135-2356 |
| 438 |
midnum \x2265 0-4-135-2356 |
| 439 |
always \x2265 4-135-2356 |
| 440 |
midnum \s\x2267\s 0-4-135-2356 |
| 441 |
midnum \s\x2267 0-4-135-2356 |
| 442 |
midnum \x2267 0-4-135-2356 |
| 443 |
always \x2267 4-135-2356 |
| 444 |
|
| 445 |
# --- 6-Dot Computer Braille --------------------------------------------------- |
| 446 |
|
| 447 |
include countries.cti |
| 448 |
compbrl :// URLs |
| 449 |
compbrl www. |
| 450 |
compbrl @ Mail-address |
| 451 |
compbrl .com |
| 452 |
compbrl .edu |
| 453 |
compbrl .gov |
| 454 |
compbrl .mil |
| 455 |
compbrl .net |
| 456 |
compbrl .org |
| 457 |
compbrl .doc |
| 458 |
compbrl .htm |
| 459 |
compbrl .html |
| 460 |
compbrl .tex |
| 461 |
compbrl .txt |
| 462 |
compbrl .gif |
| 463 |
compbrl .jpg |
| 464 |
compbrl .png |
| 465 |
compbrl .wav |
| 466 |
compbrl .tar |
| 467 |
compbrl .zip |
| 468 |
|
| 469 |
#comp6 \x0020 0   SPACE |
| 470 |
comp6 \x0021 5 ! EXCLAMATION MARK |
| 471 |
comp6 \x0022 4-4 " QUOTATION MARK |
| 472 |
comp6 \x0023 3456 # NUMBER SIGN |
| 473 |
comp6 \x0024 46-46 $ DOLLAR SIGN |
| 474 |
comp6 \x0025 123456 % PERCENT SIGN |
| 475 |
comp6 \x0026 12346 & AMPERSAND |
| 476 |
comp6 \x0027 6-6 ' APOSTROPHE APOSTROPHE-QUOTE |
| 477 |
comp6 \x0028 236 ( LEFT PARENTHESIS |
| 478 |
comp6 \x0029 356 ) RIGHT PARENTHESIS |
| 479 |
comp6 \x002A 35 * ASTERISK |
| 480 |
comp6 \x002B 235 + PLUS SIGN |
| 481 |
comp6 \x002C 2 , COMMA |
| 482 |
comp6 \x002D 36 - HYPHEN-MINUS |
| 483 |
comp6 \x002E 3 . FULL STOP PERIOD |
| 484 |
comp6 \x002F 256 / SOLIDUS SLASH |
| 485 |
comp6 \x0030 346 0 DIGIT ZERO |
| 486 |
comp6 \x0031 16 1 DIGIT ONE |
| 487 |
comp6 \x0032 126 2 DIGIT TWO |
| 488 |
comp6 \x0033 146 3 DIGIT THREE |
| 489 |
comp6 \x0034 1456 4 DIGIT FOUR |
| 490 |
comp6 \x0035 156 5 DIGIT FIVE |
| 491 |
comp6 \x0036 1246 6 DIGIT SIX |
| 492 |
comp6 \x0037 12456 7 DIGIT SEVEN |
| 493 |
comp6 \x0038 1256 8 DIGIT EIGHT |
| 494 |
comp6 \x0039 246 9 DIGIT NINE |
| 495 |
comp6 \x003A 25 : COLON |
| 496 |
comp6 \x003B 23 ; SEMICOLON |
| 497 |
comp6 \x003C 56 < LESS-THAN SIGN |
| 498 |
comp6 \x003D 2356 = EQUALS SIGN |
| 499 |
comp6 \x003E 45 > GREATER-THAN SIGN |
| 500 |
comp6 \x003F 26 ? QUESTION MARK |
| 501 |
comp6 \x0040 4-345 @ COMMERCIAL AT |
| 502 |
comp6 \x0041 4-1 A LATIN CAPITAL LETTER A |
| 503 |
comp6 \x0042 4-12 B LATIN CAPITAL LETTER B |
| 504 |
comp6 \x0043 4-14 C LATIN CAPITAL LETTER C |
| 505 |
comp6 \x0044 4-145 D LATIN CAPITAL LETTER D |
| 506 |
comp6 \x0045 4-15 E LATIN CAPITAL LETTER E |
| 507 |
comp6 \x0046 4-124 F LATIN CAPITAL LETTER F |
| 508 |
comp6 \x0047 4-1245 G LATIN CAPITAL LETTER G |
| 509 |
comp6 \x0048 4-125 H LATIN CAPITAL LETTER H |
| 510 |
comp6 \x0049 4-24 I LATIN CAPITAL LETTER I |
| 511 |
comp6 \x004A 4-245 J LATIN CAPITAL LETTER J |
| 512 |
comp6 \x004B 4-13 K LATIN CAPITAL LETTER K |
| 513 |
comp6 \x004C 4-123 L LATIN CAPITAL LETTER L |
| 514 |
comp6 \x004D 4-134 M LATIN CAPITAL LETTER M |
| 515 |
comp6 \x004E 4-1345 N LATIN CAPITAL LETTER N |
| 516 |
comp6 \x004F 4-135 O LATIN CAPITAL LETTER O |
| 517 |
comp6 \x0050 4-1234 P LATIN CAPITAL LETTER P |
| 518 |
comp6 \x0051 4-12345 Q LATIN CAPITAL LETTER Q |
| 519 |
comp6 \x0052 4-1235 R LATIN CAPITAL LETTER R |
| 520 |
comp6 \x0053 4-234 S LATIN CAPITAL LETTER S |
| 521 |
comp6 \x0054 4-2345 T LATIN CAPITAL LETTER T |
| 522 |
comp6 \x0055 4-136 U LATIN CAPITAL LETTER U |
| 523 |
comp6 \x0056 4-1236 V LATIN CAPITAL LETTER V |
| 524 |
comp6 \x0057 4-2456 W LATIN CAPITAL LETTER W |
| 525 |
comp6 \x0058 4-1346 X LATIN CAPITAL LETTER X |
| 526 |
comp6 \x0059 4-13456 Y LATIN CAPITAL LETTER Y |
| 527 |
comp6 \x005A 4-1356 Z LATIN CAPITAL LETTER Z |
| 528 |
comp6 \x005B 4-12356 [ LEFT SQUARE BRACKET |
| 529 |
comp6 \x005C 4-34 \ REVERSE SOLIDUS |
| 530 |
comp6 \x005D 4-23456 ] RIGHT SQUARE BRACKET |
| 531 |
comp6 \x005E 4-2346 ^ CIRCUMFLEX ACCENT |
| 532 |
comp6 \x005F 4-456 _ LOW LINE |
| 533 |
comp6 \x0060 345 ` GRAVE ACCENT |
| 534 |
comp6 \x0061 1 a LATIN SMALL LETTER A |
| 535 |
comp6 \x0062 12 a LATIN SMALL LETTER B |
| 536 |
comp6 \x0063 14 a LATIN SMALL LETTER C |
| 537 |
comp6 \x0064 145 a LATIN SMALL LETTER D |
| 538 |
comp6 \x0065 15 a LATIN SMALL LETTER E |
| 539 |
comp6 \x0066 124 a LATIN SMALL LETTER F |
| 540 |
comp6 \x0067 1245 a LATIN SMALL LETTER G |
| 541 |
comp6 \x0068 125 a LATIN SMALL LETTER H |
| 542 |
comp6 \x0069 24 a LATIN SMALL LETTER I |
| 543 |
comp6 \x006A 245 a LATIN SMALL LETTER J |
| 544 |
comp6 \x006B 13 a LATIN SMALL LETTER K |
| 545 |
comp6 \x006C 123 a LATIN SMALL LETTER L |
| 546 |
comp6 \x006D 134 a LATIN SMALL LETTER M |
| 547 |
comp6 \x006E 1345 a LATIN SMALL LETTER N |
| 548 |
comp6 \x006F 135 o LATIN SMALL LETTER O |
| 549 |
comp6 \x0070 1234 p LATIN SMALL LETTER P |
| 550 |
comp6 \x0071 12345 q LATIN SMALL LETTER Q |
| 551 |
comp6 \x0072 1235 r LATIN SMALL LETTER R |
| 552 |
comp6 \x0073 234 s LATIN SMALL LETTER S |
| 553 |
comp6 \x0074 2345 t LATIN SMALL LETTER T |
| 554 |
comp6 \x0075 136 u LATIN SMALL LETTER U |
| 555 |
comp6 \x0076 1236 v LATIN SMALL LETTER V |
| 556 |
comp6 \x0077 2456 w LATIN SMALL LETTER W |
| 557 |
comp6 \x0078 1346 x LATIN SMALL LETTER X |
| 558 |
comp6 \x0079 13456 y LATIN SMALL LETTER Y |
| 559 |
comp6 \x007A 1356 z LATIN SMALL LETTER Z |
| 560 |
comp6 \x007B 12356 { LEFT CURLY BRACKET |
| 561 |
comp6 \x007C 34 | VERTICAL LINE |
| 562 |
comp6 \x007D 23456 } RIGHT CURLY BRACKET |
| 563 |
comp6 \x007E 2346 ~ TILDE |
| 564 |
comp6 \x00A1 4-36 ¡ INVERTED EXCLAMATION MARK |
| 565 |
comp6 \x00A2 6-5 ¢ CENT SIGN |
| 566 |
comp6 \x00A3 4-46 £ POUND SIGN |
| 567 |
comp6 \x00A4 46-46 ¤ CURRENCY SIGN |
| 568 |
comp6 \x00A5 6-46 ¥ YEN SIGN |
| 569 |
comp6 \x00A6 6-15 ¦ BROKEN BAR |
| 570 |
comp6 \x00A7 4-35 § SECTION SIGN |
| 571 |
comp6 \x00A8 6-4 ¨ DIAERESIS |
| 572 |
comp6 \x00A9 6-12346 © COPYRIGHT SIGN |
| 573 |
comp6 \x00AA 6-125 ª FEMININE ORDINAL INDICATOR |
| 574 |
comp6 \x00AB 46-56 « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 575 |
comp6 \x00AC 46-256 ¬ NOT SIGN |
| 576 |
comp6 \x00AD 6-36 ­ SOFT HYPHEN |
| 577 |
comp6 \x00AE 6-1235 ® REGISTERED SIGN |
| 578 |
comp6 \x00AF 6-45 ¯ MACRON |
| 579 |
comp6 \x00B0 6-456 ° DEGREE SIGN |
| 580 |
comp6 \x00B1 46-235 ± PLUS-MINUS SIGN |
| 581 |
comp6 \x00B2 6-12 ² SUPERSCRIPT TWO |
| 582 |
comp6 \x00B3 6-14 ³ SUPERSCRIPT THREE |
| 583 |
comp6 \x00B4 6-56 ´ ACUTE ACCENT |
| 584 |
comp6 \x00B5 6-134 µ MICRO SIGN |
| 585 |
comp6 \x00B6 6-145 ¶ PILCROW SIGN |
| 586 |
comp6 \x00B7 4-3 · MIDDLE DOT |
| 587 |
comp6 \x00B8 6-6 ¸ CEDILLA |
| 588 |
comp6 \x00B9 6-1 ¹ SUPERSCRIPT ONE |
| 589 |
comp6 \x00BA 6-245 º MASCULINE ORDINAL INDICATOR |
| 590 |
comp6 \x00BB 46-45 » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK |
| 591 |
comp6 \x00BC 6-136 ¼ VULGAR FRACTION ONE QUARTER |
| 592 |
comp6 \x00BD 6-1236 ½ VULGAR FRACTION ONE HALF |
| 593 |
comp6 \x00BE 6-1346 ¾ VULGAR FRACTION THREE QUARTERS |
| 594 |
comp6 \x00BF 6-3 ¿ INVERTED QUESTION MARK |
| 595 |
comp6 \x00C0 46-236 À LATIN CAPITAL LETTER A WITH GRAVE |
| 596 |
comp6 \x00C1 6-2 Á LATIN CAPITAL LETTER A WITH ACUTE |
| 597 |
comp6 \x00C2 4-16 Â LATIN CAPITAL LETTER A WITH CIRCUMFLEX |
| 598 |
comp6 \x00C3 4-346 Ã LATIN CAPITAL LETTER A WITH TILDE |
| 599 |
comp6 \x00C4 4-56 Ä LATIN CAPITAL LETTER A WITH DIAERESIS |
| 600 |
comp6 \x00C5 4-3456 Å LATIN CAPITAL LETTER A WITH RING ABOVE |
| 601 |
comp6 \x00C6 4-4 Æ LATIN CAPITAL LETTER AE |
| 602 |
comp6 \x00C7 4-12346 Ç LATIN CAPITAL LETTER C WITH CEDILLA |
| 603 |
comp6 \x00C8 46-35 È LATIN CAPITAL LETTER E WITH GRAVE |
| 604 |
comp6 \x00C9 4-123456 É LATIN CAPITAL LETTER E WITH ACUTE |
| 605 |
comp6 \x00CA 4-126 Ê LATIN CAPITAL LETTER E WITH CIRCUMFLEX |
| 606 |
comp6 \x00CB 6-235 Ë LATIN CAPITAL LETTER E WITH DIAERESIS |
| 607 |
comp6 \x00CC 4-5 Ì LATIN CAPITAL LETTER I WITH GRAVE |
| 608 |
comp6 \x00CD 6-25 Í LATIN CAPITAL LETTER I WITH ACUTE |
| 609 |
comp6 \x00CE 4-146 Î LATIN CAPITAL LETTER I WITH CIRCUMFLEX |
| 610 |
comp6 \x00CF 6-2356 Ï LATIN CAPITAL LETTER I WITH DIAERESIS |
| 611 |
comp6 \x00D0 4-356 Ð LATIN CAPITAL LETTER ETH |
| 612 |
comp6 \x00D1 4-256 Ñ LATIN CAPITAL LETTER N WITH TILDE |
| 613 |
comp6 \x00D2 46-5 Ò LATIN CAPITAL LETTER O WITH GRAVE |
| 614 |
comp6 \x00D3 6-256 Ó LATIN CAPITAL LETTER O WITH ACUTE |
| 615 |
comp6 \x00D4 4-1456 Ô LATIN CAPITAL LETTER O WITH CIRCUMFLEX |
| 616 |
comp6 \x00D5 4-26 Õ LATIN CAPITAL LETTER O WITH TILDE |
| 617 |
comp6 \x00D6 6-35 Ö LATIN CAPITAL LETTER O WITH DIAERESIS |
| 618 |
comp6 \x00D7 6-234 × MULTIPLICATION SIGN |
| 619 |
comp6 \x00D8 4-246 Ø LATIN CAPITAL LETTER O WITH STROKE |
| 620 |
comp6 \x00D9 46-356 Ù LATIN CAPITAL LETTER U WITH GRAVE |
| 621 |
comp6 \x00DA 6-26 Ú LATIN CAPITAL LETTER U WITH ACUTE |
| 622 |
comp6 \x00DB 4-156 Û LATIN CAPITAL LETTER U WITH CIRCUMFLEX |
| 623 |
comp6 \x00DC 6-236 Ü LATIN CAPITAL LETTER U WITH DIAERESIS |
| 624 |
comp6 \x00DD 6-356 Ý LATIN CAPITAL LETTER Y WITH ACUTE |
| 625 |
comp6 \x00DE 4-235 Þ LATIN CAPITAL LETTER THORN |
| 626 |
comp6 \x00DF 6-3456 ß LATIN SMALL LETTER SHARP S |
| 627 |
comp6 \x00E0 6-12356 à LATIN SMALL LETTER A WITH GRAVE |
| 628 |
comp6 \x00E1 6-16 á LATIN SMALL LETTER A WITH ACUTE |
| 629 |
comp6 \x00E2 46-16 â LATIN SMALL LETTER A WITH CIRCUMFLEX |
| 630 |
comp6 \x00E3 46-346 ã LATIN SMALL LETTER A WITH TILDE |
| 631 |
comp6 \x00E4 6-345 ä LATIN SMALL LETTER A WITH DIAERESIS |
| 632 |
comp6 \x00E5 46-3456 å LATIN SMALL LETTER A WITH RING ABOVE |
| 633 |
comp6 \x00E6 46-4 æ LATIN SMALL LETTER AE |
| 634 |
comp6 \x00E7 46-12346 ç LATIN SMALL LETTER C WITH CEDILLA |
| 635 |
comp6 \x00E8 6-2346 è LATIN SMALL LETTER E WITH GRAVE |
| 636 |
comp6 \x00E9 6-123456 é LATIN SMALL LETTER E WITH ACUTE |
| 637 |
comp6 \x00EA 46-126 ê LATIN SMALL LETTER E WITH CIRCUMFLEX |
| 638 |
comp6 \x00EB 6-1246 ë LATIN SMALL LETTER E WITH DIAERESIS |
| 639 |
comp6 \x00EC 6-34 ì LATIN SMALL LETTER I WITH GRAVE |
| 640 |
comp6 \x00ED 6-146 í LATIN SMALL LETTER I WITH ACUTE |
| 641 |
comp6 \x00EE 46-146 î LATIN SMALL LETTER I WITH CIRCUMFLEX |
| 642 |
comp6 \x00EF 6-12456 ï LATIN SMALL LETTER I WITH DIAERESIS |
| 643 |
comp6 \x00F0 6-2345 ð LATIN SMALL LETTER ETH |
| 644 |
comp6 \x00F1 6-1345 ñ LATIN SMALL LETTER N WITH TILDE |
| 645 |
comp6 \x00F2 6-346 ò LATIN SMALL LETTER O WITH GRAVE |
| 646 |
comp6 \x00F3 6-1456 ó LATIN SMALL LETTER O WITH ACUTE |
| 647 |
comp6 \x00F4 46-1456 ô LATIN SMALL LETTER O WITH CIRCUMFLEX |
| 648 |
comp6 \x00F5 6-135 õ LATIN SMALL LETTER O WITH TILDE |
| 649 |
comp6 \x00F6 6-246 ö LATIN SMALL LETTER O WITH DIAERESIS |
| 650 |
comp6 \x00F7 46-1256 ÷ DIVISION SIGN |
| 651 |
comp6 \x00F8 46-246 ø LATIN SMALL LETTER O WITH STROKE |
| 652 |
comp6 \x00F9 6-23456 ù LATIN SMALL LETTER U WITH GRAVE |
| 653 |
comp6 \x00FA 6-156 ú LATIN SMALL LETTER U WITH ACUTE |
| 654 |
comp6 \x00FB 46-156 û LATIN SMALL LETTER U WITH CIRCUMFLEX |
| 655 |
comp6 \x00FC 6-1256 ü LATIN SMALL LETTER U WITH DIAERESIS |
| 656 |
comp6 \x00FD 6-2456 ý LATIN SMALL LETTER Y WITH ACUTE |
| 657 |
comp6 \x00FE 6-1234 þ LATIN SMALL LETTER THORN |
| 658 |
comp6 \x00FF 6-13456 ÿ LATIN SMALL LETTER Y WITH DIAERESIS |
| 659 |
|
| 660 |
# --- Context rules --- |
| 661 |
|
| 662 |
# 2.6.2 Einzelgroßbuchstaben und Großbuchstabenfolgen |
| 663 |
|
| 664 |
# According to the Systematik single letter capitals are to be |
| 665 |
# announced with 45. This is not supported by liblouis so we use a |
| 666 |
# context rule to mark those places and fix them later in a pass2 rule |
| 667 |
# below |
| 668 |
noback context !$U[]$U!$l @ad |
| 669 |
noback context !$U[]$U~ @ad |
| 670 |
noback context `[]$U!$l @ad |
| 671 |
noback context `[]$U~ @ad |
| 672 |
|
| 673 |
# Remove the markers to handle single letter capitals that were added above |
| 674 |
noback pass2 @46-ad-46 @45 |
| 675 |
|
| 676 |
# FIXME: this seems to be needed for cases of midword capitalization |
| 677 |
# such as 'kW', see de-g0-detailed-specs.yaml:216 |
| 678 |
noback pass2 @ad-46 @45 |
| 679 |
|
| 680 |
# --- Handling of virtual dots ------------------------------------------------- |
| 681 |
|
| 682 |
# Kürzungsverbot entfernen |
| 683 |
noback pass2 @abcdef ? |
| 684 |
# Apostroph vor Zahl ('98) |
| 685 |
noback pass2 @3456-69 @3456-6 |
| 686 |
# Punkt vor Zahl (.45) |
| 687 |
noback pass2 @3456-39 @3456-3 |
| 688 |
# Dummy-Zahl entfernen |
| 689 |
noback pass2 @3456-b ? |
| 690 |
|
| 691 |
# Aufhebungspunkt vor Komma nach tiefgestellten Zahlen |
| 692 |
noback pass2 @ab @6 |
| 693 |
|
| 694 |
# Fehlende Lettersigns bei Zahl-Buchstaben-Verbindung in Kurzschrift bei |
| 695 |
# Buchstaben a-j ergänzen |
| 696 |
noback pass2 @ac-1 @6-1 |
| 697 |
noback pass2 @ac-12 @6-12 |
| 698 |
noback pass2 @ac-14 @6-14 |
| 699 |
noback pass2 @ac-145 @6-145 |
| 700 |
noback pass2 @ac-15 @6-15 |
| 701 |
noback pass2 @ac-124 @6-124 |
| 702 |
noback pass2 @ac-1245 @6-1245 |
| 703 |
noback pass2 @ac-125 @6-125 |
| 704 |
noback pass2 @ac-24 @6-24 |
| 705 |
noback pass2 @ac-245 @6-245 |
| 706 |
# Lettersigns bei Zahl-Buchstaben-Verbindung in Kurzschrift erhalten |
| 707 |
noback pass2 @ac-6-1 @6-1 |
| 708 |
noback pass2 @ac-6-12 @6-12 |
| 709 |
noback pass2 @ac-6-14 @6-14 |
| 710 |
noback pass2 @ac-6-145 @6-145 |
| 711 |
noback pass2 @ac-6-15 @6-15 |
| 712 |
noback pass2 @ac-6-124 @6-124 |
| 713 |
noback pass2 @ac-6-1245 @6-1245 |
| 714 |
noback pass2 @ac-6-125 @6-125 |
| 715 |
noback pass2 @ac-6-24 @6-24 |
| 716 |
noback pass2 @ac-6-245 @6-245 |
| 717 |
# Restliche Lettersigns bei Zahl-Buchstaben-Verbindung in Kurzschrift entfernen |
| 718 |
noback pass2 @ac-6 ? |
| 719 |
# Markierung für Zahl-Buchstaben-Verbindung in Vollschrift entfernen |
| 720 |
noback pass2 @ac ? |
| 721 |
|
| 722 |
# Korrektur: Kürzung "des" zwischen Bindestrichen auflösen |
| 723 |
noback pass3 @36-3-36 @36-145-123456-36 |
| 724 |
# Korrektur: Kürzung "im" vor Bindestrich oder zwischen Bindestrichen auflösen |
| 725 |
noback pass3 @36-36a-36 @36-24-134-36 |
| 726 |
noback pass3 @36a-36 @24-134-36 |
| 727 |
# Korrektur: Als Bindestrich geschriebens Minuszeichen vor Zahl |
| 728 |
noback pass3 @0-6-36a-6-3456 @0-4-36-3456 |
| 729 |
# Korrektur: Kürzung "ver" nach Bindestrich auflösen |
| 730 |
noback pass3 @36[@36a] @1236-12456 |
| 731 |
# Bei allen weiteren P36 virtuellen Punkt a entfernen |
| 732 |
noback pass3 @36a @36 |