| 1 |
# liblouis: Korean (Base table and chars for 2006 edition) |
| 2 |
# |
| 3 |
# Based on the braille contraction table in BRLTTY |
| 4 |
# |
| 5 |
# Copyright (C) 1995-2012 by The BRLTTY Team. |
| 6 |
# Copyright (C) 2012 by Samuel Thibault <[email protected]> |
| 7 |
# Copyright (C) 2012 by Mesar Hameed <[email protected]> |
| 8 |
# Copyright (C) 2014 by Joseph Lee <[email protected]> |
| 9 |
# |
| 10 |
# This file is part of liblouis. |
| 11 |
# |
| 12 |
# liblouis is free software: you can redistribute it and/or modify it |
| 13 |
# under the terms of the GNU Lesser General Public License as |
| 14 |
# published by the Free Software Foundation, either version 2.1 of the |
| 15 |
# License, or (at your option) any later version. |
| 16 |
# |
| 17 |
# liblouis is distributed in the hope that it will be useful, but |
| 18 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 |
# Lesser General Public License for more details. |
| 21 |
# |
| 22 |
# You should have received a copy of the GNU Lesser General Public |
| 23 |
# License along with liblouis. If not, see |
| 24 |
# <http://www.gnu.org/licenses/>. |
| 25 |
|
| 26 |
# This is missing CHITUEUM*, CEONGCHIEUMSIOS, PANSIOS, YESIEUNG, RINHIEUH and |
| 27 |
# ARAEA for which I couldn't find documentation. Please contact me to fix |
| 28 |
# anything, as this table was generated from a C program. |
| 29 |
|
| 30 |
#Same as ko.cti except for punctuation dot changes. |
| 31 |
|
| 32 |
include en-chardefs.cti English character definition opcodes |
| 33 |
include braille-patterns.cti |
| 34 |
|
| 35 |
# Braille indicators |
| 36 |
numsign 3456 number sign, just a dots operand |
| 37 |
capsletter 6 |
| 38 |
begcapsword 6-6 |
| 39 |
endcapsword 6-3 |
| 40 |
emphclass italic |
| 41 |
emphclass underline |
| 42 |
emphclass bold |
| 43 |
begemphphrase italic 46-46 |
| 44 |
endemphphrase italic before 46 |
| 45 |
lenemphphrase italic 4 |
| 46 |
begemphword italic 46-3 |
| 47 |
endemphword italic 46-36 |
| 48 |
emphletter italic 46-25 |
| 49 |
begemphphrase bold 456-456 |
| 50 |
endemphphrase bold before 456 |
| 51 |
lenemphphrase bold 4 |
| 52 |
begcomp 456-346 |
| 53 |
endcomp 456-156 |
| 54 |
|
| 55 |
# literary forms of the decimal digits |
| 56 |
include litdigits6Dots.uti |
| 57 |
|
| 58 |
# Letters are defined in chardefs.cti |
| 59 |
|
| 60 |
# punctuation |
| 61 |
prepunc ( 36 |
| 62 |
word ( 36 |
| 63 |
noback always ( 36 |
| 64 |
postpunc ) 36 |
| 65 |
word ) 36 |
| 66 |
noback always ) 36 |
| 67 |
prepunc " 236 |
| 68 |
postpunc " 356 |
| 69 |
word " 236 |
| 70 |
prepunc ` 236 |
| 71 |
prepunc ' 6-236 |
| 72 |
postpunc ' 356-3 |
| 73 |
word ' 4-3 |
| 74 |
word 'em = |
| 75 |
word 'tis = |
| 76 |
word 'twas = |
| 77 |
begnum # 3456 print number sign before number |
| 78 |
midnum , 5 |
| 79 |
postpunc , 5 |
| 80 |
word , 5 |
| 81 |
noback always , 5 |
| 82 |
decpoint . 3 |
| 83 |
midnum - 36 |
| 84 |
hyphen - 36 |
| 85 |
always \s--\s 36-36 |
| 86 |
always \s-\s 36-36 |
| 87 |
midnum \x00ad 36 |
| 88 |
postpunc . 256 |
| 89 |
word . 256 |
| 90 |
noback always . 256 |
| 91 |
postpunc ; 56-23 |
| 92 |
word ; 56-23 |
| 93 |
midnum : 5-2 |
| 94 |
postpunc : 5-2 |
| 95 |
always : 5-2 |
| 96 |
postpunc ! 235 |
| 97 |
noback always ! 235 |
| 98 |
midnum / 456-34 |
| 99 |
always / 456-34 |
| 100 |
always < 5-13 |
| 101 |
always = 25-25 |
| 102 |
always > 46-2 |
| 103 |
always + 5-235 |
| 104 |
postpunc ? 236 |
| 105 |
word ? 236 |
| 106 |
noback always ? 236 |
| 107 |
endnum st 34 |
| 108 |
endnum nd 1345-145 |
| 109 |
endnum rd 1235-145 |
| 110 |
endnum 's 3-234 |
| 111 |
endnum th 1456 |
| 112 |
endnum 's 3-234 |
| 113 |
always % 356-1234 |
| 114 |
midnum ^ 45 |
| 115 |
always ^ 456-126 |
| 116 |
always ~ 36-36 |
| 117 |
always & 4-12346 |
| 118 |
midnum * 5-23 |
| 119 |
always * 35-35 |
| 120 |
prepunc [ 236-3 |
| 121 |
word [ 236-3 |
| 122 |
always [ 236-3 |
| 123 |
postpunc ] 6-356 |
| 124 |
word ] 6-356 |
| 125 |
always ] 6-356 |
| 126 |
prepunc { 236-23 |
| 127 |
word { 236-23 |
| 128 |
always { 236-23 |
| 129 |
postpunc } 56-356 |
| 130 |
word } 56-356 |
| 131 |
always } 56-356 |
| 132 |
always @ 4-1 |
| 133 |
always \\ 4-1256 |
| 134 |
always | 456-1256 |
| 135 |
always \s-\s 36 |
| 136 |
always ..." 5-5-5-356 |
| 137 |
always … 5-5-5 |
| 138 |
always ... 5-5-5 |
| 139 |
always ...' 5-5-5-356-3 |
| 140 |
repeated .... 0 |
| 141 |
repeated ____ 6-36-36-3 |
| 142 |
repeated ---- 36 |
| 143 |
always .\s.\s." 3-3-3-356 |
| 144 |
always .\s.\s. 3-3-3 . . . |
| 145 |
begnum $ 256 |
| 146 |
always $ 4-256 |
| 147 |
always _ 6-36-36-3 |
| 148 |
always — 56-36-36-23 |
| 149 |
|
| 150 |
# special character sequences |
| 151 |
compbrl :// URLs |
| 152 |
compbrl () |
| 153 |
compbrl www. |
| 154 |
compbrl :: |
| 155 |
compbrl .com |
| 156 |
compbrl .edu |
| 157 |
compbrl .gov |
| 158 |
compbrl .ini |
| 159 |
compbrl .mil |
| 160 |
compbrl .net |
| 161 |
compbrl .org |
| 162 |
compbrl .doc |
| 163 |
compbrl .xml |
| 164 |
compbrl .xsl |
| 165 |
compbrl .htm |
| 166 |
compbrl .html |
| 167 |
compbrl .tex |
| 168 |
compbrl .txt |
| 169 |
compbrl .gif |
| 170 |
compbrl .jpg |
| 171 |
compbrl .png |
| 172 |
compbrl .wav |
| 173 |
compbrl .tar |
| 174 |
compbrl .zip |
| 175 |
|
| 176 |
noback context "\e"$a * |
| 177 |
always \\_ 56 letter sign before Roman page numbers |
| 178 |
noback pass2 @56-56 @56 |
| 179 |
noback pass2 @3-56 @3 |
| 180 |
|
| 181 |
|
| 182 |
#Korean section: |
| 183 |
|
| 184 |
#Detect English: |
| 185 |
letsign 356 |
| 186 |
|
| 187 |
#Basic letter patterns (to be used in G1 and G2): |
| 188 |
include ko-chars.cti |
| 189 |
|
| 190 |
|