summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2024-11-09 10:39:22 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2024-11-09 10:39:22 +0000
commit66ecd8d608b6b3bdae9c15caf8b25a4836d16b62 (patch)
treee9213a51999427e6ad8ec1b67f66a87a80ff9bc7 /Build/source
parent0f32d17603c657ea93b9ee227f99853bc802a5c0 (diff)
makeindex: Update tests
git-svn-id: svn://tug.org/texlive/trunk@72804 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/makeindexk/ChangeLog10
-rw-r--r--Build/source/texk/makeindexk/Makefile.am16
-rw-r--r--Build/source/texk/makeindexk/Makefile.in15
-rwxr-xr-xBuild/source/texk/makeindexk/tests/makeindex.test58
-rwxr-xr-xBuild/source/texk/makeindexk/tests/nest.test26
-rw-r--r--Build/source/texk/makeindexk/tests/nested3.idx19
-rw-r--r--Build/source/texk/makeindexk/tests/nested3.ind40
-rw-r--r--Build/source/texk/makeindexk/tests/nested3.ist10
-rw-r--r--Build/source/texk/makeindexk/tests/ok-tort.ind24
-rwxr-xr-xBuild/source/texk/makeindexk/tests/pprec.test71
-rw-r--r--Build/source/texk/makeindexk/tests/toodeep.idx6
-rw-r--r--Build/source/texk/makeindexk/tests/tort.idx53
-rw-r--r--Build/source/texk/makeindexk/tests/tortW.idx44
13 files changed, 332 insertions, 60 deletions
diff --git a/Build/source/texk/makeindexk/ChangeLog b/Build/source/texk/makeindexk/ChangeLog
index 382de5cb8f3..c963938aa46 100644
--- a/Build/source/texk/makeindexk/ChangeLog
+++ b/Build/source/texk/makeindexk/ChangeLog
@@ -1,3 +1,13 @@
+2024-11-09 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
+
+ * tests/{makeindex,pprec}.test: Split test scripts.
+ * tests/rangeA[123].ind: Remove unused files.
+ * tests/nest.test, tests/nested3.{ist,idx,ind},
+ tests/toodeep.idx: Add new tests for nested depth.
+ * tests/makeindex.test, tests/tort{,W}.idx, tests/ok-tort.ind:
+ Add new tests for error/warning.
+ * Makefile.am: Adjust.
+
2023-08-27 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* tests/makeindex.test: Make easier to test on Windows.
diff --git a/Build/source/texk/makeindexk/Makefile.am b/Build/source/texk/makeindexk/Makefile.am
index be95ad192cf..f40dbbb63a0 100644
--- a/Build/source/texk/makeindexk/Makefile.am
+++ b/Build/source/texk/makeindexk/Makefile.am
@@ -39,7 +39,9 @@ EXTRA_DIST = CONTRIB NOTES ind-src
## Tests
##
TEST_EXTENSIONS = .pl .test
-TESTS = tests/nested-range-test.pl tests/makeindex.test
+TESTS = tests/nested-range-test.pl tests/makeindex.test \
+ tests/pprec.test \
+ tests/nest.test
tests/nested-range-test.log tests/makeindex.log: makeindex$(EXEEXT)
EXTRA_DIST += $(TESTS)
@@ -49,7 +51,11 @@ EXTRA_DIST += tests/nested-range.tex tests/nested-range.idx \
DISTCLEANFILES = nested-range.ilg nested-range.ind
## tests/makeindex.test
EXTRA_DIST += tests/sample.idx tests/sample.ind \
- tests/range.idx tests/range2.ist tests/range2.ist tests/range3.ist \
+ tests/tort.idx tests/tortW.idx tests/ok-tort.ind
+DISTCLEANFILES += sample.* tort*.*
+## tests/pprec.test
+EXTRA_DIST += tests/range.idx \
+ tests/range1.ist tests/range2.ist tests/range3.ist \
tests/range1.ind tests/range2.ind tests/range3.ind \
tests/pprec0.ist tests/pprec1.ist tests/pprec2.ist tests/pprec3.ist \
tests/pprec4.ist tests/pprec5.ist tests/pprec6.ist tests/pprec7.ist \
@@ -59,5 +65,9 @@ EXTRA_DIST += tests/sample.idx tests/sample.ind \
tests/romalpB.idx tests/romalpB-5.ind tests/romalpB-6.ind tests/romalpB-7.ind \
tests/romalpC.idx tests/romalpC-5.ind \
tests/romalpD.idx tests/romalpD-5.ind tests/romalpD-6.ind tests/romalpD-7.ind
-DISTCLEANFILES += sample.* range*.* pprec*.* romalp*.*
+DISTCLEANFILES += range*.* pprec*.* romalp*.*
+## tests/nest.test
+EXTRA_DIST += tests/nested3.ist tests/nested3.ind \
+ tests/toodeep.idx
+DISTCLEANFILES += nested*.* toodeep*.*
diff --git a/Build/source/texk/makeindexk/Makefile.in b/Build/source/texk/makeindexk/Makefile.in
index 2a75a2366b7..c0203fecb5e 100644
--- a/Build/source/texk/makeindexk/Makefile.in
+++ b/Build/source/texk/makeindexk/Makefile.in
@@ -592,7 +592,8 @@ dist_man1_MANS = makeindex.1 mkindex.1
EXTRA_DIST = CONTRIB NOTES ind-src $(TESTS) tests/nested-range.tex \
tests/nested-range.idx tests/nested-range-bb.tex \
tests/nested-range-bb.idx tests/sample.idx tests/sample.ind \
- tests/range.idx tests/range2.ist tests/range2.ist \
+ tests/tort.idx tests/tortW.idx tests/ok-tort.ind \
+ tests/range.idx tests/range1.ist tests/range2.ist \
tests/range3.ist tests/range1.ind tests/range2.ind \
tests/range3.ind tests/pprec0.ist tests/pprec1.ist \
tests/pprec2.ist tests/pprec3.ist tests/pprec4.ist \
@@ -603,11 +604,15 @@ EXTRA_DIST = CONTRIB NOTES ind-src $(TESTS) tests/nested-range.tex \
tests/romalpA-5.ind tests/romalpA-6.ind tests/romalpB.idx \
tests/romalpB-5.ind tests/romalpB-6.ind tests/romalpB-7.ind \
tests/romalpC.idx tests/romalpC-5.ind tests/romalpD.idx \
- tests/romalpD-5.ind tests/romalpD-6.ind tests/romalpD-7.ind
+ tests/romalpD-5.ind tests/romalpD-6.ind tests/romalpD-7.ind \
+ tests/nested3.ist tests/nested3.ind tests/toodeep.idx
TEST_EXTENSIONS = .pl .test
-TESTS = tests/nested-range-test.pl tests/makeindex.test
-DISTCLEANFILES = nested-range.ilg nested-range.ind sample.* range*.* \
- pprec*.* romalp*.*
+TESTS = tests/nested-range-test.pl tests/makeindex.test \
+ tests/pprec.test \
+ tests/nest.test
+
+DISTCLEANFILES = nested-range.ilg nested-range.ind sample.* tort*.* \
+ range*.* pprec*.* romalp*.* nested*.* toodeep*.*
all: c-auto.h
$(MAKE) $(AM_MAKEFLAGS) all-am
diff --git a/Build/source/texk/makeindexk/tests/makeindex.test b/Build/source/texk/makeindexk/tests/makeindex.test
index cbf951c0bbe..e3be06a2b33 100755
--- a/Build/source/texk/makeindexk/tests/makeindex.test
+++ b/Build/source/texk/makeindexk/tests/makeindex.test
@@ -1,5 +1,6 @@
#! /bin/sh -vx
# $Id$
+# Copyright 2024 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
@@ -11,7 +12,7 @@ _makeindex=$BinDir/makeindex$ExeExt
TEXMFCNF=$srcdir/../kpathsea
export TEXMFCNF
-rm -f sample.* range*.* pprec*.* romalp*.*
+rm -f sample.* tort*.*
rc=0
$_makeindex $srcdir/tests/sample.idx -o sample.ind1 -t sample.ilg1 \
@@ -20,58 +21,11 @@ $_makeindex $srcdir/tests/sample.idx -o sample.ind1 -t sample.ilg1 \
cat $srcdir/tests/sample.idx | $_makeindex >sample.ind2 2>sample.ilg2 \
&& diff $srcdir/tests/sample.ind sample.ind2 || rc=2
+$_makeindex $srcdir/tests/tort.idx -o tort.ind1 -t tort.ilg1 \
+ && diff $srcdir/tests/ok-tort.ind tort.ind1 || rc=20
-# test for range suffix_2p, suffix_3p, suffix_mp
-
-for num in 1 2 3; do
-$_makeindex -s $srcdir/tests/range$num.ist $srcdir/tests/range.idx \
- -o range$num.ind1 -t range$num.ilg \
- && diff $srcdir/tests/range$num.ind range$num.ind1 || rc=3
-done
-
-
-# test for page_precedence and suffix_3p
-
-sfx=A
-for num in 0 1 2; do
-$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/pprec$sfx.idx \
- -o pprec$sfx-$num.ind1 -t pprec$sfx-$num.ilg \
- && diff $srcdir/tests/pprec$sfx-$num.ind pprec$sfx-$num.ind1 || rc=4
-done
-sfx=B
-for num in 0 3 4; do
-$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/pprec$sfx.idx \
- -o pprec$sfx-$num.ind1 -t pprec$sfx-$num.ilg \
- && diff $srcdir/tests/pprec$sfx-$num.ind pprec$sfx-$num.ind1 || rc=5
-done
-
-
-# test for page_precedence, heuristic detection if a letter is Roman or Alpha
-
-sfx=A
-for num in 5 6; do
-$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/romalp$sfx.idx \
- -o romalp$sfx-$num.ind1 -t romalp$sfx-$num.ilg \
- && diff $srcdir/tests/romalp$sfx-$num.ind romalp$sfx-$num.ind1 || rc=6
-done
-sfx=B
-for num in 5 6 7; do
-$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/romalp$sfx.idx \
- -o romalp$sfx-$num.ind1 -t romalp$sfx-$num.ilg \
- && diff $srcdir/tests/romalp$sfx-$num.ind romalp$sfx-$num.ind1 || rc=7
-done
-sfx=C
-for num in 5; do
-$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/romalp$sfx.idx \
- -o romalp$sfx-$num.ind1 -t romalp$sfx-$num.ilg \
- && diff $srcdir/tests/romalp$sfx-$num.ind romalp$sfx-$num.ind1 || rc=8
-done
-sfx=D
-for num in 5 6 7; do
-$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/romalp$sfx.idx \
- -o romalp$sfx-$num.ind1 -t romalp$sfx-$num.ilg \
- && diff $srcdir/tests/romalp$sfx-$num.ind romalp$sfx-$num.ind1 || rc=9
-done
+$_makeindex $srcdir/tests/tortW.idx -o tortW.ind1 -t tortW.ilg1 \
+ && diff $srcdir/tests/ok-tort.ind tortW.ind1 || rc=21
exit $rc
diff --git a/Build/source/texk/makeindexk/tests/nest.test b/Build/source/texk/makeindexk/tests/nest.test
new file mode 100755
index 00000000000..60e790334e5
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/nest.test
@@ -0,0 +1,26 @@
+#! /bin/sh -vx
+# $Id$
+# Copyright 2024 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
+# Copyright 2017-2022 Karl Berry <tex-live@tug.org>
+# Copyright 2013 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+BinDir=${BinDir:-.}
+ExeExt=${ExeExt:-}
+_makeindex=$BinDir/makeindex$ExeExt
+
+TEXMFCNF=$srcdir/../kpathsea
+export TEXMFCNF
+
+rm -f nested*.* toodeep*.*
+rc=0
+
+# test for nested items and delimiters
+$_makeindex -s $srcdir/tests/nested3.ist -o nested3.ind1 -t nested3.ilg $srcdir/tests/nested3.idx \
+ && diff $srcdir/tests/nested3.ind nested3.ind1 || rc=30
+
+# test for too deep indexentry
+$_makeindex $srcdir/tests/toodeep.idx -o toodeep.ind1 -t toodeep.ilg
+
+
+exit $rc
diff --git a/Build/source/texk/makeindexk/tests/nested3.idx b/Build/source/texk/makeindexk/tests/nested3.idx
new file mode 100644
index 00000000000..c6b440b9862
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/nested3.idx
@@ -0,0 +1,19 @@
+\indexentry{xa}{1}
+\indexentry{xb}{1}
+\indexentry{xc}{1}
+\indexentry{ya!x}{1}
+\indexentry{ya!y}{1}
+\indexentry{ya!z}{1}
+\indexentry{yb!x!x}{1}
+\indexentry{yb!x!y}{1}
+\indexentry{yb!x!z}{1}
+\indexentry{a}{1}
+\indexentry{a!a}{2}
+\indexentry{a!a!a}{3}
+\indexentry{ab}{6}
+\indexentry{ad!a}{8}
+\indexentry{ad!b}{9}
+\indexentry{ae!a!a}{11}
+\indexentry{ae!b!b}{12}
+\indexentry{pa}{21}
+\indexentry{pa!qa!ra}{22}
diff --git a/Build/source/texk/makeindexk/tests/nested3.ind b/Build/source/texk/makeindexk/tests/nested3.ind
new file mode 100644
index 00000000000..7cd938c3a9a
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/nested3.ind
@@ -0,0 +1,40 @@
+\begin{theindex}
+
+ \item_0 a(0) 1
+ \item_01 a(1) 2
+ \item_12 a(2) 3
+ \item_0 ab(0) 6
+ \item_0 ad
+ \item_x1 a(1) 8
+ \item_1 b(1) 9
+ \item_0 ae
+ \item_x1 a
+ \item_x2 a(2) 11
+ \item_1 b
+ \item_x2 b(2) 12
+
+ \indexspace
+
+ \item_0 pa(0) 21
+ \item_01 qa
+ \item_x2 ra(2) 22
+
+ \indexspace
+
+ \item_0 xa(0) 1
+ \item_0 xb(0) 1
+ \item_0 xc(0) 1
+
+ \indexspace
+
+ \item_0 ya
+ \item_x1 x(1) 1
+ \item_1 y(1) 1
+ \item_1 z(1) 1
+ \item_0 yb
+ \item_x1 x
+ \item_x2 x(2) 1
+ \item_2 y(2) 1
+ \item_2 z(2) 1
+
+\end{theindex}
diff --git a/Build/source/texk/makeindexk/tests/nested3.ist b/Build/source/texk/makeindexk/tests/nested3.ist
new file mode 100644
index 00000000000..7180892937f
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/nested3.ist
@@ -0,0 +1,10 @@
+item_0 "\n \\item_0 "
+item_1 "\n \\item_1 "
+item_2 "\n \\item_2 "
+item_01 "\n \\item_01 "
+item_12 "\n \\item_12 "
+item_x1 "\n \\item_x1 "
+item_x2 "\n \\item_x2 "
+delim_0 "(0) "
+delim_1 "(1) "
+delim_2 "(2) "
diff --git a/Build/source/texk/makeindexk/tests/ok-tort.ind b/Build/source/texk/makeindexk/tests/ok-tort.ind
new file mode 100644
index 00000000000..bbd7178301d
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/ok-tort.ind
@@ -0,0 +1,24 @@
+\begin{theindex}
+
+ \item bad-encaps, \ii{5--7}
+
+ \indexspace
+
+ \item implicit-range, 10--12
+ \item incons-encaps, \ii{6}, 5--7
+ \item incons-encaps2, \ii{5}, 5
+ \item incons-entries, 6, \xx{6}
+
+ \indexspace
+
+ \item missing(, 6
+ \item missing), 6
+ \item mixed-range, i, 6
+ \item mixed-range1, i--iv, 3--6
+ \item mixed-range2, \xx{ii}, i--ii, \yy{3--6}
+
+ \indexspace
+
+ \item ok-encaps, \ii{5--7}
+
+\end{theindex}
diff --git a/Build/source/texk/makeindexk/tests/pprec.test b/Build/source/texk/makeindexk/tests/pprec.test
new file mode 100755
index 00000000000..8786dd924b4
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/pprec.test
@@ -0,0 +1,71 @@
+#! /bin/sh -vx
+# $Id$
+# Copyright 2021-2024 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
+# Copyright 2017 Karl Berry <tex-live@tug.org>
+# Copyright 2012 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+BinDir=${BinDir:-.}
+ExeExt=${ExeExt:-}
+_makeindex=$BinDir/makeindex$ExeExt
+
+TEXMFCNF=$srcdir/../kpathsea
+export TEXMFCNF
+
+rm -f range*.* pprec*.* romalp*.*
+rc=0
+
+# test for range suffix_2p, suffix_3p, suffix_mp
+
+for num in 1 2 3; do
+$_makeindex -s $srcdir/tests/range$num.ist $srcdir/tests/range.idx \
+ -o range$num.ind1 -t range$num.ilg \
+ && diff $srcdir/tests/range$num.ind range$num.ind1 || rc=6
+done
+
+
+# test for page_precedence and suffix_3p
+
+sfx=A
+for num in 0 1 2; do
+$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/pprec$sfx.idx \
+ -o pprec$sfx-$num.ind1 -t pprec$sfx-$num.ilg \
+ && diff $srcdir/tests/pprec$sfx-$num.ind pprec$sfx-$num.ind1 || rc=7
+done
+sfx=B
+for num in 0 3 4; do
+$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/pprec$sfx.idx \
+ -o pprec$sfx-$num.ind1 -t pprec$sfx-$num.ilg \
+ && diff $srcdir/tests/pprec$sfx-$num.ind pprec$sfx-$num.ind1 || rc=8
+done
+
+
+# test for page_precedence, heuristic detection if a letter is Roman or Alpha
+
+sfx=A
+for num in 5 6; do
+$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/romalp$sfx.idx \
+ -o romalp$sfx-$num.ind1 -t romalp$sfx-$num.ilg \
+ && diff $srcdir/tests/romalp$sfx-$num.ind romalp$sfx-$num.ind1 || rc=9
+done
+sfx=B
+for num in 5 6 7; do
+$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/romalp$sfx.idx \
+ -o romalp$sfx-$num.ind1 -t romalp$sfx-$num.ilg \
+ && diff $srcdir/tests/romalp$sfx-$num.ind romalp$sfx-$num.ind1 || rc=10
+done
+sfx=C
+for num in 5; do
+$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/romalp$sfx.idx \
+ -o romalp$sfx-$num.ind1 -t romalp$sfx-$num.ilg \
+ && diff $srcdir/tests/romalp$sfx-$num.ind romalp$sfx-$num.ind1 || rc=11
+done
+sfx=D
+for num in 5 6 7; do
+$_makeindex -s $srcdir/tests/pprec$num.ist $srcdir/tests/romalp$sfx.idx \
+ -o romalp$sfx-$num.ind1 -t romalp$sfx-$num.ilg \
+ && diff $srcdir/tests/romalp$sfx-$num.ind romalp$sfx-$num.ind1 || rc=12
+done
+
+
+exit $rc
diff --git a/Build/source/texk/makeindexk/tests/toodeep.idx b/Build/source/texk/makeindexk/tests/toodeep.idx
new file mode 100644
index 00000000000..52e4ce8fa65
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/toodeep.idx
@@ -0,0 +1,6 @@
+\indexentry{a}{1}
+\indexentry{a!a}{2}
+\indexentry{a!a!a}{3}
+\indexentry{a!a!a!a}{4}
+\indexentry{a!a!a!a!a}{5}
+\indexentry{a!a!a!a!a!a}{6}
diff --git a/Build/source/texk/makeindexk/tests/tort.idx b/Build/source/texk/makeindexk/tests/tort.idx
new file mode 100644
index 00000000000..1e4e4d1c1cb
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/tort.idx
@@ -0,0 +1,53 @@
+\indexentry{@illegal-null-field}{9}
+\indexentry{!illegal-null-field}{10}
+\indexentry{too-may-ats@x@}{10}
+\indexentry{too-may-bangs!x!y!z}{10}
+\indexentry{too-may-bars|x|}{10}
+\indexentry{hoge!@illegal-null-field}{9}
+\indexentry{hoge!fuga!@illegal-null-field}{9}
+\indexentry{haha!@!illegal-null-field}{10}
+\indexentry{illegal-null-field-in-bangs!p!@r}{10}
+\indexentry{illegal-null-field-in-bangs!!r}{10}
+\indexentry{fff!p!q@r@s}{11}
+\indexentry{ggg!p!q|r|}{12}
+\indexentry{hhh|t@p|s}{13}
+\indexentry{iii|t!p|s}{14}
+
+\indexentry{incons-entries|xx}{6}
+\indexentry{incons-entries}{6}
+
+\indexentry{implicit-range}{10}
+\indexentry{implicit-range}{11}
+\indexentry{implicit-range}{12}
+
+\indexentry{missing(|)}{6}
+\indexentry{missing)|(}{6}
+
+\indexentry{ok-encaps|(ii}{5}
+\indexentry{ok-encaps|ii}{6}
+\indexentry{ok-encaps|)}{7}
+
+\indexentry{bad-encaps|(ii}{5}
+\indexentry{bad-encaps|ii}{6}
+\indexentry{bad-encaps|)iii}{7}
+
+\indexentry{incons-encaps|(}{5}
+\indexentry{incons-encaps|ii}{6}
+\indexentry{incons-encaps|)}{7}
+
+\indexentry{incons-encaps2|(}{5}
+\indexentry{incons-encaps2|ii}{5}
+\indexentry{incons-encaps2|)}{5}
+
+\indexentry{mixed-range|(}{i}
+\indexentry{mixed-range|)}{6}
+
+\indexentry{mixed-range1|(}{i}
+\indexentry{mixed-range1}{iv}
+\indexentry{mixed-range1}{3}
+\indexentry{mixed-range1|)}{6}
+
+\indexentry{mixed-range2|(}{i}
+\indexentry{mixed-range2|xx}{ii}
+\indexentry{mixed-range2|yy}{3}
+\indexentry{mixed-range2|)}{6}
diff --git a/Build/source/texk/makeindexk/tests/tortW.idx b/Build/source/texk/makeindexk/tests/tortW.idx
new file mode 100644
index 00000000000..eea5c1cd07b
--- /dev/null
+++ b/Build/source/texk/makeindexk/tests/tortW.idx
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+\indexentry{incons-entries|xx}{6}
+\indexentry{incons-entries}{6}
+
+\indexentry{implicit-range}{10}
+\indexentry{implicit-range}{11}
+\indexentry{implicit-range}{12}
+
+\indexentry{missing(|)}{6}
+\indexentry{missing)|(}{6}
+
+\indexentry{ok-encaps|(ii}{5}
+\indexentry{ok-encaps|ii}{6}
+\indexentry{ok-encaps|)}{7}
+
+\indexentry{bad-encaps|(ii}{5}
+\indexentry{bad-encaps|ii}{6}
+\indexentry{bad-encaps|)iii}{7}
+
+\indexentry{incons-encaps|(}{5}
+\indexentry{incons-encaps|ii}{6}
+\indexentry{incons-encaps|)}{7}
+
+\indexentry{incons-encaps2|(}{5}
+\indexentry{incons-encaps2|ii}{5}
+\indexentry{incons-encaps2|)}{5}
+
+\indexentry{mixed-range|(}{i}
+\indexentry{mixed-range|)}{6}
+
+\indexentry{mixed-range1|(}{i}
+\indexentry{mixed-range1}{iv}
+\indexentry{mixed-range1}{3}
+\indexentry{mixed-range1|)}{6}
+
+\indexentry{mixed-range2|(}{i}
+\indexentry{mixed-range2|xx}{ii}
+\indexentry{mixed-range2|yy}{3}
+\indexentry{mixed-range2|)}{6}