Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
###############################################################################
2
# BRLTTY - A background process providing access to the console screen (when in
3
#          text mode) for a blind person using a refreshable braille display.
4
#
5
# Copyright (C) 1995-2018 by The BRLTTY Developers.
6
#
7
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
8
#
9
# This is free software, placed under the terms of the
10
# GNU Lesser General Public License, as published by the Free Software
11
# Foundation; either version 2.1 of the License, or (at your option) any
12
# later version. Please see the file LICENSE-LGPL for details.
13
#
14
# Web Page: http://brltty.com/
15
#
16
# This software is maintained by Dave Mielke <dave@mielke.cc>.
17
###############################################################################
18
 
19
# BRLTTY Text Table - Lituanian
20
#
21
# Copyright (C) 2017 Rimas Kudelis <rq@akl.lt>
22
#
23
# The Lithuanian 8-dot Braille writing system is described in a decree of the Minister of
24
# Social Security and Labor, called "Dėl vieningos aštuonių taškų Brailio rašto sistemos
25
# naudojimo tvarkos aprašo patvirtinimo", which is in effect since 2011-04-13. Document
26
# number is A1-183. At the time of writing this file, the document was accessible at
27
# https://www.e-tar.lt/portal/lt/legalAct/TAR.443D667CA047 .
28
# The document is referred to as "the standard" below.
29
#
30
# The standard maps ISO-8859-13 character set to 8-dot Braille writing system. However,
31
# even though it defines different mappings for literary and computer braille modes, it
32
# doesn't seem like the authors had a good understanding of why these two modes exist
33
# and how they differ. Furthermore, the standard contains a few errors (incorrectly named
34
# characters as well as mapping conflicts). I would say it needs further improvements.
35
#
36
# This file is based on the standard, but does not exactly follow it. Some standard
37
# definitions are commented out, some changed, and some extra ones are added.
38
#
39
# This table is based on the respective liblouis table.
40
 
41
 
42
###
43
### LETTERS
44
###
45
 
46
# Standard representations for the letters of the Latin alphabet
47
include ltr-latin.tti
48
 
49
# Lowercase accented letters
50
char \u0105	(1    6  )  # ⠡ ą [LATIN SMALL LETTER A WITH OGONEK]
51
char \u010D	(1  4 6  )  # ⠩ č [LATIN SMALL LETTER C WITH CARON]
52
char \u0119	(1   56  )  # ⠱ ę [LATIN SMALL LETTER E WITH OGONEK]
53
char \u0117	(  345   )  # ⠜ ė [LATIN SMALL LETTER E WITH DOT ABOVE]
54
char \u012F	( 2 4 6  )  # ⠪ į [LATIN SMALL LETTER I WITH OGONEK]
55
char \u0161	( 234 6  )  # ⠮ š [LATIN SMALL LETTER S WITH CARON]
56
char \u0173	(  34 6  )  # ⠬ ų [LATIN SMALL LETTER U WITH OGONEK]
57
char \u016B	(12  56  )  # ⠳ ū [LATIN SMALL LETTER U WITH MACRON]
58
char \u017E	(12   6  )  # ⠣ ž [LATIN SMALL LETTER Z WITH MACRON]
59
 
60
# Uppercase accented letters
61
char \u0104	(1    67 )  # â¡¡ Ä„ [LATIN CAPITAL LETTER A WITH OGONEK]
62
char \u010C	(1  4 67 )  # ⡩ Č [LATIN CAPITAL LETTER C WITH CARON]
63
char \u0118	(1   567 )  # ⡱ Ę [LATIN CAPITAL LETTER E WITH OGONEK]
64
char \u0116	(  345 7 )  # ⡜ Ė [LATIN CAPITAL LETTER E WITH DOT ABOVE]
65
char \u012E	( 2 4 67 )  # ⡪ Į [LATIN CAPITAL LETTER I WITH OGONEK]
66
char \u0160	( 234 67 )  # ⡮ Š [LATIN CAPITAL LETTER S WITH CARON]
67
char \u0172	(  34 67 )  # ⡬ Ų [LATIN CAPITAL LETTER U WITH OGONEK]
68
char \u016A	(12  567 )  # ⡳ Ū [LATIN CAPITAL LETTER U WITH MACRON]
69
char \u017D	(12   67 )  # ⡣ Ž [LATIN CAPITAL LETTER Z WITH CARON]
70
 
