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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
upmendex --- Multilingual index processor
==========================================
2021.11.20 Ver1.00
TANAKA, Takuji
<ttk(at)t-lab.opal.ne.jp>
### About upmendex
upmendex is a multilingual index processor with following features:
* Mostly compatible with makeindex and
upper compatible with mendex,
based on mendex version 2.6f by ASCII media works.
* Unicode for internal process and
support UTF-8 encoding for input/output.
Will work with upLaTeX, XeLaTeX and luaLaTeX.
* Support Latin (including non-English), Greek, Cyrillic,
Korean Hangul and Chinese Han (Hanzi ideographs) scripts
as well as Japanese Kana.
* Support Devanagari, Thai, Arabic and Hebrew scripts (experimental).
* Support four kinds of sort orders (Pinyin, Radical-Stroke,
Stroke and Zhuyin) for Chinese Han scripts (Hanzi ideographs).
* Apply International Components for Unicode (ICU)[4]
for sorting process.
### Contents
* README.md :: This file
* source/ :: sources
* doc/ :: documents
* doc/samples/ :: samples for test.
* doc/samples/alphabet :: samples for languages and collation options.
* doc/samples/option :: samples for ICU attributes/rules options etc.
More samples are distributed at GitHub[2] than at CTAN[5].
* man/ :: manuals
### Building upmendex
The source files are distributed at GitHub[2] and work with TeX Live svn r61096.
Ref. [TeX Live and Subversion](http://www.tug.org/texlive/svn/)
Tested with ICU 68.2 .
### Status
Stable version.
No warranty.
### Copyright
Lisence notice is written in [COPYRIGHT](./COPYRIGHT).
It is as same as [the BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
### Supported locales
In ICU collator, default "root" locale covers several lauguages:
English, French, German, Italian, Portuguese and so on.
Much of languages and collation options are supported by
setting into "icu_locale" in style files.
Currently following locales are available:
#### Latin script
"az", "az@collation=search" (Azerbaijani), "ca@collation=search" (Catalan),
"cs", "cs@collation=search" (Czech), "da", "da@collation=search" (Danish),
"de@collation=phonebook", "de@collation=search", "de-AT@collation=phonebook" (German),
"eo" (Espelanto), "es", "es@collation=traditional", "es@collation=search" (Spanish),
"fi", "fi@collation=search", "fi@collation=traditional" (Finnish),
"fr-CA" (French), "gl", "gl@collation=search" (Galician),
"hr", "hr@collation=search" (Croatian), "hu" (Hungarian), "lt" (Lithuanian),
"nb", "nb@collation=search", "nn", "nn@collation=search", "no" (Norwegian),
"pl" (Polish), "ro" (Romanian), "sk", "sk@collation=search" (Slovak),
"sl" (Slovenian), "sq" (Albanian), "sr-Latn", "sr-Latn@collation=search" (Serbian),
"sv", "sv@collation=search", "sv@collation=standard" (Swedish),
"tr" (Turkish), "vi", "vi@collation=traditional" (Vietnamese)
##### Supported by default "root" collator. Do not need to set locale
"ca" (Catalan), "de" (German), "en" (English), "fr" (French), "id" (Indonesian),
"it" (Italian), "jv" (Javanese), "ms" (Malay), "nl" (Dutch), "pt" (Portuguese)
#### Cyrillic script
"be" (Belarusian), "bg" (Bulgarian), "kk" (Kazakh), "ky" (Kyrgyz),
"mk" (Macedonian), "ru" (Russian), "sr" (Serbian), "uk" (Ukraine)
#### Greek script
"el" (Greek)
#### CJK (Han script (Hanzi), Hangul, Kana)
"ja", "ja@collation=unihan" (Japanese),
"ko", "ko@collation=search", "ko@collation=unihan" (Korean),
"zh" [Pinyin Sort Order], "zh@collation=unihan" [Radical-Stroke Sort Order],
"zh@collation=stroke" [Stroke Sort Order], "zh@collation=zhuyin" [Zhuyin Sort Order] (Chinese)
#### Devanagari (experimental)
"hi" (Hindi), "mr" (Marathi), "ne" (Nepali)
#### Thai script (experimental)
"th" (Thai)
#### Arabic (experimental)
"ar", "ar@collation=compat" (Arabic), "fa" (Persian), "ps" (Pashto), "ur" (Urdu)
#### Hebrew (experimental)
"he", "he@collation=search" (Hebrew), "yi" (Yiddish)
### References
1. [ASCII Nihongo TeX (Publishing TeX)](https://asciidwango.github.io/ptex/)
ASCII MEDIA WORKS (web site by DWANGO Co., Ltd.)
2. [Source/Document distribution of upmendex --- multilingual index processor @ GitHub](https://github.com/t-tk/upmendex-package)
3. [upTeX, upLaTeX ― unicode version of pTeX, pLaTeX](http://www.t-lab.opal.ne.jp/tex/uptex_en.html)
4. [International Components for Unicode (ICU)](https://icu.unicode.org/)
5. [upmendex @ CTAN](https://ctan.org/pkg/upmendex/)
|