#
#  Copyright (C) 2011 by Peter Engström <peter.engstrom@indexbraille.com>
#  Copyright (C) 2011 by Monk Jeremiah, Manastir Decani <visokidecani@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 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/>.
#
# -----------------------------------------------------------------------------
#
# 	SERBIAN
#	=======
# 	Authors:	Peter Engström, Index Braille <peter.engstrom@indexbraille.com>
#				Monk Jeremiah, Manastir Decani <visokidecani@gmail.com>
#
# 	Date: 		Note:
#	2011-03-28	Initial release
#	2011-04-04	Added more signs.
#	2015-08-28	Additions and fixes by Zvonimir Stanecic
#
#---------------------------------------------------------------------------------------

space \x00a0 a
include spaces.uti

#--------------------- ALL CHARS DEFINITIONS -------------------------------------------

punctuation ! 235					# EXCLAMATION MARK
punctuation • 3					# BULET
sign + 235							# PLUS SIGN
midnum + 235						# PLUS SIGN
punctuation ? 26					# QUESTION MARK
punctuation . 256					# FULL STOP
sign \x2026 3-3-3					# HORIZONTAL ELLIPSIS
punctuation , 2						# COMMA
punctuation ;	23					# SEMICOLON
punctuation : 25					# COLON
punctuation ­ 36
punctuation - 36					# HYPHEN-MINUS
punctuation ' 3	  					# APOSTROPHE
punctuation *	35					# ASTERISK
sign / 34							# SOLIDUS
sign \\ 16							# REVERSE SOLIDUS
punctuation ( 2356					# LEFT PARENTESIS
punctuation ) 2356					# RIGHT PARENTESIS
punctuation " 2356					# QUOTATION MARK
punctuation ” 356					# RIGHT QUOTATION MARK
punctuation – 36					# EM DASH
punctuation \x201E 236				# DOUBLE LOW-9 QUOTATION MARK
punctuation \x201C 356				# LEFT DOUBLE QUOTATION MARK