71
 
72
###
73
### DIGITS
74
###
75
 
76
# Digits 0-9 are represented by the letters j,a-i with dot 8 added
77
include num-dot8.tti
78
 
79
 
80
###
81
### PUNCTUATION
82
###
83
 
84
char \x2C	( 2      )  # ⠂ , [COMMA]
85
char \x2E	( 2  56  )  # ⠲ . [FULL STOP]
86
char \x3F	( 2   6  )  # ⠢ ? [QUESTION MARK]
87
char \x21	( 23 5   )  # ⠖ ! [EXCLAMATION MARK]
88
char \x3A	( 2  5   )  # ⠒ : [COLON]
89
char \x3B	( 23     )  # ⠆ ; [SEMICOLON]
90
char \x22	(   4    )  # ⠈ " [QUOTATION MARK]
91
char \x27	(  3     )  # ⠄ ' [APOSTROPHE]
92
# The following character is defined as 134568 in the standard, but that is hardly useful.
93
# According to Unicode, it is the preferred character to use for apostrophe, hence
94
# defining it as one here.
95
alias \u2019	\x27        #   ’ [RIGHT SINGLE QUOTATION MARK]
96
 
97
char \x28	( 23 567 )  # â¡¶ ( [LEFT PARENTHESIS]
98
char \x29	( 23 56 8)  # ⢶ ) [RIGHT PARENTHESIS]
99
char \x5B	(123 56  )  # ⠷ [ LEFT SQUARE BRACKET
100
char \x5D	( 23456  )  # ⠾ ] RIGHT SQUARE BRACKET
101
char \x7B	( 2 4 678)  # ⣪ { LEFT CURLY BRACKET
102
char \x7D	(1 3 5 78)  # ⣕ } RIGHT CURLY BRACKET
103
 
104
char \x2D	(  3  6  )  # ⠤ - [HYPHEN-MINUS]
105
# Soft hyphen is defined as 368 in the standard.
106
alias \xAD	\x2D        #   ­ [SOFT HYPHEN]
107
# The following characters are not defined in the standard.
108
alias \u2010	\x2D        #   ‐ [HYPHEN]
109
alias \u2011	\x2D        #   ‑ [NON-BREAKING HYPHEN]
110
alias \u2012	\x2D        #   ‒ [FIGURE DASH]
111
alias \u2013	\x2D        #   – [EN DASH]
112
alias \u2014	\x2D        #   — [EM DASH]
113
alias \u2015	\x2D        #   ― [HORIZONTAL BAR]
114
 
115
# These are the typographically correct quotes in Lithuanian texts.
116
char \u201E	( 23  67 )  # ⡦ „ [DOUBLE LOW-9 QUOTATION MARK]
117
char \u201C	(  3 567 )  # ⡴ “ [LEFT DOUBLE QUOTATION MARK]
118
# The following characters are defined in the standard, because they exist in ISO-8859-13
119
# character set, even though they should not be used in Lithuanian texts.
120
char \u201D	(  3  67 )  # ⡤ ” [RIGHT DOUBLE QUOTATION MARK]
121
char \xAB	(    5678)  # ⣰ « [LEFT-POINTING DOUBLE ANGLE QUOTATION MARK]
122
char \xBB	(   45 78)  # ⣘ » [RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK]
123
 
124
 
125
###
126
### MATHEMATICAL SYMBOLS
127
###
128
 
