summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/upmendex/samples
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/upmendex/samples')
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/Makefile21
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/Makefile48
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_es.idx97
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zh.idx86
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhp.idx118
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhr.idx214
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhs.idx58
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhz.idx129
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es.ist4
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es1.ist5
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es2.ist5
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head1.ist10
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head2.ist10
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head3.ist10
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh1.ist13
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh11.ist13
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh12.ist14
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh13.ist14
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh14.ist14
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh2.ist13
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh21.ist13
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh22.ist14
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh31.ist14
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/french.idx18
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/german.idx19
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/greek.idx10
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/korean.idx60
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/latex/Makefile24
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/latex/city0.tex203
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/latex/city1.tex124
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/latex/haranoaji-uptex.map40
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/latex/mlg0.ist32
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/latex/mlg1.ist19
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/mdxsty00.ist10
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/mdxsty01.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/mdxsty02.ist22
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/mdxsty03.ist33
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/multi.idx15
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/Makefile25
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/attri1.idx48
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/japanese.idx34
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_attr_default.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j00.ist11
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j01.ist11
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j02.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_rule0.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/rule0.ist3
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/russian.idx17
48 files changed, 1763 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/Makefile b/Master/texmf-dist/doc/support/upmendex/samples/Makefile
new file mode 100644
index 00000000000..ce333052126
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/Makefile
@@ -0,0 +1,21 @@
+UPMENDEX = upmendex
+
+all: scripts styles
+
+scripts:
+ for scr in french german greek russian korean; do \
+ $(UPMENDEX) $$scr -s mdxsty00.ist ; \
+ done
+
+styles:
+ for num in 00 01 02 03; do \
+ $(UPMENDEX) multi.idx -s mdxsty$$num.ist -t multi_$$num.ilg -o multi_$$num.ind ; \
+ done
+
+compare:
+ for ind in $(wildcard *.ind); do \
+ diff -qs $$ind output/$$ind ; \
+ done
+
+clean:
+ rm -f *.ind *.ilg
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/Makefile b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/Makefile
new file mode 100644
index 00000000000..120f3f17791
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/Makefile
@@ -0,0 +1,48 @@
+UPMENDEX = upmendex
+
+alphabet: es zh
+
+es:
+ for num in 1 2; do \
+ for loc in es; do \
+ $(UPMENDEX) alpha_$$loc.idx -s mdxsty_head$$num.ist -s mdxsty_$$loc.ist -t alpha_$$loc$$num.ilg -o alpha_$$loc$$num.ind ; \
+ done ; \
+ done
+ for num in 1 2 3; do \
+ for x in 1 2; do \
+ for loc in es; do \
+ locx=$$loc$$x ; \
+ $(UPMENDEX) alpha_$$loc.idx -s mdxsty_head$$num.ist -s mdxsty_$$locx.ist -t alpha_$$locx$$num.ilg -o alpha_$$locx$$num.ind ; \
+ done ; \
+ done ; \
+ done
+
+zh:
+ for num in 1 2 3 11 12 13 14 21 22 31; do \
+ for loc in zh; do \
+ $(UPMENDEX) alpha_$$loc.idx -s mdxsty_$$loc$$num.ist -t alpha_$$loc$$num.ilg -o alpha_$$loc$$num.ind ; \
+ done ; \
+ done
+ for num in 11 12 13 14; do \
+ loc='zh' ; \
+ locx='zhr' ; \
+ $(UPMENDEX) alpha_$$locx.idx -s mdxsty_$$loc$$num.ist -t alpha_$$locx$$num.ilg -o alpha_$$locx$$num.ind ; \
+ done
+ for num in 21 22; do \
+ loc='zh' ; \
+ locx='zhs' ; \
+ $(UPMENDEX) alpha_$$locx.idx -s mdxsty_$$loc$$num.ist -t alpha_$$locx$$num.ilg -o alpha_$$locx$$num.ind ; \
+ done
+ for num in 31; do \
+ loc='zh' ; \
+ locx='zhz' ; \
+ $(UPMENDEX) alpha_$$locx.idx -s mdxsty_$$loc$$num.ist -t alpha_$$locx$$num.ilg -o alpha_$$locx$$num.ind ; \
+ done
+ for num in 1 2 3; do \
+ loc='zh' ; \
+ locx='zhp' ; \
+ $(UPMENDEX) alpha_$$locx.idx -s mdxsty_$$loc$$num.ist -t alpha_$$locx$$num.ilg -o alpha_$$locx$$num.ind ; \
+ done
+
+clean:
+ rm -f *.ind *.ilg
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_es.idx b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_es.idx
new file mode 100644
index 00000000000..1a81aa998ba
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_es.idx
@@ -0,0 +1,97 @@
+\indexentry{A}{101}
+\indexentry{B}{102}
+\indexentry{C}{103}
+\indexentry{CH}{160}
+\indexentry{D}{104}
+\indexentry{E}{105}
+\indexentry{F}{106}
+\indexentry{G}{107}
+\indexentry{H}{108}
+\indexentry{I}{109}
+\indexentry{J}{110}
+\indexentry{K}{111}
+\indexentry{L}{112}
+\indexentry{LL}{161}
+\indexentry{M}{113}
+\indexentry{N}{114}
+\indexentry{Ñ}{162}
+\indexentry{O}{115}
+\indexentry{P}{116}
+\indexentry{Q}{117}
+\indexentry{R}{118}
+\indexentry{S}{119}
+\indexentry{T}{120}
+\indexentry{U}{121}
+\indexentry{V}{122}
+\indexentry{W}{123}
+\indexentry{X}{124}
+\indexentry{Y}{125}
+\indexentry{Z}{126}
+\indexentry{a}{201}
+\indexentry{b}{202}
+\indexentry{c}{203}
+\indexentry{ch}{260}
+\indexentry{d}{204}
+\indexentry{e}{205}
+\indexentry{f}{206}
+\indexentry{g}{207}
+\indexentry{h}{208}
+\indexentry{i}{209}
+\indexentry{j}{210}
+\indexentry{k}{211}
+\indexentry{l}{212}
+\indexentry{ll}{261}
+\indexentry{m}{213}
+\indexentry{n}{214}
+\indexentry{ñ}{262}
+\indexentry{o}{215}
+\indexentry{p}{216}
+\indexentry{q}{217}
+\indexentry{r}{218}
+\indexentry{s}{219}
+\indexentry{t}{220}
+\indexentry{u}{221}
+\indexentry{v}{222}
+\indexentry{w}{223}
+\indexentry{x}{224}
+\indexentry{y}{225}
+\indexentry{z}{226}
+\indexentry{ca}{1000}
+\indexentry{cg}{1001}
+\indexentry{ci}{1002}
+\indexentry{cz}{1003}
+\indexentry{cha}{1004}
+\indexentry{chz}{1005}
+\indexentry{la}{2000}
+\indexentry{lk}{2001}
+\indexentry{lm}{2001}
+\indexentry{lz}{2001}
+\indexentry{lla}{2004}
+\indexentry{llz}{2005}
+\indexentry{na}{3000}
+\indexentry{nz}{3001}
+\indexentry{ña}{3002}
+\indexentry{ñz}{3003}
+\indexentry{ra}{4000}
+\indexentry{rq}{4001}
+\indexentry{rs}{4002}
+\indexentry{rz}{4003}
+\indexentry{rr}{4004}
+\indexentry{rra}{4005}
+\indexentry{rrz}{4006}
+\indexentry{ga}{5000}
+\indexentry{gt}{5001}
+\indexentry{gv}{5002}
+\indexentry{gz}{5003}
+\indexentry{gu}{5004}
+\indexentry{gua}{5005}
+\indexentry{guz}{5006}
+\indexentry{qa}{6000}
+\indexentry{qt}{6001}
+\indexentry{qv}{6002}
+\indexentry{qz}{6003}
+\indexentry{qu}{6004}
+\indexentry{qua}{6005}
+\indexentry{quz}{6006}
+\indexentry{ª}{501}
+\indexentry{º}{502}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zh.idx b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zh.idx
new file mode 100644
index 00000000000..1e7845cb47d
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zh.idx
@@ -0,0 +1,86 @@
+\indexentry{一 (1, 一, yī, ㄧ)}{101}
+\indexentry{二 (2, 二, èr, ㄦˋ)}{102}
+\indexentry{三 (3, 一, sān, ㄙㄢ)}{103}
+\indexentry{四 (5, 囗, sì, ㄙˋ)}{104}
+\indexentry{五 (4, 二, wǔ, ㄨˇ)}{105}
+\indexentry{六 (4, 八, liù, ㄌㄧㄡˋ)}{106}
+\indexentry{七 (2, 一, qī, ㄑㄧ)}{160}
+\indexentry{八 (2, 八, bā, ㄅㄚ)}{107}
+\indexentry{九 (2, 乙, jiǔ, ㄐㄧㄡˇ)}{108}
+\indexentry{十 (2, 十, shí, ㄕˊ)}{161}
+\indexentry{百 (6, 白, bǎi, ㄅㄞˇ)}{202}
+\indexentry{千 (3, 十, qiān, ㄑㄧㄢ)}{203}
+\indexentry{万 (3, 一, wàn, ㄨㄢˋ)}{204}
+\indexentry{億 (15, 人, yì, ㄧˋ)}{205}
+\indexentry{兆 (6, 儿, zhào, ㄓㄠˋ)}{206}
+\indexentry{京 (8, 亠, jīng, ㄐㄧㄥ)}{260}
+\indexentry{春 (9, 日, chūn, ㄔㄨㄣ)}{110}
+\indexentry{夏 (10, 夊, xià, ㄒㄧㄚˋ)}{111}
+\indexentry{秋 (9, 禾, qiū, ㄑㄧㄡ)}{112}
+\indexentry{冬 (5, 冫, dōng, ㄉㄨㄥ)}{113}
+\indexentry{月 (4, 月, yuè, ㄩㄝˋ)}{114}
+\indexentry{火 (4, 火, huǒ, ㄏㄨㄛˇ)}{115}
+\indexentry{水 (4, 水, shuǐ, ㄕㄨㄟˇ)}{116}
+\indexentry{木 (4, 木, mù, ㄇㄨˋ)}{117}
+\indexentry{金 (8, 金, jīn, ㄐㄧㄣ)}{118}
+\indexentry{土 (3, 土, tǔ, ㄊㄨˇ)}{119}
+\indexentry{日 (4, 日, rì, ㄖˋ)}{120}
+\indexentry{子 (3, 子, zǐ, ㄗˇ)}{162}
+\indexentry{丑 (4, 一, chǒu, ㄔㄡˇ)}{121}
+\indexentry{寅 (11, 宀, yín, ㄧㄣˊ)}{122}
+\indexentry{卯 (5, 卩, mǎo, ㄇㄠˇ)}{123}
+\indexentry{辰 (7, 辰, chén, ㄔㄣˊ)}{124}
+\indexentry{巳 (3, 己, sì, ㄙˋ)}{125}
+\indexentry{午 (4, 十, wǔ, ㄨˇ)}{128}
+\indexentry{未 (5, 木, wèi, ㄨㄟˋ)}{129}
+\indexentry{申 (5, 田, shēn, ㄕㄣ)}{130}
+\indexentry{酉 (7, 酉, yǒu, ㄧㄡˇ)}{131}
+\indexentry{戌 (6, 戈, xū, ㄒㄩ)}{132}
+\indexentry{亥 (6, 亠, hài, ㄏㄞˋ)}{201}
+\indexentry{甲 (5, 田, jiǎ, ㄐㄧㄚˇ)}{207}
+\indexentry{乙 (1, 乙, yǐ, ㄧˇ)}{208}
+\indexentry{丙 (5, 一, bǐng, ㄅㄧㄥˇ)}{261}
+\indexentry{丁 (2, 一, dīng, ㄉㄧㄥ)}{210}
+\indexentry{戊 (5, 戈, wù, ㄨˋ)}{211}
+\indexentry{己 (3, 己, jǐ, ㄐㄧˇ)}{212}
+\indexentry{庚 (8, 广, gēng, ㄍㄥ)}{213}
+\indexentry{辛 (7, 辛, xīn, ㄒㄧㄣ)}{214}
+\indexentry{壬 (4, 士, rén, ㄖㄣˊ)}{215}
+\indexentry{癸 (9, 癶, guǐ, ㄍㄨㄟˇ)}{216}
+\indexentry{東 (8, 木, dōng, ㄉㄨㄥ)}{217}
+\indexentry{西 (6, 襾, xī, ㄒㄧ)}{218}
+\indexentry{南 (9, 十, nán, ㄋㄢˊ)}{219}
+\indexentry{北 (5, 匕, běi, ㄅㄟˇ)}{220}
+\indexentry{靑 (8, 靑, qīng, ㄑㄧㄥ)}{221}
+\indexentry{赤 (7, 赤, chì, ㄔˋ)}{222}
+\indexentry{黃 (12, 黃, huáng, ㄏㄨㄤˊ)}{223}
+\indexentry{白 (5, 白, bái, ㄅㄞˊ)}{224}
+\indexentry{黑 (12, 黑, hēi, ㄏㄟ)}{225}
+\indexentry{喜 (12, 口, xǐ, ㄒㄧˇ)}{226}
+\indexentry{怒 (9, 心, nù, ㄋㄨˋ)}{227}
+\indexentry{哀 (9, 口, āi, ㄞ)}{228}
+\indexentry{樂 (15, 木, lè, ㄌㄜˋ)}{229}
+\indexentry{花 (8, 艸, huā, ㄏㄨㄚ)}{230}
+\indexentry{鳥 (11, 鳥, niǎo, ㄋㄧㄠˇ)}{231}
+\indexentry{風 (9, 風, fēng, ㄈㄥ)}{232}
+\indexentry{月 (4, 月, yuè, ㄩㄝˋ)}{233}
+\indexentry{天 (4, 大, tiān, ㄊㄧㄢ)}{234}
+\indexentry{馬 (10, 馬, mǎ, ㄇㄚˇ)}{235}
+\indexentry{行 (6, 行, xíng, ㄒㄧㄥˊ)}{236}
+\indexentry{空 (8, 穴, kōng, ㄎㄨㄥ)}{237}
+\indexentry{品 (9, 口, pǐn, ㄆㄧㄣˇ)}{238}
+\indexentry{行 (6, 行, xíng, ㄒㄧㄥˊ)}{239}
+\indexentry{方 (4, 方, fāng, ㄈㄤ)}{240}
+\indexentry{正 (5, 止, zhèng, ㄓㄥˋ)}{241}
+\indexentry{海 (10, 水, hǎi, ㄏㄞˇ)}{242}
+\indexentry{翁 (10, 羽, wēng, ㄨㄥ)}{243}
+\indexentry{好 (6, 女, hǎo, ㄏㄠˇ)}{244}
+\indexentry{鷗 (22, 鳥, ōu, ㄡ)}{245}
+\indexentry{安 (6, 宀, ān, ㄢ)}{246}
+\indexentry{心 (4, 心, xīn, ㄒㄧㄣ)}{247}
+\indexentry{立 (5, 立, lì, ㄌㄧˋ)}{248}
+\indexentry{命 (8, 口, mìng, ㄇㄧㄥˋ)}{249}
+\indexentry{勸 (19, 力, quàn, ㄑㄩㄢˋ)}{250}
+\indexentry{善 (12, 口, shàn, ㄕㄢˋ)}{251}
+\indexentry{懲 (19, 心, chéng, ㄔㄥˊ)}{252}
+\indexentry{惡 (12, 心, è, ㄜˋ)}{253}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhp.idx b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhp.idx
new file mode 100644
index 00000000000..026ab4dd73e
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhp.idx
@@ -0,0 +1,118 @@
+\indexentry{一}{101}
+\indexentry{二}{102}
+\indexentry{三}{103}
+\indexentry{四}{104}
+\indexentry{五}{105}
+\indexentry{六}{106}
+\indexentry{七}{160}
+\indexentry{八}{107}
+\indexentry{九}{108}
+\indexentry{十}{161}
+\indexentry{百}{202}
+\indexentry{千}{203}
+\indexentry{万}{204}
+\indexentry{億}{205}
+\indexentry{兆}{206}
+\indexentry{京}{260}
+\indexentry{春}{110}
+\indexentry{夏}{111}
+\indexentry{秋}{112}
+\indexentry{冬}{113}
+\indexentry{月}{114}
+\indexentry{火}{115}
+\indexentry{水}{116}
+\indexentry{木}{117}
+\indexentry{金}{118}
+\indexentry{土}{119}
+\indexentry{日}{120}
+\indexentry{子}{162}
+\indexentry{丑}{121}
+\indexentry{寅}{122}
+\indexentry{卯}{123}
+\indexentry{辰}{124}
+\indexentry{巳{125}
+\indexentry{午}{128}
+\indexentry{未}{129}
+\indexentry{申}{130}
+\indexentry{酉}{131}
+\indexentry{戌}{132}
+\indexentry{亥}{201}
+\indexentry{甲}{207}
+\indexentry{乙}{208}
+\indexentry{丙}{261}
+\indexentry{丁}{210}
+\indexentry{戊}{211}
+\indexentry{己}{212}
+\indexentry{庚}{213}
+\indexentry{辛}{214}
+\indexentry{壬}{215}
+\indexentry{癸}{216}
+\indexentry{東}{217}
+\indexentry{西}{218}
+\indexentry{南}{219}
+\indexentry{北}{220}
+\indexentry{靑}{221}
+\indexentry{赤}{222}
+\indexentry{黃}{223}
+\indexentry{白}{224}
+\indexentry{黑}{225}
+\indexentry{喜}{226}
+\indexentry{怒}{227}
+\indexentry{哀}{228}
+\indexentry{樂}{229}
+\indexentry{花}{230}
+\indexentry{鳥}{231}
+\indexentry{風}{232}
+\indexentry{月}{233}
+\indexentry{天}{234}
+\indexentry{馬}{235}
+\indexentry{行}{236}
+\indexentry{空}{237}
+\indexentry{品}{238}
+\indexentry{行}{239}
+\indexentry{方}{240}
+\indexentry{正}{241}
+\indexentry{海}{242}
+\indexentry{翁}{243}
+\indexentry{好}{244}
+\indexentry{鷗}{245}
+\indexentry{安}{246}
+\indexentry{心}{247}
+\indexentry{立}{248}
+\indexentry{命}{249}
+\indexentry{勸}{250}
+\indexentry{善}{251}
+\indexentry{懲}{252}
+\indexentry{惡}{253}
+\indexentry{重新@重新 (chóng xīn, ㄔㄨㄥˊ ㄒㄧㄣ)}{6000}
+\indexentry{重要@重要 (zhòng yào, ㄓㄨㄥˋ ㄧㄠˋ)}{6001}
+\indexentry{長年@長年 (cháng nián, ㄔㄤˊ ㄋㄧㄢˊ)}{6010}
+\indexentry{長短@長短 (cháng duǎn, ㄔㄤˊ ㄉㄨㄢˇ)}{6011}
+\indexentry{長大@長大 (zhǎng dà, ㄓㄤˇ ㄉㄚˋ)}{6012}
+\indexentry{长年}{6013}
+\indexentry{长短}{6014}
+\indexentry{长大}{6015}
+\indexentry{常年@常年 (cháng nián, ㄔㄤˊ ㄋㄧㄢˊ)}{6016}
+\indexentry{調查@調查 (diào chá, ㄉㄧㄠˋ ㄓㄚ)}{6020}
+\indexentry{調整@調整 (tiáo zhěng, ㄊㄧㄠˊ ㄓㄥˇ)}{6021}
+\indexentry{调查}{6022}
+\indexentry{调整}{6023}
+\indexentry{重}{6100}
+\indexentry{長}{6101}
+\indexentry{长}{6102}
+\indexentry{調}{6103}
+\indexentry{调}{6104}
+\indexentry{常@常 (cháng, ㄔㄤˊ)}{6200}
+\indexentry{腸@腸 (cháng, ㄔㄤˊ)}{6201}
+\indexentry{崇@崇 (chóng, ㄔㄨㄥˊ)}{6202}
+\indexentry{蟲@蟲 (chóng, ㄔㄨㄥˊ)}{6203}
+\indexentry{虫@虫 (chóng, ㄔㄨㄥˊ)}{6204}
+\indexentry{條@條 (tiáo, ㄊㄧㄠˊ)}{6204}
+\indexentry{条@条 (tiáo, ㄊㄧㄠˊ)}{6205}
+\indexentry{仲@仲 (zhòng, ㄓㄨㄥˋ)}{6206}
+\indexentry{衆@衆 (zhòng, ㄓㄨㄥˋ)}{6207}
+\indexentry{众@众 (zhòng, ㄓㄨㄥˋ)}{6208}
+\indexentry{掉@掉 (diào, ㄉㄧㄠˋ)}{6209}
+\indexentry{吊@吊 (diào, ㄉㄧㄠˋ)}{6210}
+\indexentry{弔@弔 (diào, ㄉㄧㄠˋ)}{6211}
+\indexentry{掌@掌 (zhǎng, ㄓㄤˇ)}{6212}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhr.idx b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhr.idx
new file mode 100644
index 00000000000..606df2c52ec
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhr.idx
@@ -0,0 +1,214 @@
+\indexentry{一}{1}
+\indexentry{丨}{2}
+\indexentry{丶}{3}
+\indexentry{丿}{4}
+\indexentry{乙}{5}
+\indexentry{亅}{6}
+\indexentry{二}{7}
+\indexentry{亠}{8}
+\indexentry{人}{9}
+\indexentry{儿}{10}
+\indexentry{入}{11}
+\indexentry{八}{12}
+\indexentry{冂}{13}
+\indexentry{冖}{14}
+\indexentry{冫}{15}
+\indexentry{几}{16}
+\indexentry{凵}{17}
+\indexentry{刀}{18}
+\indexentry{力}{19}
+\indexentry{勹}{10}
+\indexentry{匕}{11}
+\indexentry{匚}{12}
+\indexentry{匸}{13}
+\indexentry{十}{14}
+\indexentry{卜}{15}
+\indexentry{卩}{16}
+\indexentry{厂}{17}
+\indexentry{厶}{18}
+\indexentry{又}{19}
+\indexentry{口}{10}
+\indexentry{囗}{11}
+\indexentry{土}{12}
+\indexentry{士}{13}
+\indexentry{夂}{14}
+\indexentry{夊}{15}
+\indexentry{夕}{16}
+\indexentry{大}{17}
+\indexentry{女}{18}
+\indexentry{子}{19}
+\indexentry{宀}{10}
+\indexentry{寸}{11}
+\indexentry{小}{12}
+\indexentry{尢}{13}
+\indexentry{尸}{14}
+\indexentry{屮}{15}
+\indexentry{山}{16}
+\indexentry{巛}{17}
+\indexentry{工}{18}
+\indexentry{己}{19}
+\indexentry{巾}{10}
+\indexentry{干}{11}
+\indexentry{幺}{12}
+\indexentry{广}{13}
+\indexentry{廴}{14}
+\indexentry{廾}{15}
+\indexentry{弋}{16}
+\indexentry{弓}{17}
+\indexentry{彐}{18}
+\indexentry{彡}{19}
+\indexentry{彳}{10}
+\indexentry{心}{11}
+\indexentry{戈}{12}
+\indexentry{戶}{13}
+\indexentry{手}{14}
+\indexentry{支}{15}
+\indexentry{攴}{16}
+\indexentry{文}{17}
+\indexentry{斗}{18}
+\indexentry{斤}{19}
+\indexentry{方}{10}
+\indexentry{无}{11}
+\indexentry{日}{12}
+\indexentry{曰}{13}
+\indexentry{月}{14}
+\indexentry{木}{15}
+\indexentry{欠}{16}
+\indexentry{止}{17}
+\indexentry{歹}{18}
+\indexentry{殳}{19}
+\indexentry{毋}{10}
+\indexentry{比}{11}
+\indexentry{毛}{12}
+\indexentry{氏}{13}
+\indexentry{气}{14}
+\indexentry{水}{15}
+\indexentry{火}{16}
+\indexentry{爪}{17}
+\indexentry{父}{18}
+\indexentry{爻}{19}
+\indexentry{爿}{10}
+\indexentry{片}{11}
+\indexentry{牙}{12}
+\indexentry{牛}{13}
+\indexentry{犬}{14}
+\indexentry{玄}{15}
+\indexentry{玉}{16}
+\indexentry{瓜}{17}
+\indexentry{瓦}{18}
+\indexentry{甘}{19}
+\indexentry{生}{10}
+\indexentry{用}{11}
+\indexentry{田}{12}
+\indexentry{疋}{13}
+\indexentry{疒}{14}
+\indexentry{癶}{15}
+\indexentry{白}{16}
+\indexentry{皮}{17}
+\indexentry{皿}{18}
+\indexentry{目}{19}
+\indexentry{矛}{10}
+\indexentry{矢}{11}
+\indexentry{石}{12}
+\indexentry{示}{13}
+\indexentry{禸}{14}
+\indexentry{禾}{15}
+\indexentry{穴}{16}
+\indexentry{立}{17}
+\indexentry{竹}{18}
+\indexentry{米}{19}
+\indexentry{糸}{10}
+\indexentry{缶}{11}
+\indexentry{网}{12}
+\indexentry{羊}{13}
+\indexentry{羽}{14}
+\indexentry{老}{15}
+\indexentry{而}{16}
+\indexentry{耒}{17}
+\indexentry{耳}{18}
+\indexentry{聿}{19}
+\indexentry{肉}{10}
+\indexentry{臣}{11}
+\indexentry{自}{12}
+\indexentry{至}{13}
+\indexentry{臼}{14}
+\indexentry{舌}{15}
+\indexentry{舛}{16}
+\indexentry{舟}{17}
+\indexentry{艮}{18}
+\indexentry{色}{19}
+\indexentry{艸}{10}
+\indexentry{虍}{11}
+\indexentry{虫}{12}
+\indexentry{血}{13}
+\indexentry{行}{14}
+\indexentry{衣}{15}
+\indexentry{襾}{16}
+\indexentry{見}{17}
+\indexentry{角}{18}
+\indexentry{言}{19}
+\indexentry{谷}{10}
+\indexentry{豆}{11}
+\indexentry{豕}{12}
+\indexentry{豸}{13}
+\indexentry{貝}{14}
+\indexentry{赤}{15}
+\indexentry{走}{16}
+\indexentry{足}{17}
+\indexentry{身}{18}
+\indexentry{車}{19}
+\indexentry{辛}{10}
+\indexentry{辰}{11}
+\indexentry{辵}{12}
+\indexentry{邑}{13}
+\indexentry{酉}{14}
+\indexentry{釆}{15}
+\indexentry{里}{16}
+\indexentry{金}{17}
+\indexentry{長}{18}
+\indexentry{門}{19}
+\indexentry{阜}{10}
+\indexentry{隶}{11}
+\indexentry{隹}{12}
+\indexentry{雨}{13}
+\indexentry{靑}{14}
+\indexentry{非}{15}
+\indexentry{面}{16}
+\indexentry{革}{17}
+\indexentry{韋}{18}
+\indexentry{韭}{19}
+\indexentry{音}{10}
+\indexentry{頁}{11}
+\indexentry{風}{12}
+\indexentry{飛}{13}
+\indexentry{食}{14}
+\indexentry{首}{15}
+\indexentry{香}{16}
+\indexentry{馬}{17}
+\indexentry{骨}{18}
+\indexentry{高}{19}
+\indexentry{髟}{10}
+\indexentry{鬥}{11}
+\indexentry{鬯}{12}
+\indexentry{鬲}{13}
+\indexentry{鬼}{14}
+\indexentry{魚}{15}
+\indexentry{鳥}{16}
+\indexentry{鹵}{17}
+\indexentry{鹿}{18}
+\indexentry{麥}{19}
+\indexentry{麻}{10}
+\indexentry{黃}{11}
+\indexentry{黍}{12}
+\indexentry{黑}{13}
+\indexentry{黹}{14}
+\indexentry{黽}{15}
+\indexentry{鼎}{16}
+\indexentry{鼓}{17}
+\indexentry{鼠}{18}
+\indexentry{鼻}{19}
+\indexentry{齊}{10}
+\indexentry{齒}{11}
+\indexentry{龍}{12}
+\indexentry{龜}{13}
+\indexentry{龠}{14}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhs.idx b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhs.idx
new file mode 100644
index 00000000000..990a30acd49
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhs.idx
@@ -0,0 +1,58 @@
+\indexentry{一}{1}
+\indexentry{乙}{1}
+\indexentry{二}{2}
+\indexentry{力}{2}
+\indexentry{三}{3}
+\indexentry{山}{3}
+\indexentry{中}{4}
+\indexentry{日}{4}
+\indexentry{目}{5}
+\indexentry{古}{5}
+\indexentry{名}{6}
+\indexentry{多}{6}
+\indexentry{努}{7}
+\indexentry{君}{7}
+\indexentry{京}{8}
+\indexentry{宝}{8}
+\indexentry{信}{9}
+\indexentry{品}{9}
+\indexentry{夏}{10}
+\indexentry{宮}{10}
+\indexentry{商}{11}
+\indexentry{彩}{11}
+\indexentry{最}{12}
+\indexentry{晶}{12}
+\indexentry{勢}{13}
+\indexentry{源}{13}
+\indexentry{態}{14}
+\indexentry{語}{14}
+\indexentry{影}{15}
+\indexentry{暴}{15}
+\indexentry{壁}{16}
+\indexentry{橋}{16}
+\indexentry{優}{17}
+\indexentry{懇}{17}
+\indexentry{職}{18}
+\indexentry{題}{18}
+\indexentry{願}{19}
+\indexentry{鏡}{19}
+\indexentry{競}{20}
+\indexentry{議}{20}
+\indexentry{露}{21}
+\indexentry{躍}{21}
+\indexentry{襲}{22}
+\indexentry{鑑}{23}
+\indexentry{鹼}{24}
+\indexentry{灣}{25}
+\indexentry{驢}{26}
+\indexentry{纜}{27}
+\indexentry{鑿}{28}
+\indexentry{鬱}{29}
+\indexentry{鸞}{30}
+\indexentry{灩}{31}
+\indexentry{龖}{32}
+\indexentry{龗}{33}
+\indexentry{齾}{35}
+\indexentry{齉}{36}
+\indexentry{靐}{39}
+\indexentry{龘}{48}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhz.idx b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhz.idx
new file mode 100644
index 00000000000..792eed7e572
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/alpha_zhz.idx
@@ -0,0 +1,129 @@
+\indexentry{一}{101}
+\indexentry{二}{102}
+\indexentry{三}{103}
+\indexentry{四}{104}
+\indexentry{五}{105}
+\indexentry{六}{106}
+\indexentry{七}{160}
+\indexentry{八}{107}
+\indexentry{九}{108}
+\indexentry{十}{161}
+\indexentry{百}{202}
+\indexentry{千}{203}
+\indexentry{万}{204}
+\indexentry{億}{205}
+\indexentry{兆}{206}
+\indexentry{京}{260}
+\indexentry{春}{110}
+\indexentry{夏}{111}
+\indexentry{秋}{112}
+\indexentry{冬}{113}
+\indexentry{月}{114}
+\indexentry{火}{115}
+\indexentry{水}{116}
+\indexentry{木}{117}
+\indexentry{金}{118}
+\indexentry{土}{119}
+\indexentry{日}{120}
+\indexentry{子}{162}
+\indexentry{丑}{121}
+\indexentry{寅}{122}
+\indexentry{卯}{123}
+\indexentry{辰}{124}
+\indexentry{巳{125}
+\indexentry{午}{128}
+\indexentry{未}{129}
+\indexentry{申}{130}
+\indexentry{酉}{131}
+\indexentry{戌}{132}
+\indexentry{亥}{201}
+\indexentry{甲}{207}
+\indexentry{乙}{208}
+\indexentry{丙}{261}
+\indexentry{丁}{210}
+\indexentry{戊}{211}
+\indexentry{己}{212}
+\indexentry{庚}{213}
+\indexentry{辛}{214}
+\indexentry{壬}{215}
+\indexentry{癸}{216}
+\indexentry{東}{217}
+\indexentry{西}{218}
+\indexentry{南}{219}
+\indexentry{北}{220}
+\indexentry{靑}{221}
+\indexentry{赤}{222}
+\indexentry{黃}{223}
+\indexentry{白}{224}
+\indexentry{黑}{225}
+\indexentry{喜}{226}
+\indexentry{怒}{227}
+\indexentry{哀}{228}
+\indexentry{樂}{229}
+\indexentry{花}{230}
+\indexentry{鳥}{231}
+\indexentry{風}{232}
+\indexentry{月}{233}
+\indexentry{天}{234}
+\indexentry{馬}{235}
+\indexentry{行}{236}
+\indexentry{空}{237}
+\indexentry{品}{238}
+\indexentry{行}{239}
+\indexentry{方}{240}
+\indexentry{正}{241}
+\indexentry{海}{242}
+\indexentry{翁}{243}
+\indexentry{好}{244}
+\indexentry{鷗}{245}
+\indexentry{安}{246}
+\indexentry{心}{247}
+\indexentry{立}{248}
+\indexentry{命}{249}
+\indexentry{勸}{250}
+\indexentry{善}{251}
+\indexentry{懲}{252}
+\indexentry{惡}{253}
+\indexentry{恩}{1002}
+\indexentry{蒽}{1003}
+\indexentry{骯}{1004}
+\indexentry{卬}{1005}
+\indexentry{鞥}{1006}
+\indexentry{阿}{1007}
+\indexentry{嗄}{1008}
+\indexentry{哦}{1009}
+\indexentry{喔}{1010}
+\indexentry{次}{1014}
+\indexentry{促}{1015}
+\indexentry{重新@重新 (chóng xīn, ㄔㄨㄥˊ ㄒㄧㄣ)}{6000}
+\indexentry{重要@重要 (zhòng yào, ㄓㄨㄥˋ ㄧㄠˋ)}{6001}
+\indexentry{長年@長年 (cháng nián, ㄔㄤˊ ㄋㄧㄢˊ)}{6010}
+\indexentry{長短@長短 (cháng duǎn, ㄔㄤˊ ㄉㄨㄢˇ)}{6011}
+\indexentry{長大@長大 (zhǎng dà, ㄓㄤˇ ㄉㄚˋ)}{6012}
+\indexentry{长年}{6013}
+\indexentry{长短}{6014}
+\indexentry{长大}{6015}
+\indexentry{常年@常年 (cháng nián, ㄔㄤˊ ㄋㄧㄢˊ)}{6016}
+\indexentry{調查@調查 (diào chá, ㄉㄧㄠˋ ㄓㄚ)}{6020}
+\indexentry{調整@調整 (tiáo zhěng, ㄊㄧㄠˊ ㄓㄥˇ)}{6021}
+\indexentry{调查}{6022}
+\indexentry{调整}{6023}
+\indexentry{重}{6100}
+\indexentry{長}{6101}
+\indexentry{长}{6102}
+\indexentry{調}{6103}
+\indexentry{调}{6104}
+\indexentry{常@常 (cháng, ㄔㄤˊ)}{6200}
+\indexentry{腸@腸 (cháng, ㄔㄤˊ)}{6201}
+\indexentry{崇@崇 (chóng, ㄔㄨㄥˊ)}{6202}
+\indexentry{蟲@蟲 (chóng, ㄔㄨㄥˊ)}{6203}
+\indexentry{虫@虫 (chóng, ㄔㄨㄥˊ)}{6204}
+\indexentry{條@條 (tiáo, ㄊㄧㄠˊ)}{6204}
+\indexentry{条@条 (tiáo, ㄊㄧㄠˊ)}{6205}
+\indexentry{仲@仲 (zhòng, ㄓㄨㄥˋ)}{6206}
+\indexentry{衆@衆 (zhòng, ㄓㄨㄥˋ)}{6207}
+\indexentry{众@众 (zhòng, ㄓㄨㄥˋ)}{6208}
+\indexentry{掉@掉 (diào, ㄉㄧㄠˋ)}{6209}
+\indexentry{吊@吊 (diào, ㄉㄧㄠˋ)}{6210}
+\indexentry{弔@弔 (diào, ㄉㄧㄠˋ)}{6211}
+\indexentry{掌@掌 (zhǎng, ㄓㄤˇ)}{6212}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es.ist
new file mode 100644
index 00000000000..bef3be184ce
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es.ist
@@ -0,0 +1,4 @@
+% -*- coding: utf-8 -*-
+
+icu_locale "es"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es1.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es1.ist
new file mode 100644
index 00000000000..3ff1f401eaf
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es1.ist
@@ -0,0 +1,5 @@
+% -*- coding: utf-8 -*-
+
+%icu_locale "es@collation=traditional"
+icu_locale "es-u-co-trad"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es2.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es2.ist
new file mode 100644
index 00000000000..6af031c9144
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es2.ist
@@ -0,0 +1,5 @@
+% -*- coding: utf-8 -*-
+
+%icu_locale "es@collation=search"
+icu_locale "es-u-co-search"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head1.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head1.ist
new file mode 100644
index 00000000000..06c3eea2d0c
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head1.ist
@@ -0,0 +1,10 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head2.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head2.ist
new file mode 100644
index 00000000000..2d6bac57d80
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head2.ist
@@ -0,0 +1,10 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag -1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head3.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head3.ist
new file mode 100644
index 00000000000..6b0c7ccd975
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_head3.ist
@@ -0,0 +1,10 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 2
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh1.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh1.ist
new file mode 100644
index 00000000000..8ebe0fd5740
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh1.ist
@@ -0,0 +1,13 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+icu_locale "zh"
+icu_rules "&常年<<长年<<长短<<長年<<長短 &崇<<重新 &條<<调整<<調整"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh11.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh11.ist
new file mode 100644
index 00000000000..62ef4f2d293
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh11.ist
@@ -0,0 +1,13 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+%icu_locale "zh@collation=unihan"
+icu_locale "zh-u-co-unihan"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh12.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh12.ist
new file mode 100644
index 00000000000..57dc249c8c5
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh12.ist
@@ -0,0 +1,14 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+%icu_locale "zh@collation=unihan"
+icu_locale "zh-u-co-unihan"
+hanzi_head "一部;丨部;丶部;丿部;乙部;亅部;二部;亠部;人部;儿部;入部;八部;冂部;冖部;冫部;几部;凵部;刀部;力部;勹部;匕部;匚部;匸部;十部;卜部;卩部;厂部;厶部;又部;口部;囗部;土部;士部;夂部;夊部;夕部;大部;女部;子部;宀部;寸部;小部;尢部;尸部;屮部;山部;巛部;工部;己部;巾部;干部;幺部;广部;廴部;廾部;弋部;弓部;彐部;彡部;彳部;心部;戈部;戶部;手部;支部;攴部;文部;斗部;斤部;方部;无部;日部;曰部;月部;木部;欠部;止部;歹部;殳部;毋部;比部;毛部;氏部;气部;水部;火部;爪部;父部;爻部;爿部;片部;牙部;牛部;犬部;玄部;玉部;瓜部;瓦部;甘部;生部;用部;田部;疋部;疒部;癶部;白部;皮部;皿部;目部;矛部;矢部;石部;示部;禸部;禾部;穴部;立部;竹部;米部;糸部;缶部;网部;羊部;羽部;老部;而部;耒部;耳部;聿部;肉部;臣部;自部;至部;臼部;舌部;舛部;舟部;艮部;色部;艸部;虍部;虫部;血部;行部;衣部;襾部;見部;角部;言部;谷部;豆部;豕部;豸部;貝部;赤部;走部;足部;身部;車部;辛部;辰部;辵部;邑部;酉部;釆部;里部;金部;長部;門部;阜部;隶部;隹部;雨部;靑部;非部;面部;革部;韋部;韭部;音部;頁部;風部;飛部;食部;首部;香部;馬部;骨部;高部;髟部;鬥部;鬯部;鬲部;鬼部;魚部;鳥部;鹵部;鹿部;麥部;麻部;黃部;黍部;黑部;黹部;黽部;鼎部;鼓部;鼠部;鼻部;齊部;齒部;龍部;龜部;龠部"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh13.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh13.ist
new file mode 100644
index 00000000000..e0248d63904
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh13.ist
@@ -0,0 +1,14 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+%icu_locale "ja@collation=unihan"
+icu_locale "ja-u-co-unihan"
+hanzi_head "一部;丨部;丶部;丿部;乙部;亅部;二部;亠部;人部;儿部;入部;八部;冂部;冖部;冫部;几部;凵部;刀部;力部;勹部;匕部;匚部;匸部;十部;卜部;卩部;厂部;厶部;又部;口部;囗部;土部;士部;夂部;夊部;夕部;大部;女部;子部;宀部;寸部;小部;尢部;尸部;屮部;山部;巛部;工部;己部;巾部;干部;幺部;广部;廴部;廾部;弋部;弓部;彐部;彡部;彳部;心部;戈部;戸部;手部;支部;攴部;文部;斗部;斤部;方部;无部;日部;曰部;月部;木部;欠部;止部;歹部;殳部;毋部;比部;毛部;氏部;气部;水部;火部;爪部;父部;爻部;爿部;片部;牙部;牛部;犬部;玄部;玉部;瓜部;瓦部;甘部;生部;用部;田部;疋部;疒部;癶部;白部;皮部;皿部;目部;矛部;矢部;石部;示部;禸部;禾部;穴部;立部;竹部;米部;糸部;缶部;网部;羊部;羽部;老部;而部;耒部;耳部;聿部;肉部;臣部;自部;至部;臼部;舌部;舛部;舟部;艮部;色部;艸部;虍部;虫部;血部;行部;衣部;襾部;見部;角部;言部;谷部;豆部;豕部;豸部;貝部;赤部;走部;足部;身部;車部;辛部;辰部;辵部;邑部;酉部;釆部;里部;金部;長部;門部;阜部;隶部;隹部;雨部;靑部;非部;面部;革部;韋部;韭部;音部;頁部;風部;飛部;食部;首部;香部;馬部;骨部;高部;髟部;鬥部;鬯部;鬲部;鬼部;魚部;鳥部;鹵部;鹿部;麥部;麻部;黃部;黍部;黑部;黹部;黽部;鼎部;鼓部;鼠部;鼻部;齊部;齒部;龍部;龜部;龠部"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh14.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh14.ist
new file mode 100644
index 00000000000..f54483f7d21
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh14.ist
@@ -0,0 +1,14 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+%icu_locale "ko@collation=unihan"
+icu_locale "ko-u-co-unihan"
+hanzi_head "一部;丨部;丶部;丿部;乙部;亅部;二部;亠部;人部;儿部;入部;八部;冂部;冖部;冫部;几部;凵部;刀部;力部;勹部;匕部;匚部;匸部;十部;卜部;卩部;厂部;厶部;又部;口部;囗部;土部;士部;夂部;夊部;夕部;大部;女部;子部;宀部;寸部;小部;尢部;尸部;屮部;山部;巛部;工部;己部;巾部;干部;幺部;广部;廴部;廾部;弋部;弓部;彐部;彡部;彳部;心部;戈部;戶部;手部;支部;攴部;文部;斗部;斤部;方部;无部;日部;曰部;月部;木部;欠部;止部;歹部;殳部;毋部;比部;毛部;氏部;气部;水部;火部;爪部;父部;爻部;爿部;片部;牙部;牛部;犬部;玄部;玉部;瓜部;瓦部;甘部;生部;用部;田部;疋部;疒部;癶部;白部;皮部;皿部;目部;矛部;矢部;石部;示部;禸部;禾部;穴部;立部;竹部;米部;糸部;缶部;网部;羊部;羽部;老部;而部;耒部;耳部;聿部;肉部;臣部;自部;至部;臼部;舌部;舛部;舟部;艮部;色部;艸部;虍部;虫部;血部;行部;衣部;襾部;見部;角部;言部;谷部;豆部;豕部;豸部;貝部;赤部;走部;足部;身部;車部;辛部;辰部;辵部;邑部;酉部;釆部;里部;金部;長部;門部;阜部;隶部;隹部;雨部;靑部;非部;面部;革部;韋部;韭部;音部;頁部;風部;飛部;食部;首部;香部;馬部;骨部;高部;髟部;鬥部;鬯部;鬲部;鬼部;魚部;鳥部;鹵部;鹿部;麥部;麻部;黃部;黍部;黑部;黹部;黽部;鼎部;鼓部;鼠部;鼻部;齊部;齒部;龍部;龜部;龠部"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh2.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh2.ist
new file mode 100644
index 00000000000..45ad87e58c2
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh2.ist
@@ -0,0 +1,13 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag -1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+icu_locale "zh"
+icu_rules "&常年<<长年<<长短<<長年<<長短 &崇<<重新 &條<<调整<<調整"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh21.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh21.ist
new file mode 100644
index 00000000000..88ab4469300
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh21.ist
@@ -0,0 +1,13 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+%icu_locale "zh@collation=stroke"
+icu_locale "zh-u-co-stroke"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh22.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh22.ist
new file mode 100644
index 00000000000..933fe3d9dfa
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh22.ist
@@ -0,0 +1,14 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+%icu_locale "zh@collation=stroke"
+icu_locale "zh-u-co-stroke"
+hanzi_head "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画;35画;36画;39画;48画"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh31.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh31.ist
new file mode 100644
index 00000000000..77ad0e08efe
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh31.ist
@@ -0,0 +1,14 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+%icu_locale "zh@collation=zhuyin"
+icu_locale "zh-u-co-zhuyin"
+icu_rules "&常年<<长年<<长短<<長年<<長短 &崇<<重新 &條<<调整<<調整"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/french.idx b/Master/texmf-dist/doc/support/upmendex/samples/french.idx
new file mode 100644
index 00000000000..1e1bcec28d7
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/french.idx
@@ -0,0 +1,18 @@
+\indexentry{Rousseau}{1}
+\indexentry{Rouault}{2}
+\indexentry{Redon}{3}
+\indexentry{Toulouse-Lautrec}{4}
+\indexentry{Gogh}{5}
+\indexentry{Corot}{6}
+\indexentry{Monet}{7}
+\indexentry{Millet}{8}
+\indexentry{Manet}{9}
+\indexentry{Cézanne}{10}
+\indexentry{Seurat}{11}
+\indexentry{Degas}{12}
+\indexentry{Pissarro}{13}
+\indexentry{Renoir}{14}
+\indexentry{Léger}{15}
+\indexentry{Bernard}{16}
+\indexentry{Chagall}{17}
+\indexentry{Braque}{18}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/german.idx b/Master/texmf-dist/doc/support/upmendex/samples/german.idx
new file mode 100644
index 00000000000..453d9733bde
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/german.idx
@@ -0,0 +1,19 @@
+\indexentry{Mann}{1}
+\indexentry{Rilke}{2}
+\indexentry{Hofmannsthal}{3}
+\indexentry{Straßburg}{4}
+\indexentry{Grimm}{5}
+\indexentry{Kästner}{6}
+\indexentry{Kafka}{7}
+\indexentry{Brecht}{8}
+\indexentry{Jelinek}{9}
+\indexentry{Grass}{10}
+\indexentry{Hesse}{11}
+\indexentry{Goethe}{12}
+\indexentry{Heine}{13}
+\indexentry{Storm}{14}
+\indexentry{Hoffmann}{15}
+\indexentry{Schiller}{16}
+\indexentry{Hölderlin}{17}
+\indexentry{Büchner}{18}
+\indexentry{Rückert}{19}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/greek.idx b/Master/texmf-dist/doc/support/upmendex/samples/greek.idx
new file mode 100644
index 00000000000..56bbe423ca1
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/greek.idx
@@ -0,0 +1,10 @@
+\indexentry{Θαλής}{1}
+\indexentry{Πυθαγόρας}{2}
+\indexentry{Ηράκλειτος}{3}
+\indexentry{Δημόκριτος}{4}
+\indexentry{Πρωταγόρας}{5}
+\indexentry{Σωκράτης}{6}
+\indexentry{Πλάτων}{7}
+\indexentry{Ἀριστοτέλης}{8}
+\indexentry{Ζήνων}{9}
+\indexentry{Αναξαγορας}{10}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/korean.idx b/Master/texmf-dist/doc/support/upmendex/samples/korean.idx
new file mode 100644
index 00000000000..f46789ca513
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/korean.idx
@@ -0,0 +1,60 @@
+% -*- coding: utf-8 -*-
+\indexentry{과일}{1}
+\indexentry{사과}{1}
+\indexentry{바나나}{1}
+\indexentry{포도}{1}
+\indexentry{딸기}{1}
+\indexentry{수박}{1}
+\indexentry{귤}{1}
+\indexentry{배}{1}
+\indexentry{복숭아}{1}
+\indexentry{메론}{1}
+\indexentry{키우이}{1}
+\indexentry{레몬}{1}
+\indexentry{야채}{2}
+\indexentry{무}{2}
+\indexentry{오이}{2}
+\indexentry{가지}{2}
+\indexentry{당근}{2}
+\indexentry{배추}{2}
+\indexentry{파}{2}
+\indexentry{옥수수}{2}
+\indexentry{토마토}{2}
+\indexentry{고추}{2}
+\indexentry{재료}{3}
+\indexentry{꿀}{3}
+\indexentry{쌀}{3}
+\indexentry{밥}{3}
+\indexentry{빵}{3}
+\indexentry{음료수}{4}
+\indexentry{케키}{4}
+\indexentry{차}{4}
+\indexentry{우유}{4}
+\indexentry{커피}{4}
+\indexentry{홍차}{4}
+\indexentry{녹차}{4}
+\indexentry{주스}{4}
+\indexentry{맥주}{4}
+\indexentry{소주}{4}
+\indexentry{막걸리}{4}
+\indexentry{요리}{5}
+\indexentry{김치}{5}
+\indexentry{나물}{5}
+\indexentry{찌개}{5}
+\indexentry{비빔밥}{5}
+\indexentry{불고기}{5}
+\indexentry{국밥}{5}
+\indexentry{갈비}{5}
+\indexentry{떡볶이}{5}
+\indexentry{김밥}{5}
+\indexentry{삼겹살}{5}
+\indexentry{냉면}{5}
+\indexentry{만두}{5}
+\indexentry{도시}{6}
+\indexentry{서울}{6}
+\indexentry{부산@부산(釜山)}{6}
+\indexentry{인천@인천(仁川)}{6}
+\indexentry{대구@대구(大邱)}{6}
+\indexentry{대전@대전(大田)}{6}
+\indexentry{광주@광주(光州)}{6}
+\indexentry{울산@울산(蔚山)}{6}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/latex/Makefile b/Master/texmf-dist/doc/support/upmendex/samples/latex/Makefile
new file mode 100644
index 00000000000..c10ffc0ca39
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/latex/Makefile
@@ -0,0 +1,24 @@
+UPMENDEX = upmendex
+DVIPDFMX = dvipdfmx -f haranoaji-uptex.map
+
+city0.ind:
+ $(UPMENDEX) city0 -s mlg0.ist
+
+city0.pdf:
+ xelatex city0.tex
+ xelatex city0.tex
+ $(UPMENDEX) city0 -s mlg0.ist
+ xelatex city0.tex
+
+city1.ind:
+ $(UPMENDEX) city1 -s mlg1.ist
+
+city1.dvi:
+ uplatex city1.tex
+ uplatex city1.tex
+ $(UPMENDEX) city1 -s mlg1.ist
+ uplatex city1.tex
+
+city1.pdf:
+ $(DVIPDFMX) city1.dvi
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/latex/city0.tex b/Master/texmf-dist/doc/support/upmendex/samples/latex/city0.tex
new file mode 100644
index 00000000000..24ccd3dcc62
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/latex/city0.tex
@@ -0,0 +1,203 @@
+%
+% Example of XeLaTeX, polyglossia, Noto fonts and upmendex
+% in Latin, CJK (Chinese, Japanese, Korean), Cyrillic, Greek,
+% Devanagari, Thai, Arabic and Hebrew
+%
+%
+% Copyright (C) 2022 TANAKA Takuji
+% You may freely use, modify and/or distribute this file.
+%
+\documentclass[a4paper]{article}
+
+\usepackage{fontspec}
+\usepackage{polyglossia}
+\usepackage{makeidx}
+\makeindex
+
+\setdefaultlanguage{english}
+\setromanfont{Noto Serif}
+\setmainfont{Noto Serif}
+\newfontfamily\cyrillicfont{Noto Serif}
+\setotherlanguage{russian}
+\newfontfamily\greekfont{Noto Serif}
+\setotherlanguage{greek}
+\newfontfamily\japanesefont{Noto Serif CJK JP}[Language=Japanese,Script=CJK]
+\setotherlanguage{japanese}
+\newfontfamily\koreanfont{Noto Serif CJK KR}[Language=Korean,Script=Hangul]
+\setotherlanguage{korean}
+\newfontfamily\hindifont{Noto Serif Devanagari}[Language=Hindi,Script=Devanagari]
+\setotherlanguage{hindi}
+\newfontfamily\thaifont{Noto Serif Thai}[Language=Thai,Script=Thai]
+\setotherlanguage{thai}
+\newfontfamily\hebrewfont{Noto Serif Hebrew}[Script=Hebrew]
+\setotherlanguage{hebrew}
+\newfontfamily\arabicfont{Noto Naskh Arabic}[Script=Arabic]
+\setotherlanguage{arabic}
+%\newfontfamily\chinesefont{Noto Serif CJK TC}[Script=CJK]
+\newfontfamily\chinesefont{Noto Serif CJK SC}[Script=CJK]
+\setotherlanguage{chinese}
+
+\parindent1em
+\begin{document}
+\section{Latin}
+This is an English text.
+
+upmendex\index{upmendex}.
+Install of upmendex\index{upmendex!Install@Install of ---}.
+Usage of upmendex\index{upmendex!Usage@Usage of ---}.
+Usage of upmendex for beginners\index{upmendex!Usage@Usage of ---!for beginners@--- for beginners}.
+Usage of upmendex for experts\index{upmendex!Usage@Usage of ---!for experts@--- for experts}.
+
+Number: 3.14159265\index{3.14159265}, 2.71828182\index{2.71828182}.
+Symbol: \$\index{\$}, €\index{€}, ¥\index{¥}.
+
+São Paulo\index{São Paulo}.
+Ciudad de México\index{Ciudad de México}.
+New York\index{New York}.
+Buenos Aires\index{Buenos Aires}.
+İstanbul\index{İstanbul}.
+Rio de Janeiro\index{Rio de Janeiro}.
+London\index{London}.
+Manila\index{Manila}.
+Paris\index{Paris}.
+Berlin\index{Berlin}.
+
+\section{CJK}
+\subsection{Japanese (Kana, Kanji)}
+\begin{japanese}
+これは日本語のテキストです。
+
+upmendex\index{upmendex}。
+upmendexのインストール\index{upmendex!のインストール@---\textjapanese{のインストール}}。
+upmendexの使い方\index{upmendex!のつかいかた@---\textjapanese{の使い方}}。
+upmendexの使い方入門編\index{upmendex!のつかいかた@---\textjapanese{の使い方}!にゅうもんへん@---\textjapanese{入門編}}。
+upmendexの使い方応用編\index{upmendex!のつかいかた@---\textjapanese{の使い方}!おうようへん@---\textjapanese{応用編}}。
+
+東京\index{とうきょう@東京}。
+横浜\index{よこはま@横浜}。
+大阪\index{おおさか@大阪}。
+名古屋\index{なごや@名古屋}。
+札幌\index{さっぽろ@札幌}。
+福岡\index{ふくおか@福岡}。
+川崎\index{かわさき@川崎}。
+神戸\index{こうべ@神戸}。
+京都\index{きょうと@京都}。
+さいたま\index{さいたま}。
+\end{japanese}
+
+\subsection{Korean (Hangul, Hanja)}
+\begin{korean}
+이것은 한국어 텍스트입니다.
+
+서울\index{서울}.
+부산(釜山)\index{부산@부산(釜山)}.
+인천(仁川)\index{인천@인천(仁川)}.
+대구(大邱)\index{대구@대구(大邱)}.
+대전(大田)\index{대전@대전(大田)}.
+광주(光州)\index{광주@광주(光州)}.
+울산(蔚山)\index{울산@울산(蔚山)}.
+평양(平壤)\index{평양@평양(平壤)}.
+\end{korean}
+
+\subsection{Chinese (Hanzi)}
+\begin{chinese}
+這是中文文本。
+这是中文文本。
+
+北京\index{北京}。
+上海\index{上海}。
+天津\index{天津}。
+廈門(厦门)\index{廈門(厦门)}。
+深圳\index{深圳}。
+成都\index{成都}。
+杭州\index{杭州}。
+香港\index{香港}。
+臺北\index{臺北}。
+高雄\index{高雄}。
+桃園(桃园)\index{桃園(桃园)}。
+\end{chinese}
+
+\section{Cyrillic}
+\begin{russian}
+Здесь русский текст.
+
+Москва\index{Москва}.
+Санкт-Петербург\index{Санкт-Петербург}.
+Новосибирск\index{Новосибирск}.
+Київ\index{Київ}.
+Одеса\index{Одеса}.
+Харків\index{Харків}.
+София\index{София}.
+Београд\index{Београд}.
+Бишкек\index{Бишкек}.
+Скопје\index{Скопје}.
+Мінск\index{Мінск}.
+Нұр-Сұлтан\index{Нұр-Сұлтан}.
+\end{russian}
+
+\section{Greek}
+\begin{greek}
+Ελληνικό κείμενο εδώ.
+
+Αθήνα\index{Αθήνα}.
+Θεσσαλονίκη\index{Θεσσαλονίκη}.
+Πάτρα\index{Πάτρα}.
+Ηράκλειο\index{Ηράκλειο}.
+Λάρισα\index{Λάρισα}.
+\end{greek}
+
+\section{Devanagari}
+\begin{hindi}
+यह हिन्दी पाठ है।
+
+मुंबई\index{मुंबई}
+दिल्ली\index{दिल्ली}
+कोलकाता\index{कोलकाता}
+कानपुर\index{कानपुर}
+बंगलुरु\index{बंगलुरु}
+\end{hindi}
+
+\section{Thai}
+\begin{thai}
+นี่คือข้อความภาษาไทย
+
+กรุงเทพมหานคร\index{กรุงเทพมหานคร}
+นนทบุรี\index{นนทบุรี}
+นครราชสีมา\index{นครราชสีมา}
+เชียงใหม่\index{เชียงใหม่}
+หาดใหญ่\index{หาดใหญ่}
+\end{thai}
+
+\section{Arabic}
+\begin{Arabic}%% "Arabic", not "arabic"
+
+هذا نص عربي.
+
+دبي\index{دبي}
+أبو ظبي\index{أبو ظبي}
+الشارقة\index{الشارقة}
+تهران\index{تهران}
+مشهد\index{مشهد}
+اصفهان\index{اصفهان}
+
+\end{Arabic}
+
+\section{Hebrew}
+\begin{hebrew}
+
+
+
+זה טקסט בעברית
+
+ירושלים\index{ירושלים}
+תל אביב\index{תל אביב}
+חיפה\index{חיפה}
+ראשון לציון\index{ראשון לציון}
+אשדוד\index{אשדוד}
+
+\end{hebrew}
+
+
+\printindex
+
+\end{document}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/latex/city1.tex b/Master/texmf-dist/doc/support/upmendex/samples/latex/city1.tex
new file mode 100644
index 00000000000..075edaaaccb
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/latex/city1.tex
@@ -0,0 +1,124 @@
+%
+% Example of upLaTeX, pxbabel, HaranoAji fonts and upmendex
+% in Latin, CJK (Chinese, Japanese, Korean) and Cyrillic
+%
+%
+% Copyright (C) 2022 TANAKA Takuji
+% You may freely use, modify and/or distribute this file.
+%
+\documentclass[a4paper]{ujarticle}
+
+\usepackage[T2A,T1]{fontenc}
+\usepackage{lmodern}
+%\usepackage{tgtermes,tgheros}
+\usepackage[japanese,korean,tchinese,schinese,english]{pxbabel}
+
+\kcatcode`¥=15% U+00:¥ (Latin-1 Supplement)
+\kcatcode`П=15% U+041F:П (Cyrillic)
+\kcatcode`’=15% U+2019:’ (General Punctuation)
+\kcatcode`€=15% U+20AC:€ (Currency Symbols)
+
+\usepackage{makeidx}
+\makeindex
+
+\parindent1em
+\begin{document}
+\section{Latin}
+This is an English text.
+
+upmendex\index{upmendex}.
+Install of upmendex\index{upmendex!Install@Install of ---}.
+Usage of upmendex\index{upmendex!Usage@Usage of ---}.
+Usage of upmendex for beginners\index{upmendex!Usage@Usage of ---!for beginners@--- for beginners}.
+Usage of upmendex for experts\index{upmendex!Usage@Usage of ---!for experts@--- for experts}.
+
+Number: 3.14159265\index{3.14159265}, 2.71828182\index{2.71828182}.
+Symbol: \$\index{\$}, €\index{€}, ¥\index{¥}.
+
+São Paulo\index{São Paulo}.
+Ciudad de México\index{Ciudad de México}.
+New York\index{New York}.
+Buenos Aires\index{Buenos Aires}.
+İstanbul\index{İstanbul}.
+Rio de Janeiro\index{Rio de Janeiro}.
+London\index{London}.
+Manila\index{Manila}.
+Paris\index{Paris}.
+Berlin\index{Berlin}.
+
+\section{CJK}
+\subsection{Japanese (Kana, Kanji)}
+これは日本語のテキストです。
+
+upmendex\index{upmendex}。
+upmendexのインストール\index{upmendex!のインストール@---のインストール}。
+upmendexの使い方\index{upmendex!のつかいかた@---の使い方}。
+upmendexの使い方入門編\index{upmendex!のつかいかた@---の使い方!にゅうもんへん@---入門編}。
+upmendexの使い方応用編\index{upmendex!のつかいかた@---の使い方!おうようへん@---応用編}。
+
+東京\index{とうきょう@東京}。
+横浜\index{よこはま@横浜}。
+大阪\index{おおさか@大阪}。
+名古屋\index{なごや@名古屋}。
+札幌\index{さっぽろ@札幌}。
+福岡\index{ふくおか@福岡}。
+川崎\index{かわさき@川崎}。
+神戸\index{こうべ@神戸}。
+京都\index{きょうと@京都}。
+さいたま\index{さいたま}。
+
+\subsection{Korean (Hangul, Hanja)}
+\begin{otherlanguage}{korean}
+이것은 한국어 텍스트입니다.
+
+서울\index{서울}.
+부산(釜山)\index{부산@부산(釜山)}.
+인천(仁川)\index{인천@인천(仁川)}.
+대구(大邱)\index{대구@대구(大邱)}.
+대전(大田)\index{대전@대전(大田)}.
+광주(光州)\index{광주@광주(光州)}.
+울산(蔚山)\index{울산@울산(蔚山)}.
+평양(平壤)\index{평양@평양(平壤)}.
+\end{otherlanguage}
+
+\subsection{Chinese (Hanzi)}
+\begin{otherlanguage}{tchinese}
+這是中文文本。
+\foreignlanguage{schinese}{这是中文文本。}
+
+北京\index{北京}。
+上海\index{上海}。
+天津\index{天津}。
+廈門\foreignlanguage{schinese}{(厦门)}\index{廈門@廈門\foreignlanguage{schinese}{(厦门)}}。
+深圳\index{深圳}。
+成都\index{成都}。
+杭州\index{杭州}。
+香港\index{香港}。
+臺北\index{臺北}。
+高雄\index{高雄}。
+桃園\foreignlanguage{schinese}{(桃园)}\index{桃園@桃園\foreignlanguage{schinese}{(桃园)}}。
+\end{otherlanguage}
+
+\section{Cyrillic}
+\fontencoding{T2A}\selectfont
+Здесь русский текст.
+
+Москва\index{Москва}.
+Санкт-Петербург\index{Санкт-Петербург}.
+Новосибирск\index{Новосибирск}.
+Київ\index{Київ}.
+Одеса\index{Одеса}.
+Харків\index{Харків}.
+София\index{София}.
+Београд\index{Београд}.
+Бишкек\index{Бишкек}.
+Скопје\index{Скопје}.
+Мінск\index{Мінск}.
+Нұр-Сұлтан\index{Нұр-Сұлтан}.
+
+\selectlanguage{english}
+\fontencoding{T1}\selectfont
+
+\printindex
+
+\end{document}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/latex/haranoaji-uptex.map b/Master/texmf-dist/doc/support/upmendex/samples/latex/haranoaji-uptex.map
new file mode 100644
index 00000000000..45a8efebf1f
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/latex/haranoaji-uptex.map
@@ -0,0 +1,40 @@
+%
+% dvipdfmx map file for upTeX and HaranoAji fonts
+%
+% Ref.
+% https://github.com/trueroad/HaranoAjiFonts
+% https://github.com/trueroad/HaranoAjiFontsCN
+% https://github.com/trueroad/HaranoAjiFontsTW
+% https://github.com/trueroad/HaranoAjiFontsK1
+%
+% You may freely use, modify and/or distribute this file.
+%
+rml H HaranoAjiMincho-Regular.otf
+rmlv V HaranoAjiMincho-Regular.otf
+gbm H HaranoAjiGothic-Medium.otf
+gbmv V HaranoAjiGothic-Medium.otf
+
+urml UniJISup-UTF16-H HaranoAjiMincho-Regular.otf
+urmlv UniJISup-UTF16-V HaranoAjiMincho-Regular.otf
+ugbm UniJISup-UTF16-H HaranoAjiGothic-Medium.otf
+ugbmv UniJISup-UTF16-V HaranoAjiGothic-Medium.otf
+uprml-h UniJISup-UTF16-H HaranoAjiMincho-Regular.otf
+uprml-v UniJISup-UTF16-V HaranoAjiMincho-Regular.otf
+upgbm-h UniJISup-UTF16-H HaranoAjiGothic-Medium.otf
+upgbm-v UniJISup-UTF16-V HaranoAjiGothic-Medium.otf
+uprml-hq UniJIS-UCS2-H HaranoAjiMincho-Regular.otf
+upgbm-hq UniJIS-UCS2-H HaranoAjiGothic-Medium.otf
+
+uphysmjm-h UniKS-UTF16-H HaranoAjiMinchoK1-Regular.otf
+uphysmjm-v UniKS-UTF16-V HaranoAjiMinchoK1-Regular.otf
+uphygt-h UniKS-UTF16-H HaranoAjiGothicK1-Medium.otf
+uphygt-v UniKS-UTF16-V HaranoAjiGothicK1-Medium.otf
+upstsl-h UniGB-UTF16-H HaranoAjiMinchoCN-Regular.otf
+upstsl-v UniGB-UTF16-V HaranoAjiMinchoCN-Regular.otf
+upstht-h UniGB-UTF16-H HaranoAjiGothicCN-Medium.otf
+upstht-v UniGB-UTF16-V HaranoAjiGothicCN-Medium.otf
+upmsl-h UniCNS-UTF16-H HaranoAjiMinchoTW-Regular.otf
+upmsl-v UniCNS-UTF16-V HaranoAjiMinchoTW-Regular.otf
+upmhm-h UniCNS-UTF16-H HaranoAjiGothicTW-Medium.otf
+upmhm-v UniCNS-UTF16-V HaranoAjiGothicTW-Medium.otf
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/latex/mlg0.ist b/Master/texmf-dist/doc/support/upmendex/samples/latex/mlg0.ist
new file mode 100644
index 00000000000..11e6ca45266
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/latex/mlg0.ist
@@ -0,0 +1,32 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill \\textenglish{"
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill \\textenglish{"
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill \\textenglish{"
+delim_t "}"
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries \\textenglish{---} "
+lethead_suffix " \\textenglish{---}}\\par\\nobreak"
+
+icu_locale "ja@collation=unihan"
+hanzi_head "一部;丨部;丶部;丿部;乙部;亅部;二部;亠部;人部;儿部;入部;八部;冂部;冖部;冫部;几部;凵部;刀部;力部;勹部;匕部;匚部;匸部;十部;卜部;卩部;厂部;厶部;又部;口部;囗部;土部;士部;夂部;夊部;夕部;大部;女部;子部;宀部;寸部;小部;尢部;尸部;屮部;山部;巛部;工部;己部;巾部;干部;幺部;广部;廴部;廾部;弋部;弓部;彐部;彡部;彳部;心部;戈部;戶部;手部;支部;攴部;文部;斗部;斤部;方部;无部;日部;曰部;月部;木部;欠部;止部;歹部;殳部;毋部;比部;毛部;氏部;气部;水部;火部;爪部;父部;爻部;爿部;片部;牙部;牛部;犬部;玄部;玉部;瓜部;瓦部;甘部;生部;用部;田部;疋部;疒部;癶部;白部;皮部;皿部;目部;矛部;矢部;石部;示部;禸部;禾部;穴部;立部;竹部;米部;糸部;缶部;网部;羊部;羽部;老部;而部;耒部;耳部;聿部;肉部;臣部;自部;至部;臼部;舌部;舛部;舟部;艮部;色部;艸部;虍部;虫部;血部;行部;衣部;襾部;見部;角部;言部;谷部;豆部;豕部;豸部;貝部;赤部;走部;足部;身部;車部;辛部;辰部;辵部;邑部;酉部;釆部;里部;金部;長部;門部;阜部;隶部;隹部;雨部;靑部;非部;面部;革部;韋部;韭部;音部;頁部;風部;飛部;食部;首部;香部;馬部;骨部;高部;髟部;鬥部;鬯部;鬲部;鬼部;魚部;鳥部;鹵部;鹿部;麥部;麻部;黃部;黍部;黑部;黹部;黽部;鼎部;鼓部;鼠部;鼻部;齊部;齒部;龍部;龜部;龠部"
+
+script_preamble hangul "\n\n\\begin{korean}"
+script_postamble hangul "\n\\end{korean}"
+script_preamble kana "\n\n\\begin{japanese}"
+script_postamble kana "\n\\end{japanese}"
+script_preamble hanzi "\n\n\\begin{chinese}"
+script_postamble hanzi "\n\\end{chinese}"
+script_preamble cyrillic "\n\n\\begin{russian}"
+script_postamble cyrillic "\n\\end{russian}"
+script_preamble greek "\n\n\\begin{greek}"
+script_postamble greek "\n\\end{greek}"
+script_preamble devanagari "\n\n\\begin{hindi}"
+script_postamble devanagari "\n\\end{hindi}"
+script_preamble thai "\n\n\\begin{thai}"
+script_postamble thai "\n\\end{thai}"
+script_preamble hebrew "\n\n\\begin{hebrew}"
+script_postamble hebrew "\n\\end{hebrew}"
+script_preamble arabic "\n\n\\begin{Arabic}"
+script_postamble arabic "\n\\end{Arabic}"
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/latex/mlg1.ist b/Master/texmf-dist/doc/support/upmendex/samples/latex/mlg1.ist
new file mode 100644
index 00000000000..308bc882882
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/latex/mlg1.ist
@@ -0,0 +1,19 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+icu_locale "ja@collation=unihan"
+hanzi_head "一部;丨部;丶部;丿部;乙部;亅部;二部;亠部;人部;儿部;入部;八部;冂部;冖部;冫部;几部;凵部;刀部;力部;勹部;匕部;匚部;匸部;十部;卜部;卩部;厂部;厶部;又部;口部;囗部;土部;士部;夂部;夊部;夕部;大部;女部;子部;宀部;寸部;小部;尢部;尸部;屮部;山部;巛部;工部;己部;巾部;干部;幺部;广部;廴部;廾部;弋部;弓部;彐部;彡部;彳部;心部;戈部;戶部;手部;支部;攴部;文部;斗部;斤部;方部;无部;日部;曰部;月部;木部;欠部;止部;歹部;殳部;毋部;比部;毛部;氏部;气部;水部;火部;爪部;父部;爻部;爿部;片部;牙部;牛部;犬部;玄部;玉部;瓜部;瓦部;甘部;生部;用部;田部;疋部;疒部;癶部;白部;皮部;皿部;目部;矛部;矢部;石部;示部;禸部;禾部;穴部;立部;竹部;米部;糸部;缶部;网部;羊部;羽部;老部;而部;耒部;耳部;聿部;肉部;臣部;自部;至部;臼部;舌部;舛部;舟部;艮部;色部;艸部;虍部;虫部;血部;行部;衣部;襾部;見部;角部;言部;谷部;豆部;豕部;豸部;貝部;赤部;走部;足部;身部;車部;辛部;辰部;辵部;邑部;酉部;釆部;里部;金部;長部;門部;阜部;隶部;隹部;雨部;靑部;非部;面部;革部;韋部;韭部;音部;頁部;風部;飛部;食部;首部;香部;馬部;骨部;高部;髟部;鬥部;鬯部;鬲部;鬼部;魚部;鳥部;鹵部;鹿部;麥部;麻部;黃部;黍部;黑部;黹部;黽部;鼎部;鼓部;鼠部;鼻部;齊部;齒部;龍部;龜部;龠部"
+
+script_preamble hangul "\n\n\\begin{otherlanguage}{korean}"
+script_postamble hangul "\n\\end{otherlanguage}"
+script_preamble hanzi "\n\n\\begin{otherlanguage}{tchinese}"
+script_postamble hanzi "\n\\end{otherlanguage}"
+script_preamble cyrillic "\n\n\\fontencoding{T2A}\\selectfont"
+script_postamble cyrillic "\n\\fontencoding{T1}\\selectfont"
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/mdxsty00.ist b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty00.ist
new file mode 100644
index 00000000000..06c3eea2d0c
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty00.ist
@@ -0,0 +1,10 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/mdxsty01.ist b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty01.ist
new file mode 100644
index 00000000000..24f4f5ff3be
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty01.ist
@@ -0,0 +1,12 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+character_order "NSTKDJHGCLah"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/mdxsty02.ist b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty02.ist
new file mode 100644
index 00000000000..f0536dd8638
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty02.ist
@@ -0,0 +1,22 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag -1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+character_order "JKHGCLTDhaSN"
+
+hangul_head "가나다라마바사아카"
+%% hangul_head "㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭"
+%% hangul_head "㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻"
+%% hangul_head "㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍"
+%% hangul_head "㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛"
+%% tumunja "가나다라마바사아카"
+%% tumunja "㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭"
+%% tumunja "㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻"
+%% tumunja "㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍"
+%% tumunja "㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛"
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/mdxsty03.ist b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty03.ist
new file mode 100644
index 00000000000..8b570699193
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty03.ist
@@ -0,0 +1,33 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+headings_flag 1
+heading_prefix "\n\\centerline{\\bfseries --- "
+heading_suffix " ---}\\par\\nobreak"
+
+character_order "SahHJKDTLCGN"
+symbol_flag 2
+
+script_preamble latin "\n% begin latin"
+script_postamble latin "\n% end latin"
+script_preamble cyrillic "\n% begin cyrillic"
+script_postamble cyrillic "\n% end cyrillic"
+script_preamble greek "\n% begin greek"
+script_postamble greek "\n% end greek"
+script_preamble kana "\n% begin kana"
+script_postamble kana "\n% end kana"
+script_preamble hangul "\n% begin hangul"
+script_postamble hangul "\n% end hangul"
+script_preamble hanzi "\n% begin hanzi"
+script_postamble hanzi "\n% end hanzi"
+script_preamble devanagari "\n% begin devanagari"
+script_postamble devanagari "\n% end devanagari"
+script_preamble thai "\n% begin thai"
+script_postamble thai "\n% end thai"
+script_preamble arabic "\n% begin arabic"
+script_postamble arabic "\n% end arabic"
+script_preamble hebrew "\n% begin hebrew"
+script_postamble hebrew "\n% end hebrew"
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/multi.idx b/Master/texmf-dist/doc/support/upmendex/samples/multi.idx
new file mode 100644
index 00000000000..29753bed433
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/multi.idx
@@ -0,0 +1,15 @@
+\indexentry{Σωκράτης}{1}
+\indexentry{Чайковский}{2}
+\indexentry{Cézanne}{3}
+\indexentry{Kästner}{4}
+\indexentry{もりおうがい@森鷗外}{5}
+\indexentry{세종대왕@세종대왕(世宗大王)}{6}
+\indexentry{王羲之}{7}
+\indexentry{0120¹₂③❹➄➏🄈⑻⒐㉈🄋🄌}{8}
+\indexentry{€$$¢¢££¥¥₩₩฿₹}{9}
+\indexentry{☃☎♥⚽☺☝✈🀅🍣👻}{10}
+\indexentry{⁇⁈⁉¡¿†*§¶}{10}
+\indexentry{พ่อขุนรามคำแหงมหาราช}{11}
+\indexentry{गौतम सिद्धार्थ}{12}
+\indexentry{محمد‎}{13}
+\indexentry{אֱלִיעֶזֶר בֶּן־יְהוּדָה‎}{14}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/Makefile b/Master/texmf-dist/doc/support/upmendex/samples/option/Makefile
new file mode 100644
index 00000000000..bb25080589b
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/Makefile
@@ -0,0 +1,25 @@
+UPMENDEX = upmendex
+
+#
+# test for icu_rules
+#
+rules:
+ for sty in 0; do \
+ $(UPMENDEX) -s mdxsty_attr_default.ist -s rule$$sty.ist -t rule0_$$sty.ilg -o rule0_$$sty.ind attri1.idx ; \
+ done
+
+#
+# test for Japanese
+#
+jp_u:
+ for sty in 00 01 02; do \
+ $(UPMENDEX) japanese.idx -s mdxsty_j$$sty.ist -d kana.dic -t japanese_$$sty-umdx.ilg -o japanese_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -l -s mdxsty_j$$sty.ist -d kana.dic -t japanese_l_$$sty-umdx.ilg -o japanese_l_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -c -s mdxsty_j$$sty.ist -d kana.dic -t japanese_c_$$sty-umdx.ilg -o japanese_c_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -l -c -s mdxsty_j$$sty.ist -d kana.dic -t japanese_lc_$$sty-umdx.ilg -o japanese_lc_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -r -s mdxsty_j$$sty.ist -d kana.dic -t japanese_r_$$sty-umdx.ilg -o japanese_r_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -g -s mdxsty_j$$sty.ist -d kana.dic -t japanese_g_$$sty-umdx.ilg -o japanese_g_$$sty-umdx.ind ; \
+ done
+
+clean:
+ rm -f *.ind *.ilg
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/attri1.idx b/Master/texmf-dist/doc/support/upmendex/samples/option/attri1.idx
new file mode 100644
index 00000000000..32b12767cb3
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/attri1.idx
@@ -0,0 +1,48 @@
+% -*- coding: utf-8 -*-
+\indexentry{delug}{100}
+\indexentry{de-luge}{101}
+\indexentry{delu-ge}{102}
+\indexentry{deluge}{103}
+\indexentry{Deluge}{104}
+\indexentry{deluge-}{105}
+\indexentry{cote}{200}
+\indexentry{coté}{201}
+\indexentry{côte}{202}
+\indexentry{côté}{203}
+\indexentry{black bird}{300}
+\indexentry{black Bird}{301}
+\indexentry{black birds}{302}
+\indexentry{black-bird}{303}
+\indexentry{black-Bird}{304}
+\indexentry{black-birds}{305}
+\indexentry{blackbird}{306}
+\indexentry{blackBird}{307}
+\indexentry{blackbirds}{308}
+\indexentry{A}{400}
+\indexentry{a}{401}
+\indexentry{Ä}{402}
+\indexentry{ä}{403}
+\indexentry{Å}{404}
+\indexentry{å}{405}
+\indexentry{B}{406}
+\indexentry{b}{407}
+\indexentry{E}{408}
+\indexentry{e}{409}
+\indexentry{Ë}{410}
+\indexentry{ë}{411}
+\indexentry{あいうえお}{500}
+\indexentry{アイウエオ}{501}
+\indexentry{アイうえお}{502}
+\indexentry{あいウエオ}{503}
+\indexentry{あイうエお}{504}
+\indexentry{アいウえオ}{505}
+\indexentry{いいいいい}{506}
+\indexentry{イイイイイ}{507}
+\indexentry{い}{508}
+\indexentry{イ}{509}
+\indexentry{A-123}{600}
+\indexentry{A-21}{601}
+\indexentry{A-9}{602}
+\indexentry{$1234.50}{603}
+\indexentry{$21.00}{604}
+\indexentry{$9.00}{605}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/japanese.idx b/Master/texmf-dist/doc/support/upmendex/samples/option/japanese.idx
new file mode 100644
index 00000000000..f0f6f8ac14a
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/japanese.idx
@@ -0,0 +1,34 @@
+% -*- coding: utf-8 -*-
+\indexentry{とうきょう}{1}
+\indexentry{ソウル}{1}
+\indexentry{ペキン}{1}
+\indexentry{ワルシャワ}{1}
+\indexentry{ヰーン}{1}
+\indexentry{ヱリントン}{1}
+\indexentry{ンジャメナ}{1}
+\indexentry{Xlib}{100}
+\indexentry{XView}{101}
+\indexentry{X Window}{102}
+\indexentry{X X}{102}
+\indexentry{X V}{102}
+\indexentry{X T }{102}
+\indexentry{X s}{102}
+\indexentry{X s}{103}
+\indexentry{index sort}{200}
+\indexentry{indファイル}{201}
+\indexentry{ind file}{202}
+\indexentry{か}{1}
+\indexentry{カ}{2}
+\indexentry{かかか}{3}
+\indexentry{かかか}{4}
+\indexentry{かかか}{5}
+\indexentry{かかか}{7}
+\indexentry{かかか}{8--10}
+\indexentry{カカカ}{20}
+\indexentry{カカカ}{21}
+\indexentry{A}{4001}
+\indexentry{B}{4002}
+\indexentry{C}{4003}
+\indexentry{A}{4004}
+\indexentry{B}{4005}
+\indexentry{C}{4006}
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_attr_default.ist b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_attr_default.ist
new file mode 100644
index 00000000000..f4335634706
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_attr_default.ist
@@ -0,0 +1,12 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+priority 0
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j00.ist b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j00.ist
new file mode 100644
index 00000000000..93ca3f5c151
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j00.ist
@@ -0,0 +1,11 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+priority 0
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j01.ist b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j01.ist
new file mode 100644
index 00000000000..b3b09443012
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j01.ist
@@ -0,0 +1,11 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+priority 1
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j02.ist b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j02.ist
new file mode 100644
index 00000000000..b5cac2a050c
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_j02.ist
@@ -0,0 +1,12 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+headings_flag 1
+heading_prefix "\n\\centerline{\\bfseries --- "
+heading_suffix " ---}\\par\\nobreak"
+
+priority 1
+letter_head 2
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_rule0.ist b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_rule0.ist
new file mode 100644
index 00000000000..451656ba59d
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/mdxsty_rule0.ist
@@ -0,0 +1,12 @@
+% -*- coding: utf-8 -*-
+
+delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill "
+delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+priority 0
+icu_rules "&a<<<A<\u00EB<<<\xCB<Ä<<<\x{00E4}<b<<B &ア<<<あ"
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/option/rule0.ist b/Master/texmf-dist/doc/support/upmendex/samples/option/rule0.ist
new file mode 100644
index 00000000000..4df5c21a46d
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/rule0.ist
@@ -0,0 +1,3 @@
+% -*- coding: utf-8 -*-
+
+% icu_rules ""
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/russian.idx b/Master/texmf-dist/doc/support/upmendex/samples/russian.idx
new file mode 100644
index 00000000000..3debb484205
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/russian.idx
@@ -0,0 +1,17 @@
+\indexentry{Балакирев}{1}
+\indexentry{Кюи}{2}
+\indexentry{Му́соргский}{3}
+\indexentry{Бороди́н}{4}
+\indexentry{Римский-Корсаков}{5}
+\indexentry{Глинка}{6}
+\indexentry{Глазуно́в}{7}
+\indexentry{Чайковский}{8}
+\indexentry{Скрябин}{9}
+\indexentry{Страви́нский}{10}
+\indexentry{Шостакович}{11}
+\indexentry{Прокофьев}{12}
+\indexentry{Хачатурян}{13}
+\indexentry{Кабалевский}{14}
+\indexentry{Шни́тке}{15}
+\indexentry{Рахма́нинов}{16}
+\indexentry{Кали́нников}{17}