# liblouis: Portuguese Grade 1 Braille Table
#
# -----------
#-index-name: Portuguese, uncontracted
#-display-name: Portuguese uncontracted braille
#
#+language:pt
#+type:literary
#+contraction:no
#+grade:1
#+direction: both
#
# TODO: Please correct the metadata above. It is not meant to be
# accurate nor complete. It hasn't been verified by the table
# author yet. It is merely an attempt by the liblouis maintainers
# to get some sensible initial values in place.
#
# TODO: Please add a reference to official documentation about
# the implemented braille code. Preferably submit the documents
# to https://github.com/liblouis/braille-specs.
# -----------
#
#  Copyright (C) 2004-2008 ViewPlus Technologies, Inc. www.viewplus.com
#  Copyright (C) 2004-2006 JJB Software, Inc. www.jjb-software.com
#  Copyright (C) 2012 Mesar Hameed <mesar.hameed@gmail.com>
#
#  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 2.1 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/>.

# Created by Leon Ungier <Leon.Ungier@ViewPlus.com>.

space \x00a0 a
include spaces.uti
include text_nabcc.dis

#--------------------- All chars definitions ------------------------------

punctuation ! 235				exclamation mark	33
punctuation " 236				double quote			34
sign # 3456-13					number sign				35
sign $ 56								dollar						36						x0024
sign % 456-356					percent						37
sign & 5-12346						ampersand					38
punctuation ' 6					apostrophe				39
punctuation ( 126-3			left parenthesis  40
punctuation ) 6-345			right parenthesis	41
punctuation * 35				asterisk					42
math + 235							plus							43
punctuation , 2					coma							44
punctuation - 36				hyphen-minus			45
punctuation . 3					point							46
math / 6-2							solidus						47
punctuation : 25			colon					58		x003A
punctuation ;	23			semicolon			59		x003B
math < 5-246													60		x003C
math = 2356						equal sign		61		x003D
math > 5-135													62		x003E
punctuation ? 26										63		x003F
sign @ 156						commercial at	64		x0040

include latinLetterDef6Dots.uti 
include digits6Dots.uti # Must come after letters.
include litdigits6Dots.uti # Must come after letters.

