1# liblouis: Norwegian Grade 0 Braille Table, uncontracted braille
2#
3#  Copyright (C) 2004-2008 ViewPlus Technologies, Inc. www.viewplus.com
4#  Copyright (C) 2004-2006 JJB Software, Inc. www.jjb-software.com
5#  Copyright (C) 2009-2019 Lars Bjørndal <lars@lamasti.net>
6#  Copyright (C) 2015-2018 NLB Norwegian library of talking books and braille, http://www.nlb.no/
7#
8#-copyright: 2004-2008, ViewPlus Technologies, Inc. www.viewplus.com
9#-copyright: 2004-2006, JJB Software, Inc. www.jjb-software.com
10#-copyright: 2009-2019, Lars Bjørndal <lars@lamasti.net>
11#-copyright: 2015-2018, NLB Norwegian library of talking books and braille, http://www.nlb.no/
12#
13# Created June 9, 2005 by Leon Ungier <Leon.Ungier@ViewPlus.com> with
14# help and guidance from Lars Bjørndal <lars@lamasti.net>
15# Updated June 2009 by Lars Bjørndal <lars@lamasti.net>
16# Updated April 2015 by Jostein Austvik Jacobsen <jostein@nlb.com> and Ammar Usama <ammar.usama@nlb.no>
17#
18#-author-name: Leon Ungier
19#-author-email: Leon.Ungier@ViewPlus.com
20#-author-url: www.viewplus.com
21#
22#-author-name: Lars Bjørndal
23#-author-email: lars@lamasti.net
24#-author-url: https://github.com/larsbjorndal
25#
26#-author-name: Jostein Austvik Jacobsen
27#-author-email: jostein@nlb.no
28#-author-url: https://github.com/josteinaj
29#
30#-author-name: Ammar Usama
31#-author-email: ammar.usama@nlb.no
32#-author-url: https://github.com/usama49
33#
34#  This file is part of liblouis.
35#
36#  liblouis is free software: you can redistribute it and/or modify it
37#  under the terms of the GNU Lesser General Public License as
38#  published by the Free Software Foundation, either version 2.1 of the
39#  License, or (at your option) any later version.
40#
41#  liblouis is distributed in the hope that it will be useful, but
42#  WITHOUT ANY WARRANTY; without even the implied warranty of
43#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
44#  Lesser General Public License for more details.
45#
46#  You should have received a copy of the GNU Lesser General Public
47#  License along with liblouis. If not, see
48#  <http://www.gnu.org/licenses/>.
49#
50
51space \t 9                   # tab x0009
52space \x001b 1b              # escape character for html back-translation # dec 27
53space \x00A0 a               # NO-BREAK SPACE <noBreak> 0020 NON-BREAKING SPACE # dec 160
54include spaces.uti
55
56include digits8Dots.uti
57include latinLetterDef6Dots.uti
58
59punctuation ! 235            # exclamation mark x0021
60punctuation " 256            # double quote x0022
61punctuation ' 5              # apostrophe x0027
62punctuation ( 236            # left parenthesis x0028
63punctuation ) 356            # right parenthesis x0029
64punctuation , 2              # coma x002C
65punctuation . 3              # point x002E
66punctuation : 25             # colon x003A
67punctuation ; 23             # semicolon x003B
68punctuation ? 26             # question mark x003F
69punctuation [ 12356          # left square bracket x005B
70punctuation ] 23456          # right square bracket x005D
71punctuation { 6-12356        # left curly bracket x007B
72punctuation } 6-23456        # right curly bracket x007D
73punctuation « 256            # left-pointing double angle quotation mark x00AB
74punctuation » 256            # right-pointing double angle quotation mark x00BB
75punctuation \x2010 36        # 8208 hyphen
76punctuation \x2011 36        # 8209 non-breaking hyphen
77punctuation \x2012 36        # figure dash
78punctuation \x2013 36-36     # en dash
79punctuation \x2014 36-36     # em dash
80punctuation \x002D 36        # hyphen-minus x002D
81punctuation \x2018 5         # 8216 smart single left quotation mark
82punctuation \x2019 5         # 8217 smart single right quotation mark
83punctuation \x201C 256       # 8220 smart opening double quote
84punctuation \x201D 256       # 8221 smart closing double quote
85punctuation \x201E 256       # 8222 smart double low quotation mark
86punctuation \x201F 256       # 8223 smart double high reverse quotation mark
87punctuation \x2026 3-3-3     # 8230 smart ellipsis
88punctuation \x2212 36        # 8722 minus sign
89
90sign # 3456                  # number sign x0023
91sign $ 256                   # dollar sign x0024
92sign £ 123                   # pound sign
93sign % 46-356                # percent sign x0025
94sign ‰ 46-356-356            # per mille sign
95sign & 346                   # ampersand z0026
96sign * 35                    # asterisk x002A
97sign @ 4                     # commercial at x0040
98sign \\ 156                  # reverse solidus x005C
99sign ^ 46                    # circumflex accent x005E (math power)
100sign _ 456                   # low line x005F
101sign ` 45                    # grave accent x0060
102sign \x00AF 45               # macron
103sign \x0304 45               # combining macron
104lowercase \x00E9 123456      # e with acute é 00E9
105sign | 123456                # vertical line x007C
106sign ~ 1456                  # tilde x007E
107sign \x0080 15-136-1235-135  # Euro sign x0080
108sign ¢ 4-14                  # cent sign x00A2
109sign £ 45-123                # pound sign x00A3
110sign ¤ 236-134-356           # currency sign x00A4
111sign ¥ 45-13456              # yen sign x00A5
112sign § 346                   # section sign x00A7
113joinnum § 346
114joinnum §§ 346-346
115sign © 236-14-356            # copyright x00A9
116sign ® 236-1235-356          # Registered trademark
117sign ™ 236-2345-356          # Trademark
118sign ° 5-356                 # degree sign x00B0
119sign ² 4-6-126               # superscript 2 sign x00B2
120sign ³ 4-6-146               # superscript 3 sign x00B3
121sign \x00B4 4                # acute sign dec-180
122sign ¹ 1-27                  # superscript 1 sign x00B9
123sign \x20AC 26               # Euro sign x0080
124sign ■ 123456                # Filled square
125sign □ 123456                # Empty square
126sign ● 2356                  # Filled circle
127sign ○ 2356                  # Empty circle
128sign • 2356                  # Bullet
129sign ß 35-234                # Latin Small Letter Sharp S
130
131lowercase α 1                 # alpha
132lowercase β 12                # beta
133lowercase γ 1245              # gamma
134lowercase δ 145               # delta
135lowercase ε 15                # epsilon
136lowercase ζ 1356              # zeta
137lowercase η 5                 # eta
138lowercase θ 4                 # theta
139lowercase ι 24                # iota
140lowercase κ 13                # kappa
141lowercase λ 123               # lambda
142lowercase μ 134               # my
143lowercase ν 1345              # ny
144lowercase ξ 1346              # ksi
145lowercase ο 135               # omikron
146lowercase π 1234              # pi
147lowercase ρ 1235              # rho
148lowercase ς 234               # sigma
149lowercase τ 2345              # tau
150lowercase υ 136               # ypsilon
151lowercase φ 124               # fi
152lowercase χ 12346             # khi
153lowercase ψ 13456             # psi
154lowercase ω 2456              # omega
155
156lowercase \x00E8 2346          # e with grave è 00E8
157lowercase \x00EA 126           # e with circumflex 00EA
158lowercase \x010D 146           # c with caron 00EE
159lowercase \x00EF 34            # i with diaeresis 00EF
160lowercase \x00F4 46-135        # o with circumflex ô 00F4
161lowercase \x00ED 126           # i with acute 00ED
162lowercase \x00E6 345           # æ 00E6
163lowercase å 16                 # A with ring above 00E5
164lowercase \x00E1 12356         # a with acute 00E1
165lowercase ø 246                # o with stroke
166lowercase \x00FA 12456         # u with acute 00FA
167lowercase \x00FD 12346         # y with acute x00FD
168lowercase \x00E0 12356         # a with grave 00E0
169lowercase \x00E2 46-1          # a with circumflex 00E2
170lowercase ä 345                # A with diaeresis 00E4
171lowercase \x00E7 12346         # c with cedilla ç 00E7
172lowercase \x00F5 4-135         # o with tilde 00F5
173lowercase ö 246                # O with diaeresis 00F6
174lowercase \x00F2 346           # O with grave ò
175lowercase \x017E 2346          # z with caron
176lowercase \x01EB 23456         # o with ogonek
177lowercase đ 1456               # d with stroke
178lowercase ð 156                # Eth
179lowercase ŋ 1246               # Eng
180lowercase þ 1246               # Thorn
181#uplow Ü ü 1245                # u with diaeresis
182lowercase ü 1256               # u with diaeresis
183lowercase ŧ 1256               # t with stroke
184lowercase ṥ 156                # Latin Letter S with Acute and Dot Above
185lowercase š 156                # Latin Letter S with Caron
186lowercase œ 346                # Latin Ligature Oe
187
188# Uppercase letters
189base uppercase \x00C9 \x00E9  # e with acute é x00C9 / 00E9
190base uppercase Α α  # alpha
191base uppercase Β β  # beta
192base uppercase Γ γ  # gamma
193base uppercase Δ δ  # delta
194base uppercase Ε ε  # epsilon
195base uppercase Ζ ζ  # zeta
196base uppercase Η η  # eta
197base uppercase Θ θ  # theta
198base uppercase Ι ι  # iota
199base uppercase Κ κ  # kappa
200base uppercase Λ λ  # lambda
201base uppercase Μ μ  # my
202base uppercase Ν ν  # ny
203base uppercase Ξ ξ  # ksi
204base uppercase Ο ο  # omikron
205base uppercase Π π  # pi
206base uppercase Ρ ρ  # rho
207base uppercase Σ ς  # sigma
208base uppercase Τ τ  # tau
209base uppercase Υ υ  # ypsilon
210base uppercase Φ φ  # fi
211base uppercase Χ χ  # khi
212base uppercase Ψ ψ  # psi
213base uppercase Ω ω  # omega
214base uppercase \x00C8 \x00E8  # e with grave è x00C8 / 00E8
215base uppercase \x00CA \x00EA  # e with circumflex x00CA / 00EA
216base uppercase \x010C \x010D  # c with caron x00CE / 00EE
217base uppercase \x00CF \x00EF  # i with diaeresis x00CF / 00EF
218base uppercase \x00D4 \x00F4  # o with circumflex ô x00D4 / 00F4
219base uppercase \x00CD \x00ED  # i with acute x00CD / 00ED
220base uppercase \x00C6 \x00E6  # æ x00C6 / 00E6
221base uppercase Å å  # A with ring above x00C5 / 00E5
222base uppercase \x00C1 \x00E1  # a with acute x00C1 / 00E1
223base uppercase Ø ø  # o with stroke
224base uppercase \x00DA \x00FA  # u with acute x00DA / 00FA
225base uppercase \x00DD \x00FD  # y with acute x00FD
226base uppercase \x00C0 \x00E0  # a with grave x00C0 / 00E0
227base uppercase \x00C2 \x00E2  # a with circumflex x00C2 / 00E2
228base uppercase Ä ä  # A with diaeresis x00C4 / 00E4
229base uppercase \x00C7 \x00E7  # c with cedilla ç x00C7 / 00E7
230base uppercase \x00D5 \x00F5  # o with tilde x00D5 / 00F5
231base uppercase Ö ö  # O with diaeresis x00D6 / 00F6
232base uppercase \x00D2 \x00F2  # O with grave ò
233base uppercase \x017D \x017E  # z with caron
234base uppercase \x01EA \x01EB  # o with ogonek
235base uppercase Đ đ  # d with stroke
236base uppercase Ð ð  # Eth
237base uppercase Ŋ ŋ  # Eng
238base uppercase Þ þ  # Thorn
239base uppercase Ü ü  # u with diaeresis
240base uppercase Ŧ ŧ  # t with stroke
241base uppercase Ṥ ṥ  # Latin Letter S with Acute and Dot Above
242base uppercase Š š  # Latin Letter S with Caron
243base uppercase Œ œ  # Latin Ligature Oe
244
245math + 235                   # plus x002B
246math / 34 solidus            # x002F
247math < 246-3                 # less-than sign x003C
248math = 2356                  # equal sign x003D
249math > 135-2                 # greater-than sign x003E
250math × 3                     # multiplication sign x00D7
251math ÷ 25                    # division sign x00F7
252math √ 146                   # root sign
253
254# 8.3 Fractions and mixed numbers
255math ½ 3456-1-34-3456-12      # vulgar fraction 1/2 (x00BD)
256math ¼ 3456-1-34-3456-145     # vulgar fraction 1/4 (x00BC)
257math ¾ 3456-14-34-3456-145    # vulgar fraction 3/4 (x00BE)
258math ⅓ 3456-1-34-3456-14      # vulgar fraction 1/3 (x2153)
259math ⅔ 3456-12-34-3456-14     # vulgar fraction 2/3 (x2154)
260math ⅒ 3456-1-34-3456-1-245   # vulgar fraction 1/10 (x2152)
261math ⅕ 3456-1-34-3456-15      # vulgar fraction 1/5 (x2155)
262math ⅖ 3456-12-34-3456-15     # vulgar fraction 2/5 (x2156)
263math ⅗ 3456-14-34-3456-15     # vulgar fraction 3/5 (x2157)
264math ⅘ 3456-145-34-3456-15    # vulgar fraction 4/5 (x2158)
265math ⅙ 3456-1-34-3456-124     # vulgar fraction 1/6 (x2159)
266math ⅚ 3456-15-34-3456-124    # vulgar fraction 5/6 (x215a)
267math ⅐ 3456-1-34-3456-1245    # vulgar fraction 1/7 (x2150)
268math ⅛ 3456-1-34-3456-125     # vulgar fraction 1/8 (x215b)
269math ⅜ 3456-14-34-3456-125    # vulgar fraction 3/8 (x215c)
270math ⅝ 3456-15-34-3456-125    # vulgar fraction 5/8 (x215d)
271math ⅞ 3456-1245-34-3456-125  # vulgar fraction 7/8 (x215e)
272math ⅑ 3456-1-34-3456-24      # vulgar fraction 1/9 (x2151)
273math ↉ 3456-245-34-3456-14    # vulgar fraction 0/3 (x2189)
274
275lowercase \x00F3 1456         # DEC 243 ó
276lowercase \x00F4 4-135        # DEC 244 ô
277
278undefined 0                   # sign used for undefined characters
279
280# no space within mixed numbers like 1 1/2
281# the swapcd rule is for compensating that the litdigit rule is not matched anymore
282swapcd aslitdigit 1234567890 1,12,14,145,15,124,1245,125,24,245 # as defined in litdigits6Dots.uti
283noback context [%aslitdigit$s.]$d."/"$d %aslitdigit
284
285# arrows
286sign → 25-5 # rightwards arrow x2192
287sign ← 5-25 # leftwards arrow x2190
288
289# Diacritic characters
290
291include no-no-latinLetterDef6Dots_diacritics.uti
292