On 11 Июнь 2002 17:41, Jean-Marc Lasgouttes wrote: > >>>>> "Andrew" == Andrew Zabolotny <[EMAIL PROTECTED]> writes: > > Andrew> Hello! I would like to tell you that Cyrillic languages do not > Andrew> work with the 1.2.0 release. However, the needed fixes are > Andrew> quite small, so I will attach them to this letter. > > Hello Andrew, and thanks for the fixes. First, I'd like to point out > that we received before 1.2.0 release another set of fixes from Vitaly > Lipatov and that it would probably be nice to merge them together. > http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg37713.html
I think Andrew's patches is better than I sent you before release. I should like to remember about follow patches: - insetquotes.patch for correctly draw << quotes >> - languages.patch adds support for kazakh and belarusian languages Files attached. ... > > Andrew> - Third, I've added two files cyrkeys.bind and greekkeys.bind > Andrew> which list the Cyrillic and Greek symbols from > Andrew> include/X11/xksymdef.h as "self-insert". > > This is a part that I would like to see merged with Vitaly's patch/ Andrew, please pay attention at cyrillic.bind I attached. Please write me directly you minds about it (in russian :)) -- Lav Виталий Липатов ФГУП "ЦНИИ Судовой Электротехники и Технологии", Санкт-Петербург GNU! ALT Linux! LaTeX! LyX!
--- languages.orig Sun May 5 17:50:04 2002 +++ lib/languages Sun May 5 17:50:44 2002 @@ -4,6 +4,7 @@ arabic arabic "Arabic" true iso8859-6 ar_SA "" austrian austrian "Austrian" false iso8859-1 de_AU "" bahasa bahasa "Bahasa" false iso8859-1 in_ID "" +belarusian belarusian "Belarusian" false cp1251 be "" basque basque "Basque" false iso8859-1 eu_ES "" brazil brazil "Portuguese (Brazil)" false iso8859-1 pt_BR "" breton breton "Breton" false iso8859-1 br_FR "" @@ -33,6 +34,7 @@ #hungarian hungarian "Hungarian" false iso8859-2 "" "" irish irish "Irish" false iso8859-1 ga_IE "" italian italian "Italian" false iso8859-1 it "" +kazakh kazakh "Kazakh" false pt154 kk "" lsorbian lsorbian "Lsorbian" false iso8859-2 "" "" # no ISO listing for lsorbian (Garst) magyar magyar "Magyar" false iso8859-2 hu "" --- encodings.orig Sun May 5 17:52:50 2002 +++ lib/encodings Sun May 5 17:53:11 2002 @@ -346,3 +346,30 @@ 0e50 0e51 0e52 0e53 0e54 0e55 0e56 0e57 0e58 0e59 0e5a 0e5b 00fc 00fd 00fe 00ff End + +Encoding pt154 pt154 + 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f + 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f + 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f + 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f + 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f + 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f + 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f + 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f + 0496 0492 201a 0493 201e 2026 2020 04ae + 04b2 04af 04a0 2039 04a2 049a 04ba 04b8 + 0497 2018 2019 201c 201d 2022 2013 2014 + 04b3 2122 04a1 203a 04a3 049b 04bb 04b9 + 00a0 040e 045e 0408 04e8 0498 04b0 00a7 + 0401 00a9 04d8 00ab 00ac 00ad 00ae 049c + 00b0 04b1 0406 0456 0499 04e9 00b6 00b7 + 0451 2116 04d9 00bb 0458 04aa 04ab 049d + 0410 0411 0412 0413 0414 0415 0416 0417 + 0418 0419 041a 041b 041c 041d 041e 041f + 0420 0421 0422 0423 0424 0425 0426 0427 + 0428 0429 042a 042b 042c 042d 042e 042f + 0430 0431 0432 0433 0434 0435 0436 0437 + 0438 0439 043a 043b 043c 043d 043e 043f + 0440 0441 0442 0443 0444 0445 0446 0447 + 0448 0449 044a 044b 044c 044d 044e 044f +End --- FormDocument.C.orig Sun May 5 17:41:32 2002 +++ src/frontends/xforms/FormDocument.C Sun May 5 17:42:00 2002 @@ -240,7 +240,7 @@ language_.reset(build_doc_language()); fl_addto_choice(language_->choice_inputenc, "default|auto|latin1|latin2|latin3|latin4|latin5|latin9" - "|koi8-r|koi8-u|cp866|cp1251|iso88595"); + "|koi8-r|koi8-u|cp866|cp1251|iso88595|pt154"); vector<frnt::LanguagePair> const langs = frnt::getLanguageData(false); // Store the identifiers for later
--- insetquotes.C.orig Sun May 5 17:30:08 2002 +++ src/insets/insetquotes.C Sun May 5 17:30:12 2002 @@ -232,7 +232,12 @@ { string const text = dispString(font.language()); - bv->painter().text(int(x), baseline, text, font); + if (text.length() == 2 && text[0] == text[1]) { + bv->painter().text(int(x), baseline, text[0], font); + int x2 = int(x + lyxfont::width(',', font)); + bv->painter().text(x2, baseline, text[0], font); + } else + bv->painter().text(int(x), baseline, text, font); x += width(bv, font); }
cyrillic.bind.bz2
Description: BZip2 compressed data