129
char \x2B	( 23 5  8)  # ⢖ + [PLUS SIGN]
130
# Real minus is not defined in the standard.
131
alias \u2212	\x2D        #   − [MINUS SIGN]
132
char \x3C	( 2 4 6 8)  # ⢪ < [LESS-THAN SIGN]
133
char \x3D	( 23 56  )  # ⠶ = [EQUALS SIGN]
134
char \x3E	(1 3 5  8)  # ⢕ > [GREATER-THAN SIGN]
135
char \xB1	( 23 5 78)  # ⣖ ± [PLUS-MINUS SIGN]
136
char \xD7	( 234   8)  # ⢎ × MULTIPLICATION SIGN]
137
char \xF7	(12  5678)  # ⣳ ÷ [DIVISION SIGN]
138
 
139
 
140
###
141
### OTHER CHARACTERS
142
###
143
 
144
char \x23	(  3456  )  # ⠼ # [NUMBER SIGN]
145
char \x24	(   4 6  )  # ⠨ $ [DOLLAR SIGN]
146
char \x25	(123456  )  # ⠿ % [PERCENT SIGN]
147
char \x26	(1234 6  )  # ⠯ & [AMPERSAND]
148
char \x2A	(  3 5   )  # ⠔ * [ASTERISK]
149
char \x2F	(  34    )  # ⠌ / [SOLIDUS]
150
char \x40	(  345 78)  # ⣜ @ [COMMERCIAL AT]
151
char \x5C	(  34  7 )  # ⡌ \ [REVERSE SOLIDUS]
152
char \x5E	( 2  56 8)  # ⢲ ^ [CIRCUMFLEX ACCENT]
153
char \x5F	(   4567 )  # ⡸ _ [LOW LINE]
154
char \x7C	(   456  )  # ⠸ | [VERTICAL LINE]
155
char \xA6	(1  456  )  # ⠹ ¦ [BROKEN BAR]
156
char \xA7	(  34 6 8)  # ⢬ § [SECTION SIGN]
157
char \xAC	(    5   )  # ⠐ ¬ [NOT SIGN]
158
char \xB5	(1 34   8)  # ⢍ µ [MICRO SIGN]
159
char \xB6	(1234   8)  # ⢏ ¶ [PILCROW SIGN]
160
 
161
char \x60	(     6  )  # ⠠ ` [GRAVE ACCENT]
162
char \x7E	( 2   6 8)  # ⢢ ~ [TILDE]
163
 
164
char \xA2	(    5  8)  # ⢐ ¢ [CENT SIGN]
165
char \xA3	(   4 67 )  # ⡨ £ [POUND SIGN]
166
# Euro sign is not defined in the standard, but codepoint 0x80 of ISO-8859-13 is.
167
# In Windows-1257, 0x80 is the Euro sign.
168
# The unofficially distributed Lithuanian JAWS table specified all characters as
169
# ANSI codes, thus rendering Euro as 457.
170
# Not sure if I want to replicate that here though: who knows how this table will
171
# end up being used and for how long. Aliasing to E instead.
172
# char \u20AC	(   45 7 )  # ⡘ € [EURO SIGN]
173
alias \u20AC	\x45        #   € [EURO SIGN]
174
 
175
char \xA4	(   4 678)  # ⣨ ¤ [CURRENCY SIGN]
176
 
177
char \xA9	(1234 6 8)  # ⢯ © COPYRIGHT SIGN
178
char \xAE	(123 5  8)  # ⢗ ® [REGISTERED SIGN]
179
 
180
# Middle dot is unlikely to appear in text, except perhaps as a multiplication sign (dot operator).
181
char \xB7	(  3   7 )  # ⡄ · [MIDDLE DOT]
182
 
183
char \xB0	(   456 8)  # ⢸ ° [DEGREE SIGN]
184
 
185
char \xB9	(1     78)  # ⣁ ¹ [SUPERSCRIPT ONE]
186
char \xB2	(12    78)  # ⣃ ² [SUPERSCRIPT TWO]
187
char \xB3	(1  4  78)  # ⣉ ³ [SUPERSCRIPT THREE]
188
 
189
include common.tti