mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
serbo-croatian support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1682 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cb25ec231e
commit
b5ab33c92d
@ -1,3 +1,12 @@
|
||||
2001-03-06 Zvezdan Petkovic <zvezdan@cs.wm.edu>
|
||||
|
||||
* encodings: add support for iso8859-5 and cp1251.
|
||||
|
||||
* languages: add serbian and serbocroatian.
|
||||
|
||||
* kbd/serbian.kmap:
|
||||
* kbd/serbocroatian.kmap: new files.
|
||||
|
||||
2001-03-02 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* reLyX/configure.in: become --with-version-suffix
|
||||
|
@ -76,6 +76,32 @@ Encoding iso8859-4 latin4
|
||||
End
|
||||
|
||||
|
||||
Encoding iso8859-5 iso88595
|
||||
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
|
||||
80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
|
||||
90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
|
||||
00a0 0401 0402 0403 0404 0405 0406 0407
|
||||
0408 0409 040a 040b 040c 00ad 040e 040f
|
||||
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
|
||||
2116 0451 0452 0453 0454 0455 0456 0457
|
||||
0458 0459 045a 045b 045c 00a7 045e 045f
|
||||
End
|
||||
|
||||
|
||||
Encoding iso8859-6 unknown
|
||||
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
|
||||
@ -186,6 +212,34 @@ Encoding cp1255 cp1255
|
||||
End
|
||||
|
||||
|
||||
Encoding cp1251 cp1251
|
||||
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
|
||||
0402 0403 201a 0453 201e 2026 2020 2021
|
||||
20ac 2030 0409 2039 040a 040c 040b 040f
|
||||
0452 2018 2019 201c 201d 2022 2013 2014
|
||||
0098 2122 0459 203a 045a 045c 045b 045f
|
||||
00a0 040e 045e 0408 00a4 0490 00a6 00a7
|
||||
0401 00a9 0404 00ab 00ac 00ad 00ae 0407
|
||||
00b0 00b1 0406 0456 0491 00b5 00b6 00b7
|
||||
0451 2116 0454 00bb 0458 0405 0455 0457
|
||||
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
|
||||
|
||||
|
||||
Encoding koi8 koi8-r
|
||||
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
|
||||
|
85
lib/kbd/serbian.kmap
Normal file
85
lib/kbd/serbian.kmap
Normal file
@ -0,0 +1,85 @@
|
||||
#
|
||||
# Keyboard mapping for Serbian cyrillic keyboard (ISO8859-5 encoding)
|
||||
# Based on the standard JUS.I.K1.005
|
||||
#
|
||||
# (c)2001 by Zvezdan Petkovic <z.petkovic@computer.org>
|
||||
#
|
||||
|
||||
\kmap @ \"
|
||||
\kmap ^ &
|
||||
\kmap & /
|
||||
\kmap * (
|
||||
\kmap ( )
|
||||
\kmap ) =
|
||||
\kmap - '
|
||||
\kmap _ ?
|
||||
\kmap = +
|
||||
\kmap + *
|
||||
\kmap ` <
|
||||
\kmap ~ >
|
||||
\kmap q ù
|
||||
\kmap w ú
|
||||
\kmap e Õ
|
||||
\kmap r à
|
||||
\kmap t â
|
||||
\kmap y ×
|
||||
\kmap u ã
|
||||
\kmap i Ø
|
||||
\kmap o Þ
|
||||
\kmap p ß
|
||||
\kmap [ è
|
||||
\kmap ] ò
|
||||
\kmap \\ Ö
|
||||
\kmap a Ð
|
||||
\kmap s á
|
||||
\kmap d Ô
|
||||
\kmap f ä
|
||||
\kmap g Ó
|
||||
\kmap h å
|
||||
\kmap j ø
|
||||
\kmap k Ú
|
||||
\kmap l Û
|
||||
\kmap ; ç
|
||||
\kmap ' û
|
||||
\kmap z õ
|
||||
\kmap x ÿ
|
||||
\kmap c æ
|
||||
\kmap v Ò
|
||||
\kmap b Ñ
|
||||
\kmap n Ý
|
||||
\kmap m Ü
|
||||
\kmap / -
|
||||
\kmap Q ©
|
||||
\kmap W ª
|
||||
\kmap E µ
|
||||
\kmap R À
|
||||
\kmap T Â
|
||||
\kmap Y ·
|
||||
\kmap U Ã
|
||||
\kmap I ¸
|
||||
\kmap O ¾
|
||||
\kmap P ¿
|
||||
\kmap { È
|
||||
\kmap } ¢
|
||||
\kmap | ¶
|
||||
\kmap A °
|
||||
\kmap S Á
|
||||
\kmap D ´
|
||||
\kmap F Ä
|
||||
\kmap G ³
|
||||
\kmap H Å
|
||||
\kmap J ¨
|
||||
\kmap K º
|
||||
\kmap L »
|
||||
\kmap : Ç
|
||||
\kmap \" «
|
||||
\kmap Z ¥
|
||||
\kmap X ¯
|
||||
\kmap C Æ
|
||||
\kmap V ²
|
||||
\kmap B ±
|
||||
\kmap N ½
|
||||
\kmap M ¼
|
||||
\kmap < ;
|
||||
\kmap > :
|
||||
\kmap ? _
|
52
lib/kbd/serbocroatian.kmap
Normal file
52
lib/kbd/serbocroatian.kmap
Normal file
@ -0,0 +1,52 @@
|
||||
#
|
||||
# Keyboard mapping for Serbo-Croatian latin keyboard (ISO8859-2 encoding)
|
||||
# Based on the standard JUS.I.K1.002
|
||||
#
|
||||
# (c)2001 by Zvezdan Petkovic <z.petkovic@computer.org>
|
||||
#
|
||||
|
||||
\kmap @ \" # The characters above numbers are almost all remapped
|
||||
\kmap ^ &
|
||||
\kmap & /
|
||||
\kmap * (
|
||||
\kmap ( )
|
||||
\kmap ) =
|
||||
\kmap - '
|
||||
\kmap _ ?
|
||||
\kmap = +
|
||||
\kmap + *
|
||||
\kmap ` <
|
||||
\kmap ~ >
|
||||
\kmap y z # y and z are switched
|
||||
\kmap Y Z
|
||||
\kmap [ "\\v{s}" # s caron (pronunced sh)
|
||||
\kmap { "\\v{S}"
|
||||
\kmap ] "\\dh{}" # d stroke (pronunced dj, with j as in German, not as
|
||||
\kmap } "\\DH{}" # in English)
|
||||
# Well, this one is a no win situation. If I define it as \dj{} (as I
|
||||
# should), then LyX puts that string in the text being unable to find
|
||||
# the corresponding character or draw an accent over a character.
|
||||
# Unfortunately, LyX doesn't put it in TeX mode automatically and it
|
||||
# must be done by hand -- exactly what we want to avoid. Hence, I choose
|
||||
# to use \dh{} which is shown as ð in iso8859-1 encoding and as d stroke
|
||||
# (correct character) in iso8859-2 encoding. Since ð looks as a
|
||||
# handwritten d stroke character (and capital Ð is exactly the same),
|
||||
# screen approximation is satisfying.
|
||||
# The only problem is if somebody runs this through LaTeX without using
|
||||
# \usepackage[latin2]{inputenc}. Then, they will get ð even in the
|
||||
# printed version. It is still readable, but the solution is to replace
|
||||
# all ð's with \dj{}. However, nobody should be using Serbo-Croatian
|
||||
# without latin2 option. In LyX it is enough to choose the language of
|
||||
# a document as serbocroatian or croatian.
|
||||
\kmap \\ "\\v{z}" # z caron (pronounced zh)
|
||||
\kmap | "\\v{Z}"
|
||||
\kmap ; "\\v{c}" # c caron (pronunced tch)
|
||||
\kmap : "\\v{C}"
|
||||
\kmap ' "\\'{c}" # c accute (pronunced as very soft ch)
|
||||
\kmap \" "\\'{C}"
|
||||
\kmap z y
|
||||
\kmap Z Y
|
||||
\kmap < ;
|
||||
\kmap > :
|
||||
\kmap / -
|
||||
\kmap ? _
|
@ -40,6 +40,8 @@ portuges portuges "Portuges" false iso8859-1 pt ""
|
||||
romanian romanian "Romanian" false iso8859-2 ro ""
|
||||
russian russian "Russian" false koi8 ru ""
|
||||
scottish scottish "Scottish" false iso8859-1 gd_GB ""
|
||||
serbian croatian "Serbian" false iso8859-5 sr ""
|
||||
serbocroatian croatian "Serbo-Croatian" false iso8859-2 sh ""
|
||||
spanish spanish "Spanish" false iso8859-1 es "\addto\extrasspanish{\bbl@deactivate{~}}"
|
||||
slovak slovak "Slovak" false iso8859-2 sk_SL ""
|
||||
slovene slovene "Slovene" false iso8859-2 sl_SI ""
|
||||
|
Loading…
Reference in New Issue
Block a user