diff options
author | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2014-05-10 15:58:16 +0000 |
---|---|---|
committer | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2014-05-10 15:58:16 +0000 |
commit | 487d5d175ae7cafc58c99da95eb702cd4058bfb6 (patch) | |
tree | 94b010d2163c911f9932384fedf6aca656061ca4 /Build/source/texk/mendexk/tests | |
parent | 95c392fae481135ee05f637f78e76eafbb1d26c8 (diff) |
mendexk: Add a new option -I to switch internal buffers to EUC-JP or UTF-8
git-svn-id: svn://tug.org/texlive/trunk@33962 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/mendexk/tests')
-rwxr-xr-x | Build/source/texk/mendexk/tests/mendex.test | 9 | ||||
-rw-r--r-- | Build/source/texk/mendexk/tests/uni.dict | 3 | ||||
-rw-r--r-- | Build/source/texk/mendexk/tests/uni.idx | 8 | ||||
-rw-r--r-- | Build/source/texk/mendexk/tests/uni.ind | 25 | ||||
-rw-r--r-- | Build/source/texk/mendexk/tests/uni.ist | 10 |
5 files changed, 55 insertions, 0 deletions
diff --git a/Build/source/texk/mendexk/tests/mendex.test b/Build/source/texk/mendexk/tests/mendex.test index 6afaa17d92d..53988d1eab5 100755 --- a/Build/source/texk/mendexk/tests/mendex.test +++ b/Build/source/texk/mendexk/tests/mendex.test @@ -14,3 +14,12 @@ rm -f foo.* cat $srcdir/tests/foo.idx | ./mendex >foo.ind2 2>foo.ilg2 \ && diff $srcdir/tests/foo.ind foo.ind2 || exit 1 +./mendex -U -d $srcdir/tests/uni.dict -s $srcdir/tests/uni.ist \ + $srcdir/tests/uni.idx -o uni.ind1 -t uni.ilg1 \ + && diff $srcdir/tests/uni.ind uni.ind1 || exit 1 + +cat $srcdir/tests/uni.idx | \ + ./mendex -U -d $srcdir/tests/uni.dict -s $srcdir/tests/uni.ist \ + >uni.ind2 2>uni.ilg2 \ + && diff $srcdir/tests/uni.ind uni.ind2 || exit 1 + diff --git a/Build/source/texk/mendexk/tests/uni.dict b/Build/source/texk/mendexk/tests/uni.dict new file mode 100644 index 00000000000..36343dac17d --- /dev/null +++ b/Build/source/texk/mendexk/tests/uni.dict @@ -0,0 +1,3 @@ +% -*- coding: utf-8 -*- +𠮟咤 しった +激励 げきれい diff --git a/Build/source/texk/mendexk/tests/uni.idx b/Build/source/texk/mendexk/tests/uni.idx new file mode 100644 index 00000000000..52a0b8ecea9 --- /dev/null +++ b/Build/source/texk/mendexk/tests/uni.idx @@ -0,0 +1,8 @@ +\indexentry{もりおうがい@森鷗外}{1} +\indexentry{さとみとん@里見弴}{1} +\indexentry{𠮟咤激励}{1} +\indexentry{Mendex}{1} +\indexentry{Mendex!のインストール}{1} +\indexentry{Mendex!のつかいかた@---の使い方}{1} +\indexentry{Mendex!のつかいかた@---の使い方!にゅうもんへん@---入門編}{1} +\indexentry{Mendex!のつかいかた@---の使い方!おうようへん@---応用編}{1} diff --git a/Build/source/texk/mendexk/tests/uni.ind b/Build/source/texk/mendexk/tests/uni.ind new file mode 100644 index 00000000000..aa142686417 --- /dev/null +++ b/Build/source/texk/mendexk/tests/uni.ind @@ -0,0 +1,25 @@ +\begin{theindex} + +\centerline{\bfseries ◆◆◆ M ◆◆◆}\par\nobreak + \item Mendex\leaders\hbox{$\cdot$}\hfill 1 + \subitem のインストール\leaders\hbox{$\cdot$}\hfill 1 + \subitem ---の使い方\leaders\hbox{$\cdot$}\hfill 1 + \subsubitem ---応用編\leaders\hbox{$\cdot$}\hfill 1 + \subsubitem ---入門編\leaders\hbox{$\cdot$}\hfill 1 + + \indexspace + +\centerline{\bfseries ◆◆◆ サ ◆◆◆}\par\nobreak + \item 里見弴\leaders\hbox{$\cdot$}\hfill 1 + + \indexspace + +\centerline{\bfseries ◆◆◆ シ ◆◆◆}\par\nobreak + \item 𠮟咤激励\leaders\hbox{$\cdot$}\hfill 1 + + \indexspace + +\centerline{\bfseries ◆◆◆ モ ◆◆◆}\par\nobreak + \item 森鷗外\leaders\hbox{$\cdot$}\hfill 1 + +\end{theindex} diff --git a/Build/source/texk/mendexk/tests/uni.ist b/Build/source/texk/mendexk/tests/uni.ist new file mode 100644 index 00000000000..095533d1fb3 --- /dev/null +++ b/Build/source/texk/mendexk/tests/uni.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" + |