From 6a7ae2b3018ac434a5b15abdbb9bd15f9266927a Mon Sep 17 00:00:00 2001 From: Alexey Ten Date: Sat, 10 Jan 2009 13:32:31 +0300 Subject: [PATCH] Options for typographic layout --- rules/base.l1o_s.part | 2 + rules/base.l2o_s.part | 2 + rules/base.l3o_s.part | 2 + rules/base.l4o_s.part | 2 + rules/base.lists.part | 22 ++++++++++++ rules/base.lo_s.part | 2 + rules/base.xml.in | 18 +++++++++ symbols/Makefile.am | 2 +- symbols/typo | 92 +++++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 143 insertions(+), 1 deletions(-) create mode 100644 symbols/typo diff --git a/rules/base.l1o_s.part b/rules/base.l1o_s.part index 5544d53..0df4515 100644 --- a/rules/base.l1o_s.part +++ b/rules/base.l1o_s.part @@ -1 +1,3 @@ $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):1 + $alllayouts typo:birman = +typo(birman):1 + $alllayouts typo:birman2 = +typo(birman2):1 diff --git a/rules/base.l2o_s.part b/rules/base.l2o_s.part index 3ffd6a8..558d788 100644 --- a/rules/base.l2o_s.part +++ b/rules/base.l2o_s.part @@ -1 +1,3 @@ $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):2 + $alllayouts typo:birman = +typo(birman):2 + $alllayouts typo:birman2 = +typo(birman2):2 diff --git a/rules/base.l3o_s.part b/rules/base.l3o_s.part index aa327eb..dce3ccd 100644 --- a/rules/base.l3o_s.part +++ b/rules/base.l3o_s.part @@ -1 +1,3 @@ $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):3 + $alllayouts typo:birman = +typo(birman):3 + $alllayouts typo:birman2 = +typo(birman2):3 diff --git a/rules/base.l4o_s.part b/rules/base.l4o_s.part index 7968250..90afed7 100644 --- a/rules/base.l4o_s.part +++ b/rules/base.l4o_s.part @@ -1 +1,3 @@ $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):4 + $alllayouts typo:birman = +typo(birman):4 + $alllayouts typo:birman2 = +typo(birman2):4 diff --git a/rules/base.lists.part b/rules/base.lists.part index e1897b1..53886f6 100644 --- a/rules/base.lists.part +++ b/rules/base.lists.part @@ -87,3 +87,25 @@ vn \ za +// ALL layouts +! $alllayouts = ad af al am ara az \ + ba bd be bg br braille bt by \ + ca cd ch cn cs cz \ + de dk \ + ee epo es et \ + fi fo fr \ + gb ge gh gn gr \ + hr hu \ + ie il in iq ir is it \ + jp \ + kg kh kr kz \ + la latam lk lt lv \ + ma mao me mk mm mn mt mv \ + ng nl no np \ + pk pl pt \ + ro rs ru \ + se si sk sy \ + th tj tr \ + ua us uz \ + vn \ + za diff --git a/rules/base.lo_s.part b/rules/base.lo_s.part index c491f07..d07bf94 100644 --- a/rules/base.lo_s.part +++ b/rules/base.lo_s.part @@ -1 +1,3 @@ $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle) + $alllayouts typo:birman = +typo(birman) + $alllayouts typo:birman2 = +typo(birman2) diff --git a/rules/base.xml.in b/rules/base.xml.in index 1170f40..7b8254b 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -4746,6 +4746,24 @@ + + + typo + <_description>Adding typographic layout + + + + diff --git a/symbols/Makefile.am b/symbols/Makefile.am index 371d1aa..e65ff62 100644 --- a/symbols/Makefile.am +++ b/symbols/Makefile.am @@ -30,7 +30,7 @@ tj tr \ ua us uz vn \ za \ altwin capslock compose ctrl eurosign group inet \ -keypad kpdl level3 level5 nbsp olpc shift srvr_ctrl +keypad kpdl level3 level5 nbsp olpc shift srvr_ctrl typo dir_data = $(dist_symbols_DATA) diff --git a/symbols/typo b/symbols/typo new file mode 100644 index 0000000..4757a43 --- /dev/null +++ b/symbols/typo @@ -0,0 +1,92 @@ +// $XKeyboardConfig$ + +// Two typographic layouts from Ilya Birman +// ported and slightly modified by Alexey Ten (Lynn) + +partial +xkb_symbols "birman" { + key { [ NoSymbol, NoSymbol, acute, approxeq ] }; + key { [ NoSymbol, NoSymbol, onesuperior ] }; + key { [ NoSymbol, NoSymbol, twosuperior ] }; + key { [ NoSymbol, NoSymbol, threesuperior ] }; + key { [ NoSymbol, NoSymbol, section ] }; + key { [ NoSymbol, NoSymbol, U2030 ] }; // PER MILLE SIGN + key { [ NoSymbol, NoSymbol, emdash, hyphen ] }; + key { [ NoSymbol, NoSymbol, notequal, plusminus ] }; + + key { [ NoSymbol, NoSymbol, NoSymbol, onequarter ] }; + key { [ NoSymbol, NoSymbol, EuroSign, oneeighth ] }; + key { [ NoSymbol, NoSymbol, registered ] }; + key { [ NoSymbol, NoSymbol, trademark, onethird ] }; + key { [ NoSymbol, NoSymbol, degree ] }; + key { [ NoSymbol, NoSymbol, minutes, seconds ] }; + key { [ NoSymbol, NoSymbol, U2039 ] }; // SINGLE LEFT-POINTING ANGLE QUOTATION MARK + key { [ NoSymbol, NoSymbol, U203A ] }; // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + key { [ NoSymbol, NoSymbol, endash, enfilledcircbullet ] }; + + key { [ NoSymbol, NoSymbol, approxeq ] }; + key { [ NoSymbol, NoSymbol, section ] }; + key { [ NoSymbol, NoSymbol, degree ] }; + key { [ NoSymbol, NoSymbol, sterling ] }; + key { [ NoSymbol, NoSymbol, NoSymbol, onehalf ] }; + key { [ NoSymbol, NoSymbol, doublelowquotemark, singlelowquotemark ] }; + key { [ NoSymbol, NoSymbol, leftdoublequotemark, leftsinglequotemark ] }; + key { [ NoSymbol, NoSymbol, rightdoublequotemark, rightsinglequotemark ] }; + key { [ NoSymbol, NoSymbol, leftsinglequotemark, diaeresis ] }; + key { [ NoSymbol, NoSymbol, rightsinglequotemark, minutes ] }; + + key { [ NoSymbol, NoSymbol, multiply, periodcentered ] }; + key { [ NoSymbol, NoSymbol, copyright ] }; + key { [ NoSymbol, NoSymbol, guillemotleft, doublelowquotemark ] }; + key { [ NoSymbol, NoSymbol, guillemotright, leftdoublequotemark ] }; + key { [ NoSymbol, NoSymbol, ellipsis, U2215 ] }; // DIVISION SLASH +}; + +partial +xkb_symbols "birman2" { + key { [ NoSymbol, NoSymbol, acute, dead_grave ] }; + key { [ NoSymbol, NoSymbol, onesuperior ] }; + key { [ NoSymbol, NoSymbol, twosuperior, onehalf ] }; + key { [ NoSymbol, NoSymbol, threesuperior, onethird ] }; + key { [ NoSymbol, NoSymbol, dollar, onequarter ] }; + key { [ NoSymbol, NoSymbol, U2030 ] }; // PER MILLE SIGN + key { [ NoSymbol, NoSymbol, uparrow, dead_circumflex ] }; + key { [ NoSymbol, NoSymbol, ampersand ] }; + key { [ NoSymbol, NoSymbol, infinity, oneeighth ] }; + key { [ NoSymbol, NoSymbol, leftarrow, U2329 ] }; // LEFT-POINTING ANGLE BRACKET + key { [ NoSymbol, NoSymbol, rightarrow, U232A ] }; // RIGHT-POINTING ANGLE BRACKET + key { [ NoSymbol, NoSymbol, emdash, endash ] }; + key { [ NoSymbol, NoSymbol, notequal, plusminus ] }; + + key { [ NoSymbol, NoSymbol, NoSymbol, dead_breve ] }; + key { [ NoSymbol, NoSymbol, EuroSign ] }; + key { [ NoSymbol, NoSymbol, registered ] }; + key { [ NoSymbol, NoSymbol, trademark ] }; + key { [ NoSymbol, NoSymbol, U0463, U0462 ] }; // CYRILLIC SMALL/CAPITAL LETTER YAT + key { [ NoSymbol, NoSymbol, U0475, U0474 ] }; // CYRILLIC SMALL/CAPITAL LETTER IZHITSA + key { [ NoSymbol, NoSymbol, U0456, U0406 ] }; // CYRILLIC SMALL/CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I + key { [ NoSymbol, NoSymbol, U0473, U0472 ] }; // CYRILLIC SMALL/CAPITAL LETTER FITA + key { [ NoSymbol, NoSymbol, minutes, seconds ] }; + key { [ NoSymbol, NoSymbol, bracketleft, braceleft ] }; + key { [ NoSymbol, NoSymbol, bracketright, braceright ] }; + + key { [ NoSymbol, NoSymbol, approxeq, U2318 ] }; // PLACE OF INTEREST SIGN + key { [ NoSymbol, NoSymbol, section ] }; + key { [ NoSymbol, NoSymbol, degree ] }; + key { [ NoSymbol, NoSymbol, sterling ] }; + key { [ NoSymbol, NoSymbol, doublelowquotemark, singlelowquotemark ] }; + key { [ NoSymbol, NoSymbol, leftdoublequotemark, leftsinglequotemark ] }; + key { [ NoSymbol, NoSymbol, rightdoublequotemark, rightsinglequotemark ] }; + key { [ NoSymbol, NoSymbol, leftsinglequotemark, dead_diaeresis ] }; + key { [ NoSymbol, NoSymbol, rightsinglequotemark, dead_acute ] }; + + key { [ NoSymbol, NoSymbol, multiply, periodcentered ] }; + key { [ NoSymbol, NoSymbol, copyright, cent ] }; + key { [ NoSymbol, NoSymbol, downarrow, dead_caron ] }; + key { [ NoSymbol, NoSymbol, U2039 ] }; // SINGLE LEFT-POINTING ANGLE QUOTATION MARK + key { [ NoSymbol, NoSymbol, U203A, dead_tilde ] }; // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + key { [ NoSymbol, NoSymbol, U2212 ] }; // MINUS SIGN + key { [ NoSymbol, NoSymbol, guillemotleft, doublelowquotemark ] }; + key { [ NoSymbol, NoSymbol, guillemotright, leftdoublequotemark ] }; + key { [ NoSymbol, NoSymbol, ellipsis, enfilledcircbullet ] }; +}; -- 1.5.6.3