nl-BE-g1.ctb
4.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#
# Copyright (C) 2010, 2011 by DocArch <http://www.docarch.be>
#
# This file is part of liblouis.
#
# liblouis is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# liblouis is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with liblouis. If not, see
# <http://www.gnu.org/licenses/>.
#
# -------------------------------------------------------------------------------
#
# Dutch Braille (Belgium)
# Created and maintained by Bert Frees <bertfrees@gmail.com>
# See also: « Braillestandaard voor algemeen gebruik in het Nederlandse taalgebied,
# Van toepassing vanaf 1 september 2005 »
# (Federatie Slechtzienden- en Blindenbelang en
# Belgische Confederatie voor Blinden en Slechtzienden, 2005)
#
# ----------------------------------------------------------------------------------------------
include nl-BE-chardefs.cti
include braille-patterns.cti
# ----------------------------------------------------------------------------------------------
# Emphasis opcodes
# ----------------------------------------------------------------------------------------------
# cursief
lenitalphrase 3
italsign 456
begital 456
endital 6
firstwordital 456-456
# vet
lenboldphrase 3
boldsign 456
begbold 456
endbold 6
firstwordbold 456-456
# onderstreept
lenunderphrase 3
undersign 456
begunder 456
endunder 6
firstwordunder 456-456
# ----------------------------------------------------------------------------------------------
# Special symbol opcodes
# ----------------------------------------------------------------------------------------------
decpoint \x002C 2
decpoint \x002E 256
hyphen \x002D 36
# ----------------------------------------------------------------------------------------------
# Translation opcodes
# ----------------------------------------------------------------------------------------------
# paragraafteken §
begword \x00A7 346-0
midword \x00A7 0-346-0
endword \x00A7 0-346
# percent %
# promille
endnum \x0025 0-123456
endnum \x2030 0-123456-123456
# is-gelijk-teken =
begword \x003D 2356-0
midword \x003D 0-2356
endword \x003D 0-2356-0
# plusteken +
begword \x002B 235-0
endnum \x002B 5-235
# gedeeld-door-teken ÷
begword \x00F7 256-0
midword \x00F7 0-256-0
endword \x00F7 0-256
# maalteken ×
begword \x00D7 236-0
midword \x00D7 0-236-0
endword \x00D7 0-236
# euroteken
# dollarteken $
# pondteken £
# yenteken ¥
noback joinnum \x20AC 15
noback joinnum \x0024 145
noback joinnum \x00A3 1234
noback joinnum \x00A5 13456
# Eén
context ["E"]"\x00E9" @123456
# ----------------------------------------------------------------------------------------------
# Various
# ----------------------------------------------------------------------------------------------
# romeinse cijfers in paginanummering
replace \\_
# herstelteken als getal gevolgd wordt door letters a tot j
class digitletter abcdefghij
context $d[]%digitletter @6
context $d"."[]%digitletter @6
context $d","[]%digitletter @6
# hoofdletters & tekens die permanent hoofdletterteken niet afsluiten
class uppersign -+&.'
context $U[]$u @6
context $U%uppersign.[]$u @6
pass2 [@46]$U%uppersign.@46 @45
pass2 [@46]$U%uppersign.@45 @45
pass3 @45$xl.[]@45 @1b # $xl = %uppersign or $l (letter)
pass3 @45$xl.[@46] ?
pass3 @46$U[@6] ?
pass3 @46$U%uppersign.[@6] ?
pass4 [@1b-45] ?
pass4 [@6]@6 ?
# plus +
# ampersand &
class plusamp +&
class noplusamp -.'
pass4 $zl[]%plusamp @5 # $zl = %noplusamp or $l (letter)
pass4 $zl[]%plusamp @5
pass4 [@235a]%plusamp @235-5
pass4 [@12346a]%plusamp @12346-5
pass4 [@235a] @235
pass4 [@12346a] @12346
# ----------------------------------------------------------------------------------------------
# Braille indicator opcodes
# ----------------------------------------------------------------------------------------------
numsign 3456
capsign 46
begcaps 45
endcaps 6
# ----------------------------------------------------------------------------------------------