summaryrefslogtreecommitdiff
path: root/indexing/makeindexk/tests/nested-range.tex
blob: 15be5e519a867eb2ac032f8f5353217d947ca378 (plain)
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
% Copyright 2011 Barbara Beeton <tex-live@tug.org>
% You may freely use, modify and/or distribute this file.
%
% This is the minimal version that reproduces the bug.
% Some commented-out lines are some variations.
% For all the details, see nested-range-bb.tex.
%
\documentclass{article}

\makeindex

\begin{document}
\index{bad range|(}%
%\index{ok range|(}%
start.

\newpage
\index{bad range|(}%
second page.

\index{bad range|)}%
%\index{ok range|)}%
close.

\end{document}

\index{bad range|)}%
second close.

\index{bad range|)}%
third close.

\end{document}