// $Id$ To get a gzb keyboard layout in Firefox with Transliterator: - Install Transliterator: https://addons.mozilla.org/firefox/addon/883 - Add a custom transliteration mapping: http://www.benya.com/transliterator/#Custom_Transliteration_Mappings - For this, you will need the following three options. Either add them to "about:config", or edit "prefs.js" while Firefox is closed. - Note that the last option ("case_sensitive") needs to be a boolean option! The other two are string options (the default). - Once you've set up the transliteration, go to "Tools | Transliterator options" and select "gjâ-zym-byn" from the drop-down list. - Now, any time you'd like to type gzb, press F2 while in a textbox or a textarea. You can also transliterate and de-transliterate entire blocks of text that are already present; see the documentation ( http://www.benya.com/transliterator/ ) for details. - This mapping follows the script "gzb-ascii-unicode.awk" dated 2008-03-05. Tweak it if it's not quite to your liking (for example, I've seen r with comma below instead of r with acute for "rx"). Another shortcoming of this layout compared to the AWK script: I think I can only match prefixes. So it's not possible to say that, say, "qua" will always be literal "qua" and that the "q" will not be a "diacritic" in this string, since I'd have to specify that for all possible letters in front of the "q" (so, theoretically, "cqua, equa, hqua, iqua, ..., tqua, zqua"). extensions.transliterator.layouts.gzb = [["ax","â"], ["cq","č"], ["cx","ĉ"], ["dx","ð"], ["eq","ě"], ["fx","₣"], ["gx","ĝ"], ["hq","ħ"], ["hx","ĥ"], ["iq","ĭ"], ["ix","î"], ["jq","ʝ"], ["jx","ĵ"], ["kq","Ќ"], ["kx","ķ"], ["lq","Ł"], ["mq","ɱ"], ["nq","ň"], ["nx","ŋ"], ["ox","ô"], ["oq","ǒ"], ["px","Φ"], ["pq","ƥ"], ["rx","ŕ"], ["rq","ř"], ["sq","š"], ["sx","ŝ"], ["tq","ť"], ["tx","θ"], ["ux","ŭ"], ["vx","ƴ"], ["zq","ž"], ["zx","ź"], ["ffix","ffix"], ["efix","efix"], ["ixe","ixe"], ["ixi","ixi"], ["axi","axi"], ["syntax","syntax"], ["pobox","pobox"], ["txt","txt"], ["oxe","oxe"], ["oxi","oxi"], ["oxy","oxy"], ["uxi","uxi"], ["uxu","uxu"], ["anxi","anxi"], ["equi","equi"], ["equa","equa"]] extensions.transliterator.layouts.gzb.description = gjâ-zym-byn extensions.transliterator.layouts.gzb.case_sensitive = true