| 1 |
# liblouis: U.S. English 6 dot computer braille table |
| 2 |
# |
| 3 |
#-name: U.S. English Computer Braille Code (CBC) |
| 4 |
#-index-name: English, U.S., computer, 6-dot |
| 5 |
#-display-name: English 6-dot computer braille as used in the U.S. |
| 6 |
# |
| 7 |
#+language: en |
| 8 |
#+region: en-US |
| 9 |
#+type: computer |
| 10 |
#+dots: 6 |
| 11 |
#+system: ebae |
| 12 |
# Marked as "direction:both" by Bue Vester-Andersen |
| 13 |
# as it is a computer Braille table. |
| 14 |
#+direction: both |
| 15 |
# |
| 16 |
# Computer Braille Code reference: |
| 17 |
# http://liblouis.io/braille-specs/english/#computer-braille-code-cbc |
| 18 |
# |
| 19 |
#-copyright: 2019, Timothy Wynn |
| 20 |
#-copyright: 2021, BAUM Engineering |
| 21 |
#-license: LGPLv2.1 |
| 22 |
# |
| 23 |
# Copyright (C) 2019 Timothy Wynn <[email protected]> |
| 24 |
# Copyright (C) 2021, BAUM Engineering <[email protected]> |
| 25 |
# |
| 26 |
# This file is part of liblouis. |
| 27 |
# |
| 28 |
# liblouis is free software: you can redistribute it and/or modify it |
| 29 |
# under the terms of the GNU Lesser General Public License as |
| 30 |
# published by the Free Software Foundation, either version 2.1 of the |
| 31 |
# License, or (at your option) any later version. |
| 32 |
# |
| 33 |
# liblouis is distributed in the hope that it will be useful, but |
| 34 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 35 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 36 |
# Lesser General Public License for more details. |
| 37 |
# |
| 38 |
# You should have received a copy of the GNU Lesser General Public |
| 39 |
# License along with liblouis. If not, see |
| 40 |
# <http://www.gnu.org/licenses/>. |
| 41 |
# |
| 42 |
# Notes: |
| 43 |
# * Print characters, braille dots, and meanings are defined according |
| 44 |
# to the "COMPUTER BRAILLE CODE SYMBOLS: ASCII ORDER" and the |
| 45 |
# "Additional Computer Braille Code Symbols" tables (pp. 53-62) of the |
| 46 |
# Computer Braille Code (CBC; 2000) manual. |
| 47 |
# * Character-Definition Opcodes were copied from en-us-comp8.ctb. |
| 48 |
# Irrelevant and/or predefined Character-Definition Opcodes were |
| 49 |
# disregarded as needed (e.g. letter and number Character-Definition |
| 50 |
# Opcodes as defined by latinLetterDef6Dots.uti and litdigits6Dots.uti). |
| 51 |
# * Major portions of the CBC manual have been disregarded due to |
| 52 |
# transcriber-specific decisions (i.e. unable to be automated). |
| 53 |
# * Rationale of decisions made were interpreted from the following |
| 54 |
# section(s) of the CBC manual: |
| 55 |
# 4.2 Shift Indicator |
| 56 |
# 4.3 Caps Lock Indicator |
| 57 |
# 8.1 Isolated Lower-Cell Signs |
| 58 |
# 10.1 Emphasis Indicators |
| 59 |
# 16.1 Termination Indicator# |
| 60 |
# |
| 61 |
# TODO: |
| 62 |
# * Compbrl opcode and its comp6 subset (used in EBAE tables): |
| 63 |
# 11.1 Computer Braille Code Indicators |
| 64 |
# * Nemeth (used in EBAE tables): |
| 65 |
# 12.0 Nemeth Code Indicators |
| 66 |
# * Superscript and subscript numbers (is it possible?: |
| 67 |
# 15.0 Half-Line Shifts |
| 68 |
|
| 69 |
# Character Definitions: |
| 70 |
include spaces.uti |
| 71 |
|
| 72 |
# Alphanumeric characters: |
| 73 |
include latinLetterDef6Dots.uti |
| 74 |
include loweredDigits6Dots.uti |
| 75 |
|
| 76 |
# Single-cell symbols: |
| 77 |
punctuation ! 2346 exclamation point |
| 78 |
punctuation " 5 quotation marks, double quotes |
| 79 |
sign # 3456 number sign, pound sign (weight) |
| 80 |
sign $ 1246 dollar sign |
| 81 |
sign % 146 percent sign |
| 82 |
sign & 12346 ampersand |
| 83 |
punctuation ' 3 apostrophe, single quote |
| 84 |
punctuation \x2019 3 # right single quotation mark |
| 85 |
punctuation \x00b4 3 # acute accent |
| 86 |
punctuation ( 12356 left parenthesis |
| 87 |
punctuation ) 23456 right parenthesis |
| 88 |
sign * 16 asterisk, multiplication sign |
| 89 |
math + 346 plus sign |
| 90 |
punctuation , 6 comma |
| 91 |
math - 36 hyphen, minus sign |
| 92 |
punctuation . 46 period, decimal point |
| 93 |
math / 34 slash, division sign |
| 94 |
punctuation : 156 colon |
| 95 |
punctuation ; 56 semicolon |
| 96 |
math < 126 less than |
| 97 |
math = 123456 equals |
| 98 |
math > 345 greater than |
| 99 |
punctuation ? 1456 question mark |
| 100 |
sign @ 4 at |
| 101 |
punctuation [ 246 left bracket |
| 102 |
sign \\ 1256 backslash |
| 103 |
punctuation ] 12456 right bracket |
| 104 |
sign ^ 45 up arrow/caret |
| 105 |
|
| 106 |
# Braille symbols with the 456 prefix: |
| 107 |
sign _ 456-456 underscore |
| 108 |
sign _ 456 unused except as prefix for forward and back-translation |
| 109 |
sign ` 456-4 grave accent |
| 110 |
punctuation { 456-246 left brace |
| 111 |
sign | 456-1256 vertical bar |
| 112 |
punctuation } 456-12456 right brace |
| 113 |
math ~ 456-45 tilde |
| 114 |
|
| 115 |
# Braille Indicators: |
| 116 |
capsletter 456 shift indicator |
| 117 |
begcapsword 456-345 caps lock indicator |
| 118 |
endcapsword 456-126 caps release indicator |
| 119 |
capsmodechars 0123456789!"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ # if letters are separated by numbers, punctuation, etc. |
| 120 |
|
| 121 |
# Emphasis Indicators: |
| 122 |
emphclass italic |
| 123 |
begemph italic 456-16 begin emphasis |
| 124 |
endemph italic 456-34 end emphasis |
| 125 |
emphclass underline |
| 126 |
begemph underline 456-16 begin emphasis |
| 127 |
endemph underline 456-34 end emphasis |
| 128 |
emphclass bold |
| 129 |
begemph bold 456-16 begin emphasis |
| 130 |
endemph bold 456-34 end emphasis |
| 131 |
|
| 132 |
# Isolated Lower-Cell Signs: |
| 133 |
# Single-digit number: |
| 134 |
lowword 0 456-356 0 |
| 135 |
lowword 1 456-2 1 |
| 136 |
lowword 2 456-23 2 |
| 137 |
lowword 3 456-25 3 |
| 138 |
lowword 4 456-256 4 |
| 139 |
lowword 5 456-26 5 |
| 140 |
lowword 6 456-235 6 |
| 141 |
lowword 7 456-2356 7 |
| 142 |
lowword 8 456-236 8 |
| 143 |
lowword 9 456-35 9 |
| 144 |
# Quotation mark, apostrophe, comma, hyphen/minus sign, and semicolon: |
| 145 |
lowword " 456-5 quotation marks, double quotes |
| 146 |
lowword ' 456-3 apostrophe, single quote |
| 147 |
lowword , 456-6 comma |
| 148 |
lowword - 456-36 hyphen, minus sign |
| 149 |
lowword ; 456-56 semicolon |