summaryrefslogtreecommitdiff
path: root/Master/bin/hppa-hpux/rumakeindex
blob: b7b0c0727292de04471c655bdfce213c1ba5fa59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/sh

BASE=`basename "$1" .idx`
IDX=$BASE.idx
IND=$BASE.ind
ILG=$BASE.ilg

sed '
/^\\indexentry{/ {
s/\\IeC {\\CYRA }/¾/g
s/\\IeC {\\cyra }/¿/g
s/\\IeC {\\CYRB }/À/g
s/\\IeC {\\cyrb }/Á/g
s/\\IeC {\\CYRV }/Â/g
s/\\IeC {\\cyrv }/Ã/g
s/\\IeC {\\CYRG }/Ä/g
s/\\IeC {\\cyrg }/Å/g
s/\\IeC {\\CYRD }/Æ/g
s/\\IeC {\\cyrd }/Ç/g
s/\\IeC {\\CYRE }/È/g
s/\\IeC {\\cyre }/É/g
s/\\IeC {\\CYRYO }/Ê/g
s/\\IeC {\\cyryo }/Ë/g
s/\\IeC {\\CYRZH }/Ì/g
s/\\IeC {\\cyrzh }/Í/g
s/\\IeC {\\CYRZ }/Î/g
s/\\IeC {\\cyrz }/Ï/g
s/\\IeC {\\CYRI }/Ð/g
s/\\IeC {\\cyri }/Ñ/g
s/\\IeC {\\CYRISHRT }/Ò/g
s/\\IeC {\\cyrishrt }/Ó/g
s/\\IeC {\\CYRK }/Ô/g
s/\\IeC {\\cyrk }/Õ/g
s/\\IeC {\\CYRL }/Ö/g
s/\\IeC {\\cyrl }/×/g
s/\\IeC {\\CYRM }/Ø/g
s/\\IeC {\\cyrm }/Ù/g
s/\\IeC {\\CYRN }/Ú/g
s/\\IeC {\\cyrn }/Û/g
s/\\IeC {\\CYRO }/Ü/g
s/\\IeC {\\cyro }/Ý/g
s/\\IeC {\\CYRP }/Þ/g
s/\\IeC {\\cyrp }/ß/g
s/\\IeC {\\CYRR }/à/g
s/\\IeC {\\cyrr }/á/g
s/\\IeC {\\CYRS }/â/g
s/\\IeC {\\cyrs }/ã/g
s/\\IeC {\\CYRT }/ä/g
s/\\IeC {\\cyrt }/å/g
s/\\IeC {\\CYRU }/æ/g
s/\\IeC {\\cyru }/ç/g
s/\\IeC {\\CYRF }/è/g
s/\\IeC {\\cyrf }/é/g
s/\\IeC {\\CYRH }/ê/g
s/\\IeC {\\cyrh }/ë/g
s/\\IeC {\\CYRC }/ì/g
s/\\IeC {\\cyrc }/í/g
s/\\IeC {\\CYRCH }/î/g
s/\\IeC {\\cyrch }/ï/g
s/\\IeC {\\CYRSH }/ð/g
s/\\IeC {\\cyrsh }/ñ/g
s/\\IeC {\\CYRSHCH }/ò/g
s/\\IeC {\\cyrshch }/ó/g
s/\\IeC {\\CYRHRDSN }/ô/g
s/\\IeC {\\cyrhrdsn }/õ/g
s/\\IeC {\\CYRERY }/ö/g
s/\\IeC {\\cyrery }/÷/g
s/\\IeC {\\CYRSFTSN }/ø/g
s/\\IeC {\\cyrsftsn }/ù/g
s/\\IeC {\\CYREREV }/ú/g
s/\\IeC {\\cyrerev }/û/g
s/\\IeC {\\CYRYU }/ü/g
s/\\IeC {\\cyryu }/ý/g
s/\\IeC {\\CYRYA }/þ/g
s/\\IeC {\\cyrya }/ÿ/g
}' $IDX | makeindex -t $ILG | tr '¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ' \
  'áÁâÂ÷×çÇäÄåų£öÖúÚéÉêÊëËìÌíÍîÎïÏðÐòÒóÓôÔõÕæÆèÈãÃþÞûÛýÝÿßùÙøØüÜàÀñÑ' > $IND