summaryrefslogtreecommitdiff
path: root/indexing/upmendex/doc/samples/option
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /indexing/upmendex/doc/samples/option
Initial commit
Diffstat (limited to 'indexing/upmendex/doc/samples/option')
-rw-r--r--indexing/upmendex/doc/samples/option/Makefile22
-rw-r--r--indexing/upmendex/doc/samples/option/attri1.idx42
-rw-r--r--indexing/upmendex/doc/samples/option/japanese.idx34
-rw-r--r--indexing/upmendex/doc/samples/option/mdxsty_j00.ist11
-rw-r--r--indexing/upmendex/doc/samples/option/mdxsty_j01.ist11
-rw-r--r--indexing/upmendex/doc/samples/option/mdxsty_j02.ist12
-rw-r--r--indexing/upmendex/doc/samples/option/mdxsty_rule0.ist12
7 files changed, 144 insertions, 0 deletions
diff --git a/indexing/upmendex/doc/samples/option/Makefile b/indexing/upmendex/doc/samples/option/Makefile
new file mode 100644
index 0000000000..8e2746d17c
--- /dev/null
+++ b/indexing/upmendex/doc/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/indexing/upmendex/doc/samples/option/attri1.idx b/indexing/upmendex/doc/samples/option/attri1.idx
new file mode 100644
index 0000000000..a470ffab42
--- /dev/null
+++ b/indexing/upmendex/doc/samples/option/attri1.idx
@@ -0,0 +1,42 @@
+% -*- 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}
diff --git a/indexing/upmendex/doc/samples/option/japanese.idx b/indexing/upmendex/doc/samples/option/japanese.idx
new file mode 100644
index 0000000000..f0f6f8ac14
--- /dev/null
+++ b/indexing/upmendex/doc/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/indexing/upmendex/doc/samples/option/mdxsty_j00.ist b/indexing/upmendex/doc/samples/option/mdxsty_j00.ist
new file mode 100644
index 0000000000..93ca3f5c15
--- /dev/null
+++ b/indexing/upmendex/doc/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/indexing/upmendex/doc/samples/option/mdxsty_j01.ist b/indexing/upmendex/doc/samples/option/mdxsty_j01.ist
new file mode 100644
index 0000000000..b3b0944301
--- /dev/null
+++ b/indexing/upmendex/doc/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/indexing/upmendex/doc/samples/option/mdxsty_j02.ist b/indexing/upmendex/doc/samples/option/mdxsty_j02.ist
new file mode 100644
index 0000000000..3b084ba9d8
--- /dev/null
+++ b/indexing/upmendex/doc/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/indexing/upmendex/doc/samples/option/mdxsty_rule0.ist b/indexing/upmendex/doc/samples/option/mdxsty_rule0.ist
new file mode 100644
index 0000000000..451656ba59
--- /dev/null
+++ b/indexing/upmendex/doc/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 &ア<<<あ"