punctuation [ 12356-3		left square bracket			x005B
sign \\ 5-3							reverse solidus					x005C
punctuation ] 6-23456		right square bracket		x005D
sign ^ 4							circumflex accent				x005E
sign _ 46-36						low line								x005F
sign ` 456-2346								grave accent						x0060

# a - z								# 97 - 122							x0061 - x007A

punctuation { 5-123		left curly bracket			x007B
sign | 456						vertical line						x007C
punctuation } 456-2		right curly bracket			x007D
sign ~ 5						tilde										x007E
sign \x0080 15-136-1235-135										x0080

sign ¢ 4-14						cent sign																	x00A2
sign £ 4-123					pound sign																x00A3
sign ¤ 45-15					currency sign															x00A4
sign ¥ 45-13456				yen	sign																	x00A5
sign § 234-234				paragraph	sign														x00A7
sign © 6-14-135-1234-13456-1235-24-1245-125-2345		copyright		x00A9
sign \x00AA 1					feminine ordinal indicator
punctuation « 6-236		left-pointing double quotation mark			x00AB
sign ° 356						degree sign																x00B0
sign ² 16-3456-12				superscript 2 sign												x00B2
sign ³ 16-3456-14				superscript 3 sign												x00B3
# sign \x00B4 35			acute accent
sign \x00B4 35					acute accent
sign \x00B5 46-134		# 181				µ micro sign									x00B5
sign \x00B6 5-346				#						¶ pilcrow sign								x00B6
sign ¹ 16-3456-1					superscript 1 sign												x00B9
sign \x00BA 135				masculine ordinal indicator
punctuation » 6-236		right-pointing double quotation mark		x00BB
sign ¼ 3456-2-145			vulgar fraction one quarter								x00BC
sign ½ 3456-2-12			vulgar fraction one half									x00BD
sign ¾ 3456-25-145		vulgar fraction 3 quarters				x00BE

lowercase \x00E0 1246			a with grave
lowercase á 12356							A with acute						00E1
lowercase â 16									a with circumflex				00E2
lowercase \x00E3 345			a with tilde
lowercase å 16									A with ring above				00C4
lowercase ä 345								A with diaeresis				00E4
lowercase ç 12346							letter c with cedilla		00E7
lowercase \x00E8 2346		e with grave è
lowercase \x00E9 123456		e with acute é
lowercase \x00EA 126			e with circumflex
lowercase \x00EC 146				i with grave
lowercase \x00ED 34				i with acute
lowercase \x00F2 2456			o with grave ò
lowercase \x00F3 346			o with acute ó
lowercase \x00F4 1456			o with circumflex ô
lowercase \x00F5 246			o with tilde
lowercase ö 246								O with diaeresis				00F6
lowercase \x00FA 23456		u with acute
lowercase \x00FC 1256			u with diaeresis

lowercase \x00F1 12456			n with tilde


math ÷ 256			division sign															x00F7
math × 236			multiplication sign												x00D7

# this is for compiler
lowercase \x0105 6			# a with ogonek
lowercase \x0119 3456		# the letter e with ogonek


punctuation	\x2010 36						# 8208			hyphen
punctuation	\x2011 36						# 8209			non-breaking hyphen
punctuation	\x2012 36												figure dash
math	\x2013 36						# 8211			en dash (smart minus sign)
punctuation	\x2013 36-36				# 8211			en dash (smart minus sign)
punctuation	\x2014 36-36										em dash
sign \x2015 4-14														horizontal bar
punctuation	\x2018 56-236						# 8216			smart single left quotation mark
punctuation	\x2019 56-236						# 8217			smart single right quotation mark
sign \x20AC 4-15														Euro sign				x0080
punctuation	\x201C 56-236					# 8220			smart opening double quote
punctuation	\x201D 56-236					# 8221			smart closing double quote
punctuation	\x201E 56-236					# 8222			smart double low quotation mark
punctuation	\x201F 56-236					# 8223			double high reverse quotation mark

sign \x2022 246-135											bullet
punctuation \x2026 35-26-35	# 8230	smart ellipsis
sign \x2030 456-356-356									per mile sign
sign \x2190	246-25											leftwards arrow
sign \x2192 25-135											rightwards arrow
sign \x2194 246-25-135									left right arrow
sign \x221a 1246-156	Square root
sign \x2260 45-2356											not equal to

# Uppercase letters
base uppercase \x00C0 \x00E0	a with grave
base uppercase Á á	A with acute						x00C1 / 00E1
base uppercase Â â	a with circumflex				x00C2 / 00E2
base uppercase \x00C3 \x00E3	a with tilde
base uppercase Å å	A with ring above				x00C5 / 00C4
base uppercase Ä ä	A with diaeresis				x00C4 / 00E4
base uppercase Ç ç	letter c with cedilla		x00C7 / 00E7
base uppercase \x00C8 \x00E8	e with grave è
base uppercase \x00C9 \x00E9	e with acute é
base uppercase \x00CA \x00EA	e with circumflex
base uppercase \x00CC \x00EC	i with grave
base uppercase \x00CD \x00ED	i with acute
base uppercase \x00D2 \x00F2	o with grave ò
base uppercase \x00D3 \x00F3	o with acute ó
base uppercase \x00D4 \x00F4	o with circumflex ô
base uppercase \x00D5 \x00F5	o with tilde
base uppercase Ö ö	O with diaeresis				x00D6 / 00F6
base uppercase \x00DA \x00FA	u with acute
base uppercase \x00DC \x00FC	u with diaeresis
base uppercase \x00D1 \x00F1	n with tilde
base uppercase \x0104 \x0105	# a with ogonek
base uppercase \x0118 \x0119	# the letter e with ogonek

#-------------- end defintions ------------------------------------------


capsletter 46
# capsword 46-46-136			# uncomment if you don't want capitalization
begcapsword 46-46

emphclass italic
emphclass underline
emphclass bold
begemph italic 35
begemph bold 35
begemph underline 35
endemph italic 35
endemph bold 35
endemph underline 35
begcomp 5-2
endcomp 5-2

begnum ( 126
endnum ) 345
begnum [ 12356
endnum ] 23456
endnum \x00AA 1
endnum \x00BA 135
numsign 3456
midnum , 2
midnum . 3
midnum + 235-3456
midnum - 36-3456
midnum / 6-2-3456
midnum : 25-3456

endnum # 56-3456

repeated ... 3-3-3		points de suite
repeated --- 36-36-36
noback repeated ___ 46-36

always \s--\s 36-36	tiret

