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/Makefile19
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/Makefile37
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es1.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es11.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es12.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es13.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es2.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es21.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es22.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es23.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh1.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh11.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh12.ist13
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh13.ist13
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh14.ist13
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh2.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh21.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh22.ist12
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh31.ist12
-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.ist17
-rw-r--r--Master/texmf-dist/doc/support/upmendex/samples/option/Makefile22
-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
27 files changed, 370 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..7cd082cbb89
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/Makefile
@@ -0,0 +1,19 @@
+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; do \
+ $(UPMENDEX) multi.idx -s mdxsty$$num.ist -o multi_$$num.ind ; \
+ done
+
+compare:
+ for ind in $(wildcard *.ind); do \
+ diff -qs $$ind output/$$ind ; \
+ done
+
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..a33c0e11b85
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/Makefile
@@ -0,0 +1,37 @@
+UPMENDEX = upmendex
+
+alphabet: es zh
+
+es:
+ for num in 1 2 11 12 13 22 22 23; do \
+ for loc in es; do \
+ $(UPMENDEX) alpha_$$loc.idx -s mdxsty_$$loc$$num.ist -o alpha_$$loc$$num.ind ; \
+ done ; \
+ done
+
+zh:
+ for num in 1 2 11 12 13 14 21 22 31; do \
+ for loc in zh; do \
+ $(UPMENDEX) alpha_$$loc.idx -s mdxsty_$$loc$$num.ist -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 -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 -o alpha_$$locx$$num.ind ; \
+ done
+ for num in 31; do \
+ loc='zh' ; \
+ locx='zhz' ; \
+ $(UPMENDEX) alpha_$$locx.idx -s mdxsty_$$loc$$num.ist -o alpha_$$locx$$num.ind ; \
+ done
+ for num in 1 2; do \
+ loc='zh' ; \
+ locx='zhp' ; \
+ $(UPMENDEX) alpha_$$locx.idx -s mdxsty_$$loc$$num.ist -o alpha_$$locx$$num.ind ; \
+ done
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..1c82c1edfae
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es1.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"
+
+icu_locale "es"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es11.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es11.ist
new file mode 100644
index 00000000000..bcf1b788f8e
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es11.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"
+
+icu_locale "es@collation=traditional"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es12.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es12.ist
new file mode 100644
index 00000000000..bef0b6f818f
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es12.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"
+
+icu_locale "es@collation=traditional"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es13.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es13.ist
new file mode 100644
index 00000000000..804b137c967
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es13.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 2
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+icu_locale "es@collation=traditional"
+
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..194545e04f3
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es2.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"
+
+icu_locale "es"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es21.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es21.ist
new file mode 100644
index 00000000000..119652482cb
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es21.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"
+
+icu_locale "es@collation=search"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es22.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es22.ist
new file mode 100644
index 00000000000..b9c13151f70
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es22.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"
+
+icu_locale "es@collation=search"
+
diff --git a/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es23.ist b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es23.ist
new file mode 100644
index 00000000000..8f9890b0718
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_es23.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 2
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_suffix " ---}\\par\\nobreak"
+
+icu_locale "es@collation=search"
+
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..e52cb7910c3
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh1.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"
+
+icu_locale "zh"
+
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..4f4661ec8e8
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh11.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"
+
+icu_locale "zh@collation=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..f2e8c0aa87a
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh12.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"
+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..6fce8ee43c0
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh13.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 "ja@collation=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..7e92ed574f7
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh14.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 "ko@collation=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..359f3b97bde
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh2.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"
+
+icu_locale "zh"
+
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..499dcf9eff3
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh21.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"
+
+icu_locale "zh@collation=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..6cc7d3252ca
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh22.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"
+
+icu_locale "zh@collation=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..c3584031e7c
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/alphabet/mdxsty_zh31.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"
+
+icu_locale "zh@collation=zhuyin"
+
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..9d9788275fe
--- /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 "NSKJHGCL"
+
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..f90af4f9253
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/mdxsty02.ist
@@ -0,0 +1,17 @@
+% -*- 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 "JKHGCLSN"
+
+tumunja "가나다라마바사아카"
+%% tumunja "㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭"
+%% tumunja "㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻"
+%% tumunja "㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍"
+%% tumunja "㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛"
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..8e2746d17c1
--- /dev/null
+++ b/Master/texmf-dist/doc/support/upmendex/samples/option/Makefile
@@ -0,0 +1,22 @@
+UPMENDEX = upmendex
+
+#
+# test for icu_rules
+#
+rules:
+ for sty in rule0; do \
+ $(UPMENDEX) -f attri1.idx -s mdxsty_$$sty.ist -o attri1_$$sty.ind ; \
+ done
+
+#
+# test for Japanese
+#
+jp_u:
+ for sty in 00 01 02; do \
+ $(UPMENDEX) japanese.idx -s mdxsty_j$$sty.ist -o japanese_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -l -s mdxsty_j$$sty.ist -o japanese_l_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -c -s mdxsty_j$$sty.ist -o japanese_c_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -l -c -s mdxsty_j$$sty.ist -o japanese_lc_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -r -s mdxsty_j$$sty.ist -o japanese_r_$$sty-umdx.ind ; \
+ $(UPMENDEX) japanese.idx -g -s mdxsty_j$$sty.ist -o japanese_g_$$sty-umdx.ind ; \
+ done
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..3b084ba9d8e
--- /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 "
+
+lethead_flag 1
+lethead_prefix "\n\\centerline{\\bfseries --- "
+lethead_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 &ア<<<あ"