From ed2b54f5b66c81f8607ddb231b0e164e3b6cf235 Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Sat, 25 Jun 2016 06:05:34 +0000 Subject: upmendex 0.51, add README.md, least samples git-svn-id: svn://tug.org/texlive/trunk@41536 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/upmendex/README.md | 79 ++++++++++++++++++++++ Master/texmf-dist/doc/upmendex/samples/Makefile | 19 ++++++ Master/texmf-dist/doc/upmendex/samples/french.idx | 18 +++++ Master/texmf-dist/doc/upmendex/samples/german.idx | 19 ++++++ Master/texmf-dist/doc/upmendex/samples/greek.idx | 10 +++ Master/texmf-dist/doc/upmendex/samples/korean.idx | 60 ++++++++++++++++ .../texmf-dist/doc/upmendex/samples/mdxsty00.ist | 10 +++ .../texmf-dist/doc/upmendex/samples/mdxsty01.ist | 12 ++++ .../texmf-dist/doc/upmendex/samples/mdxsty02.ist | 17 +++++ Master/texmf-dist/doc/upmendex/samples/multi.idx | 9 +++ Master/texmf-dist/doc/upmendex/samples/russian.idx | 17 +++++ 11 files changed, 270 insertions(+) create mode 100644 Master/texmf-dist/doc/upmendex/README.md create mode 100644 Master/texmf-dist/doc/upmendex/samples/Makefile create mode 100644 Master/texmf-dist/doc/upmendex/samples/french.idx create mode 100644 Master/texmf-dist/doc/upmendex/samples/german.idx create mode 100644 Master/texmf-dist/doc/upmendex/samples/greek.idx create mode 100644 Master/texmf-dist/doc/upmendex/samples/korean.idx create mode 100644 Master/texmf-dist/doc/upmendex/samples/mdxsty00.ist create mode 100644 Master/texmf-dist/doc/upmendex/samples/mdxsty01.ist create mode 100644 Master/texmf-dist/doc/upmendex/samples/mdxsty02.ist create mode 100644 Master/texmf-dist/doc/upmendex/samples/multi.idx create mode 100644 Master/texmf-dist/doc/upmendex/samples/russian.idx (limited to 'Master') diff --git a/Master/texmf-dist/doc/upmendex/README.md b/Master/texmf-dist/doc/upmendex/README.md new file mode 100644 index 00000000000..3bedfef5737 --- /dev/null +++ b/Master/texmf-dist/doc/upmendex/README.md @@ -0,0 +1,79 @@ +upmendex --- Multilingual index processor +========================================== + +2016.06.19 Ver0.51 + +TANAKA, Takuji ttk(at)t-lab(dot)opal(dot)ne(dot)jp + + +### About upmendex +upmendex is a multilingual index processor with following features: + + * Mostly compatible with makeindex and + upper compatible with mendex, + based on mendex version 2.6f by ASCII media works. + * Unicode for internal process and + support UTF-8 encoding for input/outout. + Will work with upLaTeX, XeLaTeX and luaLaTeX. + * Support Latin (including non-English), Greek, Cyrillic, + Korean Hangul and Han (Hanzi ideographs) scripts + as well as Japanese Kana. + * Apply International Components for Unicode (ICU) + for sorting process. + +### Contents + * README.md :: This file + * source/ :: sources + * doc/ :: documents + * doc/samples/ :: samples for test. + More samples are distributed at Ref. [2]. + +### Building upmendex +The sources work with TeXLive svn r41496. +Ref. [TeXLive and Subversion](http://www.tug.org/texlive/svn/) + +Tested with ICU 57.1 . + +### Status +Beta version. +No warranty. + +### Copyright +Lisence notice is written in COPYRIGHT . +It is as same as [the BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause) + +### Supported locale +In ICU collator, default "root" locale covers several lauguages: +English, French, Germany, Italian and so on. +Follows are available for setting into "icu_locale". + +#### Latin script + "az" (Azerbaijani), "ca" (Catalan), "cs", "cs@collation=search" (Czech), + "da" (Danish), "de@collation=phonebook" (German), "eo" (Espelanto), + "es", "es@collation=traditional", "es@collation=search" (Spanish), + "fi" (Finnish), "gl" (Galician), + "hr", "hr@collation=search" (Croatian), "hu" (Hungarian), + "lt" (Lithuanian), "nb", "nn", "no" (Norwegian), + "pl" (Polish), "ro" (Romanian), "sk", "sk@collation=search" (Slovak), + "sl" (Slovenian), "sq" (Albanian), + "sr-Latn", "sr-Latn@collation=search" (Serbian), "sv" (Swedish), + "tr" (Turkish), "vi" (Vietnamese) + +#### Cyrillic script + "be" (Belarusian), "bg" (Bulgarian), "ru" (Russian), + "sr" (Serbian), "uk" (Ukraine) + +#### Greek script + "el" (Greek) + +#### CJK (Han script (Hanzi), Hangul, Kana) + "ja", "ja@collation=unihan" (Japanese), + "ko", "ko@collation=search", "ko@collation=unihan" (Korean), + "zh", "zh@collation=unihan", "zh@collation=stroke", "zh@collation=zhuyin" (Chinese) + +### References +1. [ASCII Nihongo TeX (Publishing TeX)](http://ascii.asciimw.jp/pb/ptex/) + ASCII MEDIA WORKS +2. [upTeX, upLaTeX ― unicode version of pTeX, pLaTeX](http://www.t-lab.opal.ne.jp/tex/uptex_en.html) +3. [International Components for Unicode (ICU)](http://site.icu-project.org/) + diff --git a/Master/texmf-dist/doc/upmendex/samples/Makefile b/Master/texmf-dist/doc/upmendex/samples/Makefile new file mode 100644 index 00000000000..7cd082cbb89 --- /dev/null +++ b/Master/texmf-dist/doc/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/upmendex/samples/french.idx b/Master/texmf-dist/doc/upmendex/samples/french.idx new file mode 100644 index 00000000000..1e1bcec28d7 --- /dev/null +++ b/Master/texmf-dist/doc/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/upmendex/samples/german.idx b/Master/texmf-dist/doc/upmendex/samples/german.idx new file mode 100644 index 00000000000..453d9733bde --- /dev/null +++ b/Master/texmf-dist/doc/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/upmendex/samples/greek.idx b/Master/texmf-dist/doc/upmendex/samples/greek.idx new file mode 100644 index 00000000000..56bbe423ca1 --- /dev/null +++ b/Master/texmf-dist/doc/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/upmendex/samples/korean.idx b/Master/texmf-dist/doc/upmendex/samples/korean.idx new file mode 100644 index 00000000000..63d4cea62f9 --- /dev/null +++ b/Master/texmf-dist/doc/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/upmendex/samples/mdxsty00.ist b/Master/texmf-dist/doc/upmendex/samples/mdxsty00.ist new file mode 100644 index 00000000000..06c3eea2d0c --- /dev/null +++ b/Master/texmf-dist/doc/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/upmendex/samples/mdxsty01.ist b/Master/texmf-dist/doc/upmendex/samples/mdxsty01.ist new file mode 100644 index 00000000000..9d9788275fe --- /dev/null +++ b/Master/texmf-dist/doc/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/upmendex/samples/mdxsty02.ist b/Master/texmf-dist/doc/upmendex/samples/mdxsty02.ist new file mode 100644 index 00000000000..f90af4f9253 --- /dev/null +++ b/Master/texmf-dist/doc/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/upmendex/samples/multi.idx b/Master/texmf-dist/doc/upmendex/samples/multi.idx new file mode 100644 index 00000000000..d1051b2cdb5 --- /dev/null +++ b/Master/texmf-dist/doc/upmendex/samples/multi.idx @@ -0,0 +1,9 @@ +\indexentry{Σωκράτης}{1} +\indexentry{Чайковский}{2} +\indexentry{Cézanne}{3} +\indexentry{Kästner}{4} +\indexentry{もりおうがい@森鷗外}{5} +\indexentry{세종대왕@세종대왕(世宗大王)}{6} +\indexentry{王羲之}{7} +\indexentry{0123456789}{8} +\indexentry{¥¥¥¥¥}{9} diff --git a/Master/texmf-dist/doc/upmendex/samples/russian.idx b/Master/texmf-dist/doc/upmendex/samples/russian.idx new file mode 100644 index 00000000000..3debb484205 --- /dev/null +++ b/Master/texmf-dist/doc/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} -- cgit v1.2.3