sign # 3456							# NUMBER SIGN
sign $ 256							# DOLLAR SIGN
sign & 4-12346						# AMPERSAND
sign < 5-246						# LESS-THAN SIGN
sign = 2356							# EQUAL SIGN
sign > 135-2						# GREATER-THAN SIGN
sign @ 345							# COMMERCIAL AT
punctuation [ 2356-3				# LEFT SQUARE BRACKET
punctuation ] 6-2356				# RIGHT SQUARE BRACKET
sign ^ 56							# CIRCUMFLEX ACCENT
sign _ 6-36							# LOW LINE (UNDERSCORE)
sign ` 4							# GRAVE ACCENT
punctuation { 2356-23				# LEFT CURLY BRACKET
sign | 4-123						# VERTICAL LINE
punctuation } 56-2356				# RIGHT CURLY BRACKET
sign ~ 56							# TILDE
sign € 26							# EURO
sign \x00A2 4						# CENT SIGN
sign \x00A3 6-123					# POUND SIGN
sign \x00A4 2356-1236-2356			# CURRENCY SIGN
sign \x00A7 346						# PARAGRAPH SIGN
sign \x00A9 12356-14-23456			# COPYRIGHT
punctuation \x00AB 2346-14-3		# LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
sign \x00B0 356						# DEGREE SIGN
sign % 3456-245-356					# PERCENT SIGN
sign \x2030	3456-245-356-356		# PER MILL SIGN
sign \x00B2 34-23					# SUPERSCRIPT 2 SIGN
sign \x00B3 34-25					# SUPERSCRIPT 3 SIGN
sign \x00B9 34-2					# SUPERSCRIPT 1 SIGN
punctuation \x00BB 6-2356-2356		# RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
sign \x00BC 3456-1-1256-145			# VULGAR FRACTION ONE QUARTER
sign \x00BD 3456-1-1256-12			# VULGAR FRACTION ONE HALF
sign \x00BE 3456-14-1256-145		# VULGAR FRACTION 3 QUARTERS
math \x00D7 56-36 					# MULTIPLICATION SIGN
math \x00F7 1256 					# DIVISION SIGN

#------------- NOT ASSIGNED ---------------------------------- 
#sign \x00A5 45-13456					# YEN SIGN
#sign \x00B4 1256						# ACUTE ACCENT
#sign \x00B5 46-134						# µ MICRO SIGN
#sign \x00B6 4-1234-345					# ¶ PILCROW SIGN
#uplow	\x00D3 \x00F3 346				# LATIN CAPITAL LETTER O WITH ACUTE


include latinLetterDef6Dots.uti

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

lowercase \x010D 16				# LATIN LETTER C WITH CARON
lowercase \x0107 146				# LATIN LETTER C WITH ACUTE
lowercase \x0111 1456				# LATIN LETTER D WITH STROKE
lowercase \x0161 156				# LATIN LETTER S WITH CARON
lowercase \x017E 2346				# LATIN LETTER Z WITH CARON
lowercase \x009E 2346				# LATIN LETTER Z WITH CARON (ASCII)


#uplow \x00C0 \x00E0 				# LATIN LETTER A WITH GRAVE
#uplow \x00C8 \x00E8 				# LATIN LETTER E WITH GRAVE
#uplow \x00C9 \x00E9 				# LATIN LETTER E WITH ACUTE
#uplow \x00CC \x00EC 				# LATIN LETTER I WITH GRAVE
#uplow \x00D2 \x00F2 				# LATIN LETTER O WITH GRAVE
#uplow \x00DA \x00FA 				# LATIN LETTER U WITH ACUTE


#-------- SERBIAN CYRILLIC LETTERS -----------------------------------------------------


lowercase \x0430 1				# CYRILLIC LETTER A
lowercase \x0431 12				# CYRILLIC LETTER BE
lowercase \x0446 14				# CYRILLIC LETTER TSE
lowercase \x0447 16				# CYRILLIC LETTER CHE
lowercase \x045B 146				# CYRILLIC LETTER TSHE
lowercase \x0434 145				# CYRILLIC LETTER DE
lowercase \x045F 12456			# CYRILLIC LETTER DZHE
lowercase \x0452 1456				# CYRILLIC LETTER DJE
lowercase \x0435 15				# CYRILLIC LETTER IE
lowercase \x0444 124				# CYRILLIC LETTER EF
lowercase \x0433 1245				# CYRILLIC LETTER GHE
lowercase \x0445 125				# CYRILLIC LETTER HA
lowercase \x0438 24				# CYRILLIC LETTER I
lowercase \x0458 245				# CYRILLIC LETTER JE
lowercase \x043A 13				# CYRILLIC LETTER KA
lowercase \x043B 123				# CYRILLIC LETTER EL
lowercase \x0459 126				# CYRILLIC LETTER LJE
lowercase \x043C 134				# CYRILLIC LETTER EM
lowercase \x043D 1345				# CYRILLIC LETTER EN
lowercase \x045A 1246				# CYRILLIC LETTER NJE
lowercase \x043E 135				# CYRILLIC LETTER O
lowercase \x043F 1234				# CYRILLIC LETTER PE
lowercase \x0440 1235				# CYRILLIC LETTER ER
lowercase \x0441 234				# CYRILLIC LETTER ES
lowercase \x0448 156				# CYRILLIC LETTER SHA
lowercase \x0442 2345				# CYRILLIC LETTER TE
lowercase \x0443 136				# CYRILLIC LETTER U
lowercase \x0432 1236				# CYRILLIC LETTER VE
lowercase \x0437 1356				# CYRILLIC LETTER ZE
lowercase \x0436 2346				# CYRILLIC LETTER ZHE


#uplow \x0419 \x0439 12346			# CYRILLIC LETTER SHORT I
#uplow \x0429 \x0449 1346			# CYRILLIC LETTER SHCHA
#uplow \x042A \x044A 12356			# CYRILLIC LETTER HARD SIGN
#uplow \x042B \x044B 2346			# CYRILLIC LETTER YERU
#uplow \x042C \x044C 23456			# CYRILLIC LETTER SOFT SIGN
#uplow \x042D \x044D 246				# CYRILLIC LETTER E
#uplow \x042E \x044E 1256			# CYRILLIC LETTER YU
#uplow \x042F \x044F 1246 			# CYRILLIC LETTER YA
#uplow \x0401 \x0451 16 				# CYRILLIC LETTER IO

#---------------------------------------------------------------------------------------

# Uppercase letters
base uppercase \x010C \x010D		# LATIN LETTER C WITH CARON
base uppercase \x0106 \x0107		# LATIN LETTER C WITH ACUTE
base uppercase \x0110 \x0111		# LATIN LETTER D WITH STROKE
base uppercase \x0160 \x0161		# LATIN LETTER S WITH CARON
base uppercase \x017D \x017E		# LATIN LETTER Z WITH CARON
base uppercase \x008E \x009E		# LATIN LETTER Z WITH CARON (ASCII)
base uppercase \x0410 \x0430		# CYRILLIC LETTER A
base uppercase \x0411 \x0431		# CYRILLIC LETTER BE
base uppercase \x0426 \x0446		# CYRILLIC LETTER TSE
base uppercase \x0427 \x0447		# CYRILLIC LETTER CHE
base uppercase \x040B \x045B		# CYRILLIC LETTER TSHE
base uppercase \x0414 \x0434		# CYRILLIC LETTER DE
base uppercase \x040F \x045F		# CYRILLIC LETTER DZHE
base uppercase \x0402 \x0452		# CYRILLIC LETTER DJE
base uppercase \x0415 \x0435		# CYRILLIC LETTER IE
base uppercase \x0424 \x0444		# CYRILLIC LETTER EF
base uppercase \x0413 \x0433		# CYRILLIC LETTER GHE
base uppercase \x0425 \x0445		# CYRILLIC LETTER HA
base uppercase \x0418 \x0438		# CYRILLIC LETTER I
base uppercase \x0408 \x0458		# CYRILLIC LETTER JE
base uppercase \x041A \x043A		# CYRILLIC LETTER KA
base uppercase \x041B \x043B		# CYRILLIC LETTER EL
base uppercase \x0409 \x0459		# CYRILLIC LETTER LJE
base uppercase \x041C \x043C		# CYRILLIC LETTER EM
base uppercase \x041D \x043D		# CYRILLIC LETTER EN
base uppercase \x040A \x045A		# CYRILLIC LETTER NJE
base uppercase \x041E \x043E		# CYRILLIC LETTER O
base uppercase \x041F \x043F		# CYRILLIC LETTER PE
base uppercase \x0420 \x0440		# CYRILLIC LETTER ER
base uppercase \x0421 \x0441		# CYRILLIC LETTER ES
base uppercase \x0428 \x0448		# CYRILLIC LETTER SHA
base uppercase \x0422 \x0442		# CYRILLIC LETTER TE
base uppercase \x0423 \x0443		# CYRILLIC LETTER U
base uppercase \x0412 \x0432		# CYRILLIC LETTER VE
base uppercase \x0417 \x0437		# CYRILLIC LETTER ZE
base uppercase \x0416 \x0436		# CYRILLIC LETTER ZHE
