| 1 | upmendex --- Multilingual index processor |
| 2 | ========================================== |
| 3 | |
| 4 | 2026.02.15 Ver1.22 |
| 5 | |
| 6 | TANAKA, Takuji |
| 7 | <ttk(at)t-lab.opal.ne.jp> |
| 8 | |
| 9 | |
| 10 | ### About upmendex |
| 11 | upmendex is a multilingual index processor with following features: |
| 12 | |
| 13 | * Mostly compatible with makeindex and |
| 14 | upper compatible with mendex, |
| 15 | based on mendex version 2.6f by ASCII media works. |
| 16 | * Unicode for internal process and |
| 17 | support UTF-8 encoding for input/output. |
| 18 | Work with upLaTeX, XeLaTeX and luaLaTeX. |
| 19 | * Support Latin (including non-English), Greek, Cyrillic, |
| 20 | Korean Hangul and Chinese Han (Hanzi ideographs) scripts |
| 21 | as well as Japanese Kana. |
| 22 | * Support four kinds of sort orders (Pinyin, Radical-Stroke, |
| 23 | Stroke and Zhuyin) for Chinese Han scripts (Hanzi ideographs). |
| 24 | * Support Brahmic (Bengali, Devanagari, Gurmukhi, Gujarati, |
| 25 | Kannada, Lao, Malayalam, Oriya, Sinhala, Tamil, Telugu, Thai), |
| 26 | Arabic and Hebrew scripts (experimental). |
| 27 | * Apply International Components for Unicode (ICU)[4] |
| 28 | for sorting process. |
| 29 | |
| 30 | ### Contents |
| 31 | * README.md :: This file |
| 32 | * source/ :: sources |
| 33 | * doc/ :: documents |
| 34 | * doc/samples/ :: samples for test. |
| 35 | More samples are distributed at GitHub[2] than at CTAN[5]. |
| 36 | * doc/samples/alphabet :: samples for languages and collation options. |
| 37 | * doc/samples/option :: samples for ICU attributes/rules options etc. |
| 38 | * doc/samples/latex :: samples for upLaTeX/pxbabel and XeLaTeX/polyglossia. |
| 39 | * doc/present/ :: materials presented at meetings. |
| 40 | * man/ :: manuals |
| 41 | |
| 42 | ### Building upmendex |
| 43 | The source files are distributed at GitHub[2] and work with TeX Live svn r77635. |
| 44 | Ref. [TeX Live and Subversion](http://www.tug.org/texlive/svn/) |
| 45 | |
| 46 | Tested with ICU 78.2 . |
| 47 | |
| 48 | ### Status |
| 49 | Stable version. |
| 50 | No warranty. |
| 51 | |
| 52 | ### Copyright |
| 53 | Lisence notice is written in [COPYRIGHT](./COPYRIGHT). |
| 54 | It is as same as [the BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause) |
| 55 | |
| 56 | ### ChangeLog |
| 57 | ChangeLog is written in [ChangeLog](./source/ChangeLog). |
| 58 | |
| 59 | ### Supported locales |
| 60 | In ICU collator, default "root" locale covers several lauguages: |
| 61 | English, French, German, Italian, Portuguese and so on. |
| 62 | Much of languages and collation options are supported by |
| 63 | setting into "icu_locale" in style files. |
| 64 | Currently following locales are available: |
| 65 | |
| 66 | #### Latin script |
| 67 | "af" (Afrikaans), "az", "az@collation=search" (Azerbaijani), |
| 68 | "bs", "bs@collation=search" (Bosnian), |
| 69 | "ca@collation=search" (Catalan), "cs", "cs@collation=search" (Czech), |
| 70 | "cy" (Welsh), "da", "da@collation=search" (Danish), |
| 71 | "de@collation=phonebook", "de@collation=search", "de-AT@collation=phonebook" (German), |
| 72 | "eo" (Espelanto), "es", "es@collation=traditional", "es@collation=search" (Spanish), |
| 73 | "et" (Estonian), "fi", "fi@collation=search", "fi@collation=traditional" (Finnish), |
| 74 | "fr-CA" (French), "gl", "gl@collation=search" (Galician), |
| 75 | "hr", "hr@collation=search" (Croatian), "hu" (Hungarian), |
| 76 | "is", "is@collation=search" (Icelandic), "ku" (Kurdish, Hawar alphabet), |
| 77 | "lt" (Lithuanian), "lv" (Latvian), |
| 78 | "nb", "nb@collation=search", "nn", "nn@collation=search", "no" (Norwegian), |
| 79 | "pl" (Polish), "ro" (Romanian), "sk", "sk@collation=search" (Slovak), |
| 80 | "sl" (Slovenian), "sq" (Albanian), "sr-Latn", "sr-Latn@collation=search" (Serbian), |
| 81 | "sv", "sv@collation=search", "sv@collation=traditional" (Swedish), "tk" (Turkmen), |
| 82 | "tr" (Turkish), "vi", "vi@collation=traditional" (Vietnamese) |
| 83 | |
| 84 | ##### Supported by default "root" collator. Do not need to set locale |
| 85 | "ca" (Catalan), "de" (German), "en" (English), "fr" (French), "id" (Indonesian), |
| 86 | "it" (Italian), "jv" (Javanese), "ms" (Malay), "nl" (Dutch), "pt" (Portuguese) |
| 87 | |
| 88 | #### Cyrillic script |
| 89 | "be" (Belarusian), "bg" (Bulgarian), "bs-Cyrl" (Bosnian), "kk" (Kazakh), "ky" (Kyrgyz), |
| 90 | "mk" (Macedonian), "ru" (Russian), "sr" (Serbian), "uk" (Ukraine) |
| 91 | |
| 92 | #### Greek script |
| 93 | "el" (Greek) |
| 94 | |
| 95 | #### CJK (Han script (Hanzi), Hangul, Kana) |
| 96 | "ja", "ja@collation=unihan" (Japanese), |
| 97 | "ko", "ko@collation=search", "ko@collation=unihan" (Korean), |
| 98 | "zh" [Pinyin Sort Order], "zh@collation=unihan" [Radical-Stroke Sort Order], |
| 99 | "zh@collation=stroke" [Stroke Sort Order], "zh@collation=zhuyin" [Zhuyin Sort Order] (Chinese) |
| 100 | |
| 101 | #### Brahmic scripts (experimental) |
| 102 | ##### Bengali |
| 103 | "as" (Assamese), "bn", "bn@collation=traditional" (Bengali) |
| 104 | ##### Devanagari |
| 105 | "hi" (Hindi), "mr" (Marathi), "ne" (Nepali) |
| 106 | ##### Other scripts |
| 107 | "gu" (Gujarati), "kn", "kn@collation=traditional" (Kannada), "lo" (Lao), |
| 108 | "ml" (Malayalam), "or" (Odia), "pa" (Punjabi), |
| 109 | "si", "si@collation=dictionary" (Sinhala), "ta" (Tamil), "te" (Telugu), "th" (Thai) |
| 110 | |
| 111 | #### Arabic script (experimental) |
| 112 | "ar", "ar@collation=compat" (Arabic), "fa" (Persian), "fa-AF" (Dari), |
| 113 | "ku" (Kurdish, Sorani), "ps" (Pashto), "ug" (Uyghur), "ur" (Urdu) |
| 114 | |
| 115 | #### Hebrew script (experimental) |
| 116 | "he" (Hebrew), "yi" (Yiddish) |
| 117 | |
| 118 | ### References |
| 119 | 1. [ASCII Nihongo TeX (Publishing TeX)](https://asciidwango.github.io/ptex/) |
| 120 | ASCII MEDIA WORKS (web site by DWANGO Co., Ltd.) |
| 121 | 2. [Source/Document distribution of upmendex --- multilingual index processor @ GitHub](https://github.com/t-tk/upmendex-package) |
| 122 | 3. [upTeX, upLaTeX ― unicode version of pTeX, pLaTeX](http://www.t-lab.opal.ne.jp/tex/uptex_en.html) |
| 123 | 4. [International Components for Unicode (ICU)](https://icu.unicode.org/) |
| 124 | 5. [upmendex @ CTAN](https://ctan.org/pkg/upmendex/) |
| 125 |