diff --git a/tables/afr-za-g1.ctb b/tables/afr-za-g1.ctb new file mode 100644 index 0000000000..72d7596de7 --- /dev/null +++ b/tables/afr-za-g1.ctb @@ -0,0 +1,346 @@ +#afr#1#Afrikaans Uncontracted#za#Afrikaans ongekontrakteerde + +# liblouis: Afrikaans Braille Code (Grade 1) +# +#Based on English UEB Grade 1 +#Modified by Greg Kearney +#Used to display symbols, Unicode chars and other symbols used throughout uEB code. +# +# This file is free software; you can redistribute it and/or modify it +# under the terms of the Lesser or Library GNU General Public License +# as published by the +# Free Software Foundation; either version 3, or (at your option) any +# later version. +# +# This file 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 +# Library GNU General Public License for more details. +# +# You should have received a copy of the Library GNU General Public +# License along with this program; see the file COPYING. If not, write +# to +# the Free Software Foundation, 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# Maintained by John J. Boyer john.boyer@jjb-software.com + +include en-ueb-chardefs.uti UEB specific char defs. + +# Braille indicators +numsign 3456 number sign, just a dots operand +letsign 56 +noletsignafter . +noletsignafter ' +capsign 6 +begcaps 6-6 +endcaps 6-3 + +# Typeforms (rulebook 9) +firstwordital 46-2345 # Start of italicized passage. +lastworditalbefore 46-3 +lenitalphrase 3 # Defines italicized passage length. +singleletterital 46-23 +firstwordbold 45-2345 # Boldface passage. +lastwordboldbefore 45-3 +lenboldphrase 3 +singleletterbold 45-23 +firstwordunder 456-2345 # Underlined passage. +lastwordunderbefore 456-3 +singleletterunder 456-23 +lenunderphrase 3 +# Todo: add singlewordital, singlewordbold, singlewordunder and possible ones for scripts and transcriber typeforms. +# For singleword forms, check if and only if one word has this typeform. + +# literary forms of the decimal digits +include litdigits6Dots.uti + +# Letters are defined in en-ueb-chardefs.uti + +# punctuation +prepunc ( 5-126 +word ( 5-126 +always ( 5-126 +postpunc ) 5-345 +word ) 5-345 +always ) 5-345 +prepunc " 236 +postpunc " 356 +word " 5-236 +prepunc ` 56-6-356 +prepunc ' 3 +postpunc ' 3 +word ' 3 +endword s' 234-3 +word 'em = +word 'tis = +word 'twas = +begnum # 456-1456 print number sign before number +midnum , 2 +postpunc , 2 +word , 2 +decpoint . 256 +midword . 256 +midnum - 36 +hyphen - 36 +always \s--\s 36-36 +always \s-\s 36 +midnum \x00ad 36 +postpunc . 256 +word . 256 +postpunc ; 23 +word ; 23 +midnum : 25 +postpunc : 25 +always : 25 +postpunc ! 235 +always ! 235 +midnum / 456-34 +always / 456-34 +always // 456-34-456-34 +always < 4-126 +always = 5-2356 +always > 4-345 +always + 5-235 +postpunc ? 236 +word ? 56-236 +endnum st 34 +endnum nd 1345-145 +endnum rd 1235-145 +endnum 's 3-234 +endnum th 1456 +endnum 's 3-234 +always % 46-356 +midnum ^ 4-26 +always ^ 4-26 +always ~ 4-35 +always & 4-12346 +midnum * 5-35 +always * 5-35 +prepunc [ 46-126 +word [ 46-126 +always [ 46-126 +postpunc ] 46-345 +word ] 46-345 +always ] 46-345 +prepunc { 456-126 +word { 456-126 +always { 456-126 +postpunc } 456-345 +word } 456-345 +always } 456-345 +always @ 4-1 +always \\ 456-16 +always | 456-1256 +always \s-\s 36 +always ..." 256-256-256-356 +always ... 256-256-256 +always ...' 256-256-256-3 +repeated .... 0 +repeated ____ 46-36 +repeated ---- 36 +always .\s.\s." 256-256-256-356 +always .\s.\s. 256-256-256 . . . +begnum $ 4-234 +nofor begnum $ 256-3456 +always $ 4-234 +# Note for self, John, Mesar or Ken: Investigate dollar sign usage based on context. + +#UEB and Unicode: +# Symbols (Rulebook Appendix B): +# Grouped them according to types of symbols. +#Unicode series 1: Greek and Latin alphabets. +#Unicode series 2: General punctuation for documents and formatting. +#Unicode series 3: world currencies. +#Unicode series 4: symbols used in geometry, set theory and calculus. +#Unicode series 5: superscripts and subscripts, electron shells and bonding and other chemistry symbols, engineering and advanced mathematical operators +#Unicode series 6: Symbols used by transcribers. +#Unicode series 7: Misc items, such as shapes, typeforms and fractional parts. + +#Unicode series 1: Greek and Latin scripts +# Organized according to increasing hex values. Uplow opcode was used since these have uppercase and lowercase forms. +# Greek: +uplow Αα 46-1 Alpha +uplow Ββ 46-12 Beta +uplow Γγ 46-1245 Gamma +uplow Δδ 46-145 Delta +uplow Εε 46-15 Epsilon +uplow Ζζ 46-1356 Zeta +uplow Ηη 46-156 Eta +uplow Θθ 46-1456 Theta +uplow Ιι 46-24 Iota +uplow Κκ 46-13 Kappa +uplow Λλ 46-123 Lamda +uplow Μμ 46-134 Mu +uplow Νν 46-1345 Nu +uplow Ξξ 46-1346 Xi +uplow Οο 46-135 Omicron +uplow Ππ 46-1234 Pi +uplow Ρρ 46-1235 Rho +uplow Σσ 46-234 Sigma +uplow Ττ 46-2345 Tau +uplow Υυ 46-136 Upsilon +uplow Φφ 46-124 Phi +uplow Χχ 46-12346 Chi +uplow Ψψ 46-13456 Psi +uplow Ωω 46-2456 Omega + +#Ȝ +#Þ +#Ð +#Ƿ +#Ŋ + + +#Unicode series 2: General punctuation used in literary, documentation and formatting (3.8). +#These mostly concerns documents, such as daggers, bullets and so forth. +#Most were declared in en-ueb-chardefs.uti. G1 declares some specialist symbols. +sign † 4-6-1456 Dagger +sign ‡ 4-6-12456 Double dagger +sign • 456-256 Bullet + + +#Unicode series 3: World currencies (3) +#Currency signs except dollar, which has been declared above (in increasing Unicode value). +#Use sign opcode for now. +sign ¢ 4-13 Cents +sign € 4-15 Euro +sign ₣ 4-124 Franc +always £ 4-123 Pound (use always, as pound has been declared somewhere) +sign ₦ 4-1345 Naira +sign ¥ 4-13456 Yen + + +# Unicode series 4: mathematical operators (Rule 11) +# Organized by subject area with increasing Unicode value. +# Algebras, geometry and other elemental symbols: +# Superscripts and subscripts (11.4): +sign ⁰ 35-3456-245 Superscript 0 +# And others - try using a combination of classes and swap. +# Exponents and roots: +sign √ 5-146 Square root +# algebra and other applications: +sign − 5-36 Minus sign (not hyphen) +sign ∘ 5-356 Hollow dot (ring operator) +sign ⋅ 5-256 Multiplication dot (sometimes associated with calculus) +# Geometry (11, 14): +sign ° 45-245 Degrees sign +sign ∠ 456-246 Angle +sign ∡ 46-456-246 Measured angle +sign ∥ 3456-456 Parallel to +sign ∷ 25-25 Proportion +sign ≑ 46-5-2356 Geometrically equal +sign ⊥ 3456-36 Perpendicular +sign ⊾ 3456-456-246 Right arcc angle +# Calculus, vectors, matrices and other symbols (11): +sign ′ 2356 Prime (derivative) +sign ″ 2356-2356 Double prime (second derivative) +sign ∂ 4-145 Partial derivative (curly D) +sign ∇ 45-145 Nabla +sign ∞ 3456-123456 Infinity +sign ∫ 2346 Integral +sign ∮ 4-2346 Closed line integral +# Set theory and other advanced symbols: +sign ∀ 45-1 For all (inverted A) +sign ∃ 45-26 There exists +sign ∅ 4-245 Null set +sign ∈ 45-15 Is an element of +sign ∋ 4-45-15 Contains as an element +sign ∓ 456-36 Minus-or-plus +sign ∝ 456-5-2356 Is proportional to +sign ∧ 4-236 Logical and +sign ∨ 4-235 Logical or +sign ∩ 46-236 set intersection +sign ∪ 46-235 Set union +sign ∴ 6-16 Therefore +sign ∵ 4-34 Because (since) +sign ≃ 456-35 Approximately equal to +sign ≅ 5-456-35 Forces (approximately) +sign ≈ 45-35 Approximately equal to +sign ≏ 45-5-2356 Difference between +sign ≡ 456-123456 Equivalent to +sign ≤ 456-4-126 Less than or equal to +sign ≥ 456-4-345 Greater than or equal to +sign ≪ 46-4-126 Much less than +sign ≫ 46-4-345 Much greater than +sign ⊂ 45-126 Is a subset of +sign ⊃ 45-345 Is a superset of +sign ⊆ 456-45-126 Contained in or equal to +sign ⊇ 456-45-345 Contains or equal to +sign ⊊ 46-45-126 Proper subset +sign ⊋ 46-45-345 Proper superset +sign ⊣ 4-456-25 Reverse assertion +sign ⊦ 456-25 Assertion (is a theorem) +sign ⊨ 45-456-25 Is valid (true) +sign ⊲ 4-456-126 Is a normal subgroup of +sign ⊳ 4-456-345 Is not a normal subgroup of +sign ⊴ 456-456-126 Is normal subgroup or equal +sign ⊵ 456-456-345 Is not normal subgroup or equal + + +# Unicode series 5: chemistry, engineering and advanced mathematics +# Organized by fields with increasing Unicode value. +# Chemistry: +# Engineering: +# Programming and other symbols: + + +# Unicode series 6: Transcriber's notes and symbols + + +# Unicode series 7: miscellaneous symbols +# Symbols which doesn't fit any categories above, including arrows, shapes and others. +# Organized by Unicode values. + +# special character sequences + +context "\e"$a * +noback always \\_ 56 letter sign before Roman page numbers +pass2 @56-56 @56 +pass2 @3-56 @3 + +# Afrikaans specific +#sign \x0302 45 COMBINING CIRCUMFLEX ACCENT +#sign \x0308 56 COMBINING DIAERESIS +#sign \x0301 4 COMBINING ACUTE ACCENT + +uplow Áá 4-1 +uplow Àà 45-16-1 +#uplow Ââ 45-1 +#uplow Ää 56-1 + +uplow Éé 4-15 +uplow Èè 45-16-15 +uplow Êê 45-15 +uplow Ëë 56-15 + +uplow Íí 4-24 +uplow Ïï 56-24 +uplow Îî 45-24 + +uplow Óó 4-135 +uplow Ôô 45-135 +uplow Öö 56-135 + +uplow Úú 4-136 +uplow Ûû 45-136 +uplow Üü 56-136 + +uplow Ýý 4-13456 + + + + + + + + + + + + + + + + + diff --git a/tables/chr-us-g1.ctb b/tables/chr-us-g1.ctb new file mode 100644 index 0000000000..bff447fb94 --- /dev/null +++ b/tables/chr-us-g1.ctb @@ -0,0 +1,153 @@ +#chr##1#Cherokee Uncontracted# +# liblouis: Cherokee Braille Table +# +# Copyright (C) 2014, maintained by Greg Kearney, gkearney@gmail.com +# +# liblouis comes with ABSOLUTELY NO WARRANTY. +# +# This is free software, placed under the terms of the +# GNU General Public License, as published by the Free Software +# Foundation. Please see the file COPYING for details. +# + +include chardefs.cti + +#include text_nabcc.dis All display opcodes + +include ukchardefs.cti All character definition opcodes +include UEBC-g1.utb + +# letsign 456 ink letter sign + +# The Vowels + +letter \x13A0 1 CHEROKEE LETTER A +letter \x13A1 15 CHEROKEE LETTER E +letter \x13A2 24 CHEROKEE LETTER I +letter \x13A3 135 CHEROKEE LETTER O +letter \x13A4 136 CHEROKEE LETTER U +letter \x13A5 1236 CHEROKEE LETTER V + +# The Consonants +# G + +letter \x13A6 1245-1 CHEROKEE LETTER GA +letter \x13A7 13-1 CHEROKEE LETTER KA +letter \x13A8 1245-15 CHEROKEE LETTER GE +letter \x13A9 1245-24 CHEROKEE LETTER GI +letter \x13AA 1245-135 CHEROKEE LETTER GO +letter \x13AB 1245-136 CHEROKEE LETTER GU +letter \x13AC 1245-1236 CHEROKEE LETTER GV + +# H + +letter \x13AD 125-1 CHEROKEE LETTER HA +letter \x13AE 125-15 CHEROKEE LETTER HE +letter \x13AF 125-24 CHEROKEE LETTER HI +letter \x13B0 125-135 CHEROKEE LETTER HO +letter \x13B1 125-136 CHEROKEE LETTER HU +letter \x13B2 125-1236 CHEROKEE LETTER HV + +# L + +letter \x13B3 123-1 CHEROKEE LETTER LA +letter \x13B4 123-15 CHEROKEE LETTER LE +letter \x13B5 123-24 CHEROKEE LETTER LI +letter \x13B6 123-135 CHEROKEE LETTER LO +letter \x13B7 123-136 CHEROKEE LETTER LU +letter \x13B8 123-1236 CHEROKEE LETTER LV + +# M + +letter \x13B9 134-1 CHEROKEE LETTER MA +letter \x13BA 134-15 CHEROKEE LETTER ME +letter \x13BB 134-24 CHEROKEE LETTER MI +letter \x13BC 134-135 CHEROKEE LETTER MO +letter \x13BD 134-136 CHEROKEE LETTER MU +# SPACE RESERVED FOR CHEROKEE LETTER MV + +# N + +letter \x13BE 1345-1 CHEROKEE LETTER NA +letter \x13BF 12-1 CHEROKEE LETTER HNA +letter \x13C0 14-1 CHEROKEE LETTER NAH +letter \x13C1 1345-15 CHEROKEE LETTER NE +letter \x13C2 1345-24 CHEROKEE LETTER NI +letter \x13C3 1345-135 CHEROKEE LETTER NO +letter \x13C4 1345-136 CHEROKEE LETTER NU +letter \x13C5 1236-136 CHEROKEE LETTER NV + +# Q + +letter \x13C6 12345-1 CHEROKEE LETTER QA +letter \x13C7 12345-15 CHEROKEE LETTER QE +letter \x13C8 12345-24 CHEROKEE LETTER QI +letter \x13C9 12345-135 CHEROKEE LETTER QO +letter \x13CA 12345-136 CHEROKEE LETTER QU +letter \x13CB 12345-1236 CHEROKEE LETTER QV + +# S + +letter \x13CD 234 CHEROKEE LETTER S +letter \x13CC 234-1 CHEROKEE LETTER SA +letter \x13CE 234-15 CHEROKEE LETTER SE +letter \x13CF 234-24 CHEROKEE LETTER SI +letter \x13D0 234-135 CHEROKEE LETTER SO +letter \x13D1 234-136 CHEROKEE LETTER SU +letter \x13D2 234-1236 CHEROKEE LETTER SV + +# D T + +letter \x13D3 145 1 CHEROKEE LETTER DA +letter \x13D4 2345-1 CHEROKEE LETTER SA +letter \x13D5 145 15 CHEROKEE LETTER DE +letter \x13D6 2345-15 CHEROKEE LETTER SE +letter \x13D7 145-24 CHEROKEE LETTER DI +letter \x13D8 2345-24 CHEROKEE LETTER SI + +letter \x13D9 145-135 CHEROKEE LETTER DO +letter \x13DA 145-136 CHEROKEE LETTER DU +letter \x13DB 145-1236 CHEROKEE LETTER DV + +# R F + +letter \x13DC 234-1 CHEROKEE LETTER DLA +letter \x13DD 1235-1 CHEROKEE LETTER TLA +letter \x13DE 1235-15 CHEROKEE LETTER TLE +letter \x13DF 1235-24 CHEROKEE LETTER TLI +letter \x13E0 1235-135 CHEROKEE LETTER TLO +letter \x13E1 1235-136 CHEROKEE LETTER TLU +letter \x13E2 1235-1236 CHEROKEE LETTER TLV + + +# Z + +letter \x13E3 1356-1 CHEROKEE LETTER TSA +letter \x13E4 1356-15 CHEROKEE LETTER TSE +letter \x13E5 1356-24 CHEROKEE LETTER TSI +letter \x13E6 1356-135 CHEROKEE LETTER TSO +letter \x13E7 1356-136 CHEROKEE LETTER TSU +letter \x13E8 1356-1236 CHEROKEE LETTER TSV + +# W + +letter \x13E9 2456-1 CHEROKEE LETTER WA +letter \x13EA 2456-15 CHEROKEE LETTER WE +letter \x13EB 2456-24 CHEROKEE LETTER WI +letter \x13EC 2456-135 CHEROKEE LETTER WO +letter \x13ED 2456-136 CHEROKEE LETTER WU +letter \x13EE 2456-1236 CHEROKEE LETTER WV + +# Y + +letter \x13EF 13456-1 CHEROKEE LETTER YA +letter \x13F0 13456-15 CHEROKEE LETTER YE +letter \x13F1 13456-24 CHEROKEE LETTER YI +letter \x13F2 13456-135 CHEROKEE LETTER YO +letter \x13F3 13456-136 CHEROKEE LETTER YU +letter \x13F4 13456-1236 CHEROKEE LETTER YV + +letter \x0323 5 COMBINING DOT BELOW +letter \x0331 156 COMBINING MACRON BELOW +letter \x0324 56 COMBINING DIAERESIS BELOW +letter \x0330 12456 COMBINING TILDE BELOW diff --git a/tables/haw-us-g1.ctb b/tables/haw-us-g1.ctb new file mode 100644 index 0000000000..7b60259aeb --- /dev/null +++ b/tables/haw-us-g1.ctb @@ -0,0 +1,24 @@ +#haw#1#Hawaiian Uncontracted +# liblouis: Hawaiian Braille Table +# +# Copyright (C) 2014, maintained by Greg Kearney, gkearney@gmail.com +# +# liblouis comes with ABSOLUTELY NO WARRANTY. +# +# This is free software, placed under the terms of the +# GNU General Public License, as published by the Free Software +# Foundation. Please see the file COPYING for details. +# + +include chardefs.cti + +#include text_nabcc.dis All display opcodes + +include ukchardefs.cti All character definition opcodes +include UEBC-g1.utb + +uplow Āā 456-1 +uplow Ēē 456-15 +uplow Īī 456-24 +uplow Ōō 456-135 +uplow Ūū 456-136 diff --git a/tables/moa-nz-g1.ctb b/tables/moa-nz-g1.ctb new file mode 100644 index 0000000000..1eb8235a30 --- /dev/null +++ b/tables/moa-nz-g1.ctb @@ -0,0 +1,29 @@ +#mao#1#Maori Uncontracted# +# liblouis: Cherokee Braille Table +# +# Copyright (C) 2014, maintained by Greg Kearney, gkearney@gmail.com +# +# liblouis comes with ABSOLUTELY NO WARRANTY. +# +# This is free software, placed under the terms of the +# GNU General Public License, as published by the Free Software +# Foundation. Please see the file COPYING for details. +# + +include chardefs.cti + +#include text_nabcc.dis All display opcodes + +include ukchardefs.cti All character definition opcodes +include en-ueb-g1.ctb + +# Maori specific + +always ng 1345-1245 +always wh 156 +uplow Āā 456-1 +uplow Ēē 456-15 +uplow Īī 456-24 +uplow Ōō 456-135 +uplow Ūū 456-136 + diff --git a/tables/sot-za-g1.ctb b/tables/sot-za-g1.ctb new file mode 100644 index 0000000000..6fc9e39748 --- /dev/null +++ b/tables/sot-za-g1.ctb @@ -0,0 +1,323 @@ +#sot#1#Sotho Uncontracted#za# +# liblouis: Afrikaans Braille Code (Grade 1) +# +#Based on English UEB Grade 1 +#Modified by Greg Kearney +#Used to display symbols, Unicode chars and other symbols used throughout uEB code. +# +# This file is free software; you can redistribute it and/or modify it +# under the terms of the Lesser or Library GNU General Public License +# as published by the +# Free Software Foundation; either version 3, or (at your option) any +# later version. +# +# This file 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 +# Library GNU General Public License for more details. +# +# You should have received a copy of the Library GNU General Public +# License along with this program; see the file COPYING. If not, write +# to +# the Free Software Foundation, 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# Maintained by John J. Boyer john.boyer@jjb-software.com + +include en-ueb-chardefs.uti UEB specific char defs. + +# Braille indicators +numsign 3456 number sign, just a dots operand +letsign 56 +noletsignafter . +noletsignafter ' +capsign 6 +begcaps 6-6 +endcaps 6-3 + +# Typeforms (rulebook 9) +firstwordital 46-2345 # Start of italicized passage. +lastworditalbefore 46-3 +lenitalphrase 3 # Defines italicized passage length. +singleletterital 46-23 +firstwordbold 45-2345 # Boldface passage. +lastwordboldbefore 45-3 +lenboldphrase 3 +singleletterbold 45-23 +firstwordunder 456-2345 # Underlined passage. +lastwordunderbefore 456-3 +singleletterunder 456-23 +lenunderphrase 3 +# Todo: add singlewordital, singlewordbold, singlewordunder and possible ones for scripts and transcriber typeforms. +# For singleword forms, check if and only if one word has this typeform. + +# literary forms of the decimal digits +include litdigits6Dots.uti + +# Letters are defined in en-ueb-chardefs.uti + +# punctuation +prepunc ( 5-126 +word ( 5-126 +always ( 5-126 +postpunc ) 5-345 +word ) 5-345 +always ) 5-345 +prepunc " 236 +postpunc " 356 +word " 5-236 +prepunc ` 56-6-356 +prepunc ' 3 +postpunc ' 3 +word ' 3 +endword s' 234-3 +word 'em = +word 'tis = +word 'twas = +begnum # 456-1456 print number sign before number +midnum , 2 +postpunc , 2 +word , 2 +decpoint . 256 +midword . 256 +midnum - 36 +hyphen - 36 +always \s--\s 36-36 +always \s-\s 36 +midnum \x00ad 36 +postpunc . 256 +word . 256 +postpunc ; 23 +word ; 23 +midnum : 25 +postpunc : 25 +always : 25 +postpunc ! 235 +always ! 235 +midnum / 456-34 +always / 456-34 +always // 456-34-456-34 +always < 4-126 +always = 5-2356 +always > 4-345 +always + 5-235 +postpunc ? 236 +word ? 56-236 +endnum st 34 +endnum nd 1345-145 +endnum rd 1235-145 +endnum 's 3-234 +endnum th 1456 +endnum 's 3-234 +always % 46-356 +midnum ^ 4-26 +always ^ 4-26 +always ~ 4-35 +always & 4-12346 +midnum * 5-35 +always * 5-35 +prepunc [ 46-126 +word [ 46-126 +always [ 46-126 +postpunc ] 46-345 +word ] 46-345 +always ] 46-345 +prepunc { 456-126 +word { 456-126 +always { 456-126 +postpunc } 456-345 +word } 456-345 +always } 456-345 +always @ 4-1 +always \\ 456-16 +always | 456-1256 +always \s-\s 36 +always ..." 256-256-256-356 +always ... 256-256-256 +always ...' 256-256-256-3 +repeated .... 0 +repeated ____ 46-36 +repeated ---- 36 +always .\s.\s." 256-256-256-356 +always .\s.\s. 256-256-256 . . . +begnum $ 4-234 +nofor begnum $ 256-3456 +always $ 4-234 +# Note for self, John, Mesar or Ken: Investigate dollar sign usage based on context. + +#UEB and Unicode: +# Symbols (Rulebook Appendix B): +# Grouped them according to types of symbols. +#Unicode series 1: Greek and Latin alphabets. +#Unicode series 2: General punctuation for documents and formatting. +#Unicode series 3: world currencies. +#Unicode series 4: symbols used in geometry, set theory and calculus. +#Unicode series 5: superscripts and subscripts, electron shells and bonding and other chemistry symbols, engineering and advanced mathematical operators +#Unicode series 6: Symbols used by transcribers. +#Unicode series 7: Misc items, such as shapes, typeforms and fractional parts. + +#Unicode series 1: Greek and Latin scripts +# Organized according to increasing hex values. Uplow opcode was used since these have uppercase and lowercase forms. +# Greek: +uplow Αα 46-1 Alpha +uplow Ββ 46-12 Beta +uplow Γγ 46-1245 Gamma +uplow Δδ 46-145 Delta +uplow Εε 46-15 Epsilon +uplow Ζζ 46-1356 Zeta +uplow Ηη 46-156 Eta +uplow Θθ 46-1456 Theta +uplow Ιι 46-24 Iota +uplow Κκ 46-13 Kappa +uplow Λλ 46-123 Lamda +uplow Μμ 46-134 Mu +uplow Νν 46-1345 Nu +uplow Ξξ 46-1346 Xi +uplow Οο 46-135 Omicron +uplow Ππ 46-1234 Pi +uplow Ρρ 46-1235 Rho +uplow Σσ 46-234 Sigma +uplow Ττ 46-2345 Tau +uplow Υυ 46-136 Upsilon +uplow Φφ 46-124 Phi +uplow Χχ 46-12346 Chi +uplow Ψψ 46-13456 Psi +uplow Ωω 46-2456 Omega + +#Ȝ +#Þ +#Ð +#Ƿ +#Ŋ + + +#Unicode series 2: General punctuation used in literary, documentation and formatting (3.8). +#These mostly concerns documents, such as daggers, bullets and so forth. +#Most were declared in en-ueb-chardefs.uti. G1 declares some specialist symbols. +sign † 4-6-1456 Dagger +sign ‡ 4-6-12456 Double dagger +sign • 456-256 Bullet + + +#Unicode series 3: World currencies (3) +#Currency signs except dollar, which has been declared above (in increasing Unicode value). +#Use sign opcode for now. +sign ¢ 4-13 Cents +sign € 4-15 Euro +sign ₣ 4-124 Franc +always £ 4-123 Pound (use always, as pound has been declared somewhere) +sign ₦ 4-1345 Naira +sign ¥ 4-13456 Yen + + +# Unicode series 4: mathematical operators (Rule 11) +# Organized by subject area with increasing Unicode value. +# Algebras, geometry and other elemental symbols: +# Superscripts and subscripts (11.4): +sign ⁰ 35-3456-245 Superscript 0 +# And others - try using a combination of classes and swap. +# Exponents and roots: +sign √ 5-146 Square root +# algebra and other applications: +sign − 5-36 Minus sign (not hyphen) +sign ∘ 5-356 Hollow dot (ring operator) +sign ⋅ 5-256 Multiplication dot (sometimes associated with calculus) +# Geometry (11, 14): +sign ° 45-245 Degrees sign +sign ∠ 456-246 Angle +sign ∡ 46-456-246 Measured angle +sign ∥ 3456-456 Parallel to +sign ∷ 25-25 Proportion +sign ≑ 46-5-2356 Geometrically equal +sign ⊥ 3456-36 Perpendicular +sign ⊾ 3456-456-246 Right arcc angle +# Calculus, vectors, matrices and other symbols (11): +sign ′ 2356 Prime (derivative) +sign ″ 2356-2356 Double prime (second derivative) +sign ∂ 4-145 Partial derivative (curly D) +sign ∇ 45-145 Nabla +sign ∞ 3456-123456 Infinity +sign ∫ 2346 Integral +sign ∮ 4-2346 Closed line integral +# Set theory and other advanced symbols: +sign ∀ 45-1 For all (inverted A) +sign ∃ 45-26 There exists +sign ∅ 4-245 Null set +sign ∈ 45-15 Is an element of +sign ∋ 4-45-15 Contains as an element +sign ∓ 456-36 Minus-or-plus +sign ∝ 456-5-2356 Is proportional to +sign ∧ 4-236 Logical and +sign ∨ 4-235 Logical or +sign ∩ 46-236 set intersection +sign ∪ 46-235 Set union +sign ∴ 6-16 Therefore +sign ∵ 4-34 Because (since) +sign ≃ 456-35 Approximately equal to +sign ≅ 5-456-35 Forces (approximately) +sign ≈ 45-35 Approximately equal to +sign ≏ 45-5-2356 Difference between +sign ≡ 456-123456 Equivalent to +sign ≤ 456-4-126 Less than or equal to +sign ≥ 456-4-345 Greater than or equal to +sign ≪ 46-4-126 Much less than +sign ≫ 46-4-345 Much greater than +sign ⊂ 45-126 Is a subset of +sign ⊃ 45-345 Is a superset of +sign ⊆ 456-45-126 Contained in or equal to +sign ⊇ 456-45-345 Contains or equal to +sign ⊊ 46-45-126 Proper subset +sign ⊋ 46-45-345 Proper superset +sign ⊣ 4-456-25 Reverse assertion +sign ⊦ 456-25 Assertion (is a theorem) +sign ⊨ 45-456-25 Is valid (true) +sign ⊲ 4-456-126 Is a normal subgroup of +sign ⊳ 4-456-345 Is not a normal subgroup of +sign ⊴ 456-456-126 Is normal subgroup or equal +sign ⊵ 456-456-345 Is not normal subgroup or equal + + +# Unicode series 5: chemistry, engineering and advanced mathematics +# Organized by fields with increasing Unicode value. +# Chemistry: +# Engineering: +# Programming and other symbols: + + +# Unicode series 6: Transcriber's notes and symbols + + +# Unicode series 7: miscellaneous symbols +# Symbols which doesn't fit any categories above, including arrows, shapes and others. +# Organized by Unicode values. + +# special character sequences + +context "\e"$a * +noback always \\_ 56 letter sign before Roman page numbers +pass2 @56-56 @56 +pass2 @3-56 @3 + +# Sotho specific + +uplow Êê 45-15 +uplow Òò 45-135 +uplow Šš 4-234 + + + + + + + + + + + + + + + + + + diff --git a/tables/tsn-za-g1.ctb b/tables/tsn-za-g1.ctb new file mode 100644 index 0000000000..115c3253f5 --- /dev/null +++ b/tables/tsn-za-g1.ctb @@ -0,0 +1,323 @@ +#tsn#1#Tswana Uncontracted#za# +# liblouis: Afrikaans Braille Code (Grade 1) +# +#Based on English UEB Grade 1 +#Modified by Greg Kearney +#Used to display symbols, Unicode chars and other symbols used throughout uEB code. +# +# This file is free software; you can redistribute it and/or modify it +# under the terms of the Lesser or Library GNU General Public License +# as published by the +# Free Software Foundation; either version 3, or (at your option) any +# later version. +# +# This file 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 +# Library GNU General Public License for more details. +# +# You should have received a copy of the Library GNU General Public +# License along with this program; see the file COPYING. If not, write +# to +# the Free Software Foundation, 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# Maintained by John J. Boyer john.boyer@jjb-software.com + +include en-ueb-chardefs.uti UEB specific char defs. + +# Braille indicators +numsign 3456 number sign, just a dots operand +letsign 56 +noletsignafter . +noletsignafter ' +capsign 6 +begcaps 6-6 +endcaps 6-3 + +# Typeforms (rulebook 9) +firstwordital 46-2345 # Start of italicized passage. +lastworditalbefore 46-3 +lenitalphrase 3 # Defines italicized passage length. +singleletterital 46-23 +firstwordbold 45-2345 # Boldface passage. +lastwordboldbefore 45-3 +lenboldphrase 3 +singleletterbold 45-23 +firstwordunder 456-2345 # Underlined passage. +lastwordunderbefore 456-3 +singleletterunder 456-23 +lenunderphrase 3 +# Todo: add singlewordital, singlewordbold, singlewordunder and possible ones for scripts and transcriber typeforms. +# For singleword forms, check if and only if one word has this typeform. + +# literary forms of the decimal digits +include litdigits6Dots.uti + +# Letters are defined in en-ueb-chardefs.uti + +# punctuation +prepunc ( 5-126 +word ( 5-126 +always ( 5-126 +postpunc ) 5-345 +word ) 5-345 +always ) 5-345 +prepunc " 236 +postpunc " 356 +word " 5-236 +prepunc ` 56-6-356 +prepunc ' 3 +postpunc ' 3 +word ' 3 +endword s' 234-3 +word 'em = +word 'tis = +word 'twas = +begnum # 456-1456 print number sign before number +midnum , 2 +postpunc , 2 +word , 2 +decpoint . 256 +midword . 256 +midnum - 36 +hyphen - 36 +always \s--\s 36-36 +always \s-\s 36 +midnum \x00ad 36 +postpunc . 256 +word . 256 +postpunc ; 23 +word ; 23 +midnum : 25 +postpunc : 25 +always : 25 +postpunc ! 235 +always ! 235 +midnum / 456-34 +always / 456-34 +always // 456-34-456-34 +always < 4-126 +always = 5-2356 +always > 4-345 +always + 5-235 +postpunc ? 236 +word ? 56-236 +endnum st 34 +endnum nd 1345-145 +endnum rd 1235-145 +endnum 's 3-234 +endnum th 1456 +endnum 's 3-234 +always % 46-356 +midnum ^ 4-26 +always ^ 4-26 +always ~ 4-35 +always & 4-12346 +midnum * 5-35 +always * 5-35 +prepunc [ 46-126 +word [ 46-126 +always [ 46-126 +postpunc ] 46-345 +word ] 46-345 +always ] 46-345 +prepunc { 456-126 +word { 456-126 +always { 456-126 +postpunc } 456-345 +word } 456-345 +always } 456-345 +always @ 4-1 +always \\ 456-16 +always | 456-1256 +always \s-\s 36 +always ..." 256-256-256-356 +always ... 256-256-256 +always ...' 256-256-256-3 +repeated .... 0 +repeated ____ 46-36 +repeated ---- 36 +always .\s.\s." 256-256-256-356 +always .\s.\s. 256-256-256 . . . +begnum $ 4-234 +nofor begnum $ 256-3456 +always $ 4-234 +# Note for self, John, Mesar or Ken: Investigate dollar sign usage based on context. + +#UEB and Unicode: +# Symbols (Rulebook Appendix B): +# Grouped them according to types of symbols. +#Unicode series 1: Greek and Latin alphabets. +#Unicode series 2: General punctuation for documents and formatting. +#Unicode series 3: world currencies. +#Unicode series 4: symbols used in geometry, set theory and calculus. +#Unicode series 5: superscripts and subscripts, electron shells and bonding and other chemistry symbols, engineering and advanced mathematical operators +#Unicode series 6: Symbols used by transcribers. +#Unicode series 7: Misc items, such as shapes, typeforms and fractional parts. + +#Unicode series 1: Greek and Latin scripts +# Organized according to increasing hex values. Uplow opcode was used since these have uppercase and lowercase forms. +# Greek: +uplow Αα 46-1 Alpha +uplow Ββ 46-12 Beta +uplow Γγ 46-1245 Gamma +uplow Δδ 46-145 Delta +uplow Εε 46-15 Epsilon +uplow Ζζ 46-1356 Zeta +uplow Ηη 46-156 Eta +uplow Θθ 46-1456 Theta +uplow Ιι 46-24 Iota +uplow Κκ 46-13 Kappa +uplow Λλ 46-123 Lamda +uplow Μμ 46-134 Mu +uplow Νν 46-1345 Nu +uplow Ξξ 46-1346 Xi +uplow Οο 46-135 Omicron +uplow Ππ 46-1234 Pi +uplow Ρρ 46-1235 Rho +uplow Σσ 46-234 Sigma +uplow Ττ 46-2345 Tau +uplow Υυ 46-136 Upsilon +uplow Φφ 46-124 Phi +uplow Χχ 46-12346 Chi +uplow Ψψ 46-13456 Psi +uplow Ωω 46-2456 Omega + +#Ȝ +#Þ +#Ð +#Ƿ +#Ŋ + + +#Unicode series 2: General punctuation used in literary, documentation and formatting (3.8). +#These mostly concerns documents, such as daggers, bullets and so forth. +#Most were declared in en-ueb-chardefs.uti. G1 declares some specialist symbols. +sign † 4-6-1456 Dagger +sign ‡ 4-6-12456 Double dagger +sign • 456-256 Bullet + + +#Unicode series 3: World currencies (3) +#Currency signs except dollar, which has been declared above (in increasing Unicode value). +#Use sign opcode for now. +sign ¢ 4-13 Cents +sign € 4-15 Euro +sign ₣ 4-124 Franc +always £ 4-123 Pound (use always, as pound has been declared somewhere) +sign ₦ 4-1345 Naira +sign ¥ 4-13456 Yen + + +# Unicode series 4: mathematical operators (Rule 11) +# Organized by subject area with increasing Unicode value. +# Algebras, geometry and other elemental symbols: +# Superscripts and subscripts (11.4): +sign ⁰ 35-3456-245 Superscript 0 +# And others - try using a combination of classes and swap. +# Exponents and roots: +sign √ 5-146 Square root +# algebra and other applications: +sign − 5-36 Minus sign (not hyphen) +sign ∘ 5-356 Hollow dot (ring operator) +sign ⋅ 5-256 Multiplication dot (sometimes associated with calculus) +# Geometry (11, 14): +sign ° 45-245 Degrees sign +sign ∠ 456-246 Angle +sign ∡ 46-456-246 Measured angle +sign ∥ 3456-456 Parallel to +sign ∷ 25-25 Proportion +sign ≑ 46-5-2356 Geometrically equal +sign ⊥ 3456-36 Perpendicular +sign ⊾ 3456-456-246 Right arcc angle +# Calculus, vectors, matrices and other symbols (11): +sign ′ 2356 Prime (derivative) +sign ″ 2356-2356 Double prime (second derivative) +sign ∂ 4-145 Partial derivative (curly D) +sign ∇ 45-145 Nabla +sign ∞ 3456-123456 Infinity +sign ∫ 2346 Integral +sign ∮ 4-2346 Closed line integral +# Set theory and other advanced symbols: +sign ∀ 45-1 For all (inverted A) +sign ∃ 45-26 There exists +sign ∅ 4-245 Null set +sign ∈ 45-15 Is an element of +sign ∋ 4-45-15 Contains as an element +sign ∓ 456-36 Minus-or-plus +sign ∝ 456-5-2356 Is proportional to +sign ∧ 4-236 Logical and +sign ∨ 4-235 Logical or +sign ∩ 46-236 set intersection +sign ∪ 46-235 Set union +sign ∴ 6-16 Therefore +sign ∵ 4-34 Because (since) +sign ≃ 456-35 Approximately equal to +sign ≅ 5-456-35 Forces (approximately) +sign ≈ 45-35 Approximately equal to +sign ≏ 45-5-2356 Difference between +sign ≡ 456-123456 Equivalent to +sign ≤ 456-4-126 Less than or equal to +sign ≥ 456-4-345 Greater than or equal to +sign ≪ 46-4-126 Much less than +sign ≫ 46-4-345 Much greater than +sign ⊂ 45-126 Is a subset of +sign ⊃ 45-345 Is a superset of +sign ⊆ 456-45-126 Contained in or equal to +sign ⊇ 456-45-345 Contains or equal to +sign ⊊ 46-45-126 Proper subset +sign ⊋ 46-45-345 Proper superset +sign ⊣ 4-456-25 Reverse assertion +sign ⊦ 456-25 Assertion (is a theorem) +sign ⊨ 45-456-25 Is valid (true) +sign ⊲ 4-456-126 Is a normal subgroup of +sign ⊳ 4-456-345 Is not a normal subgroup of +sign ⊴ 456-456-126 Is normal subgroup or equal +sign ⊵ 456-456-345 Is not normal subgroup or equal + + +# Unicode series 5: chemistry, engineering and advanced mathematics +# Organized by fields with increasing Unicode value. +# Chemistry: +# Engineering: +# Programming and other symbols: + + +# Unicode series 6: Transcriber's notes and symbols + + +# Unicode series 7: miscellaneous symbols +# Symbols which doesn't fit any categories above, including arrows, shapes and others. +# Organized by Unicode values. + +# special character sequences + +context "\e"$a * +noback always \\_ 56 letter sign before Roman page numbers +pass2 @56-56 @56 +pass2 @3-56 @3 + +# Tswana specific + +uplow Êê 45-15 +uplow Ȏô 45-135 +uplow Šš 4-234 + + + + + + + + + + + + + + + + + +