Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / liblouis / src / tables / nemeth.ctb
1 # liblouis: Nemeth Table for mathematics
2 #
3 #  Based on the Linux screenreader BRLTTY, copyright (C) 1999-2006 by
4 #  The BRLTTY Team
5 #
6 #  Copyright (C) 2004, 2005, 2006
7 #  ViewPlus Technologies, Inc. www.viewplus.com
8 #  and
9 #  JJB Software, Inc. www.jjb-software.com
10 #  All rights reserved
11 #
12 #  This file is free software; you can redistribute it and/or modify it
13 #   under the terms of the Lesser or Library GNU General Public License 
14 #  as published by the
15 #  Free Software Foundation; either version 3, or (at your option) any
16 #  later version.
17
18 #  This file is distributed in the hope that it will be useful, but
19 #  WITHOUT ANY WARRANTY; without even the implied warranty of
20 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
21 #  Library GNU General Public License for more details.
22 #
23 #  You should have received a copy of the Library GNU General Public 
24 #  License along with this program; see the file COPYING.  If not, write 
25 #  to
26 #  the Free Software Foundation, 51 Franklin Street, Fifth Floor,
27 #  Boston, MA 02110-1301, USA.
28 #
29 #  Maintained by John J. Boyer john.boyer@jjb-software.com
30 # Updated 6-18-08 by Mike Sivill <mike.sivill@viewplus.com>
31
32 include chardefs.cti All character definition opcodes
33 include nemethdefs.cti
34
35 # Braille indicators
36 multind 56-6 letsign capsign
37 capsign 6
38 begital 46
39 endital 46-46
40 begbold 456
41 endbold 456-456
42 begcomp 456-346
43 endcomp 456-156
44
45 # Letters are defined in en-chardefs
46 # punctuation
47
48 prepunc " 236
49 postpunc " 356
50 prepunc ' 6-236
51 postpunc ' 356-3
52 postpunc , 6
53 always , 6-a
54 always # 35-2345 print number sign before number
55 decpoint . 46
56 hyphen - 36
57 postpunc . 456-256
58 endnum . 456-256
59 always . 256
60 postpunc ; 456-23
61 postpunc : 456-25
62 always ! 12346 factorial
63 always < a-5-13-a
64 always = a-46-13-a
65 always > a-46-2-a
66 postpunc ? 456-236
67 endnum % 4-356
68 always ~~ 4-156-5-4-156
69 always ~ 4-156
70 always & 456-12346
71 midnum * 4-16
72 always [ 4-12356
73 always ] 4-23456
74 always { 46-12356
75 always } 46-23456
76 always @ 4-1
77 always \\ 456-16
78 always | 1256
79 always $ 4-234
80 repeated \s 0
81 context ["\X25A1"]$d @1246-256-5
82 context ["\X25A0"]$d @1246-456-256-5
83 always \x00b0 45-46-16
84 always \x00B1 346-36
85
86 # semantic character pairs
87 always ^, 6
88 always ^; 56
89 always ^: 156
90 always ^. 46
91 always ^! 2346
92 always ^" 5
93 always ^' 3
94 always ^( 12356
95 always ^) 23456
96 always ^- 36
97 always ^_ 456
98 always ^< 126
99 always ^= 123456
100 always ^> 345
101 always ^% 146
102 always ^+ 346
103 always ^~ 45
104 always ^` 4
105 always ^& 12346
106 always ^$ 1246
107 always ^? 1456
108 always ^{ 246
109 always ^} 12456
110 always ^# 3456
111 always ^| 1256
112 always ^/ 34
113 always ^* 16
114 repeated ^1 a
115
116 # Function names and abbreviations
117 always acos 1-14-135-234-a
118 always antilog 1-1345-2345-24-123-135-1234-a
119 always arc 1-1235-14-a
120 always arccos 1-1235-14-14-135-234-a
121 always arg 1-1235-1245-a
122 always asin 1-234-24-1345-a
123 always atan 1-2345-1-1345-a
124 always colog 14-123-135-1245-a
125 always cos 14-135-234-a
126 always cosh 14-135-234-125-a
127 always cot 14-135-2345-a
128 always coth 14-135-2345-125-a
129 always covers 14-135-1236-15-1235-234-a
130 always csc 14-234-14-a
131 always csch 14-234-14-125-a
132 always erf 15-1235-124-a
133 always inf 24-1345-124-a
134 always ln 123-1345-a
135 always log 123-135-1234-a
136 always max 134-1-1346-a
137 always min 134-24-1345-a
138 always sec 234-15-14-a
139 always sech 234-15-14-125-a
140 always sin 234-24-1345-a
141 always sinh 234-24-1345-125-a
142 always tan 2345-1-1345-a
143 always tanh 2345-1-135-125-a
144 always vers 1236-15-1235-234-a
145
146
147
148 # computer braille character sequences
149 compbrl :// URLs
150 compbrl www.
151 compbrl .com
152 compbrl .edu
153 compbrl .gov
154 compbrl .mil
155 compbrl .net
156 compbrl .org
157 compbrl .doc
158 compbrl .htm
159 compbrl .html
160 compbrl .tex
161 compbrl .txt
162 compbrl .gif
163 compbrl .jpg
164 compbrl .png
165 compbrl .wav
166 compbrl .tar
167 compbrl .zip
168
169 # pass 2 corrections
170
171 # get rid of base-line ind. after subscripts
172 pass2 @56[$d1-5]@5!$d *
173 # insert another superscript ind. on doube superscripts
174 pass2 @45[]$d@5-5 @45
175 #get rid of extra baseline inds.
176 pass2 @5-5 @5 
177 pass2 @5-0 @0 
178 pass2 @5-a @a 
179 pass2 @5-1b-15 @1b-15
180 # get rid rid of superscript ind. on prime sign
181 pass2 @45-3-5 @3
182 # Put 456 in mixed numbers
183 pass2 $d[]@1456 @456
184 pass2 @456-1456!$s3-8[]@3456 @456
185 # Put number sign on numbers after spaces
186 pass2 @a[]$d @3456
187 pass2 @0[]$d @3456
188 pass2 @1b-12[]$d @3456
189 pass2 @a-0 @a
190 # fix anomaly with superscripts
191 pass2 @45-0-5 @45
192 pass2 @45-5 @45
193 # Fix single letter and digit with overbar
194 pass2 @5$l[@126-12456] @156
195 pass2 @5-6$l[@126-12456] @156
196 pass2 [@5]!$s@156 @a
197 pass2 @46-a @456-256
198 # get rid of space for overscripts 
199 pass2 @126-a @126
200 pass2 @146-a @146
201 pass2 @0-146 @146
202 pass2 @a-146 @146
203 pass2 @a-12456 @12456
204 # fix complex fraction begin and end (not perfectly)
205 pass2 @1456-1456 @6-1456-1456
206 pass2 @3456-3456 @3456-6-3456
207 # Fix lim with overbar sign
208 pass2 @5-123-24-134-126-12456 @126-123-24-134
209 # Get rid of open paren before matrices
210 pass2 @12356-4-6-12356 @4-6-12356
211 pass2 @1256-4-6-12356 @4-6-12356
212 # take off baseline ind. comma space
213 pass2 [@5-6]!$l @6
214 pass2 @1b-12[]$d @3456 number sign before digit at beginning
215 pass2 @1b-12-36[]$d @3456 number sign before minus before digit at beginning
216