summaryrefslogtreecommitdiff
path: root/Build/source/texk/makeindexk/tests
diff options
context:
space:
mode:
authorDenis Bitouzé <dbitouze@wanadoo.fr>2021-02-25 18:23:07 +0000
committerDenis Bitouzé <dbitouze@wanadoo.fr>2021-02-25 18:23:07 +0000
commitc6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch)
tree1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/texk/makeindexk/tests
parent07ee7222e389b0777456b427a55c22d0e6ffd267 (diff)
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makeindexk/tests')
-rwxr-xr-xBuild/source/texk/makeindexk/tests/makeindex.test17
-rw-r--r--Build/source/texk/makeindexk/tests/nested-range-bb.idx6
-rw-r--r--Build/source/texk/makeindexk/tests/nested-range-bb.tex72
-rwxr-xr-xBuild/source/texk/makeindexk/tests/nested-range-test.pl29
-rw-r--r--Build/source/texk/makeindexk/tests/nested-range.idx3
-rw-r--r--Build/source/texk/makeindexk/tests/nested-range.tex33
-rw-r--r--Build/source/texk/makeindexk/tests/sample.idx15
-rw-r--r--Build/source/texk/makeindexk/tests/sample.ind15
8 files changed, 0 insertions, 190 deletions
diff --git a/Build/source/texk/makeindexk/tests/makeindex.test b/Build/source/texk/makeindexk/tests/makeindex.test
deleted file mode 100755
index 0f266aa778b..00000000000
--- a/Build/source/texk/makeindexk/tests/makeindex.test
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /bin/sh -vx
-# $Id$
-# 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.
-
-TEXMFCNF=$srcdir/../kpathsea
-export TEXMFCNF
-
-rm -f sample.*
-
-./makeindex $srcdir/tests/sample.idx -o sample.ind1 -t sample.ilg1 \
- && diff $srcdir/tests/sample.ind sample.ind1 || exit 1
-
-cat $srcdir/tests/sample.idx | ./makeindex >sample.ind2 2>sample.ilg2 \
- && diff $srcdir/tests/sample.ind sample.ind2 || exit 1
-
diff --git a/Build/source/texk/makeindexk/tests/nested-range-bb.idx b/Build/source/texk/makeindexk/tests/nested-range-bb.idx
deleted file mode 100644
index 6575c81ab54..00000000000
--- a/Build/source/texk/makeindexk/tests/nested-range-bb.idx
+++ /dev/null
@@ -1,6 +0,0 @@
-\indexentry{random text|(}{1}
-\indexentry{periodic Hilbert transform|(}{1}
-\indexentry{periodic Hilbert transform|(}{2}
-\indexentry{random text|(}{2}
-\indexentry{periodic Hilbert transform|)}{2}
-\indexentry{random text|)}{2}
diff --git a/Build/source/texk/makeindexk/tests/nested-range-bb.tex b/Build/source/texk/makeindexk/tests/nested-range-bb.tex
deleted file mode 100644
index d2366dd6ccf..00000000000
--- a/Build/source/texk/makeindexk/tests/nested-range-bb.tex
+++ /dev/null
@@ -1,72 +0,0 @@
-% Copyright 2011 Barbara Beeton <tex-live@tug.org>
-% You may freely use, modify and/or distribute this file.
-% This is the original annotated test report, with various extra info.
-% See below \end{document}.
-\documentclass{amsbook}
-\usepackage{verbatim}
-
-\makeindex
-
-\begin{document}
-
-\chapter{Demonstration of a Makeindex bug}
-
-\index{random text|(}%
-Here we open an index span for ``random text''.
-
-\index{periodic Hilbert transform|(}%
-How could we define the \emph{periodic Hilbert transform}?
-Here is an open index span for ``periodic Hilbert transform''.
-
-(lots more text omitted)
-\newpage
-
-We defined in Section~3 the
-\index{periodic Hilbert transform|(}%
-\emph{periodic Hilbert transform} or \emph{conjugate function}.
-A second open index span for ``periodic Hilbert transform''.
-
-\index{random text|(}%
-(more omitted text and a second open index span for ``random text'')
-
-Closing index spans for the two opened entries.
-\index{periodic Hilbert transform|)}%
-\index{random text|)}%
-
-\vspace{1\baselineskip}
-\verbatiminput{\jobname.tex}
-\newpage
-\noindent This is the .idx file from the previous run:
-\verbatiminput{\jobname.idx-prev}
-\vspace{2\baselineskip}
-This is the resulting .ilg file:
-\verbatiminput{\jobname.ilg}
-\vspace{2\baselineskip}
-And the resulting .ind file; note spurious \verb+\(+ inclusions.
-\verbatiminput{\jobname.ind}
-\end{document}
-
-
-Date: Thu, 22 Sep 2011 12:23:48 -0400
-From: Barbara Beeton
-Subject: a makeindex bug
-
-[...]
-
-to get the desired output, run latex, then makeindex.
-copy or rename <jobname>.idx to <jobname>.idx-prev,
-rerun latex, and take a look at the output. (the
-reason for the rename is that i've included in the
-output listings of the .idx(-prev), .ilg, and .ind
-files, all small, but very interesting.)
-
-the problem is that if a span is begun for a string
-and then a second span is begun for the same string
-without the first one being closed, the |( in the
-input is put into the output as \( -- with the
-result that an attempt to print the index will get
-an unmatched $ error. the unmatched span is noted
-in the .ilg file with a warning, but since most
-people ignore warnings the first time around (i
-certainly do), the unrecoverable (la)tex error in
-the index can really throw them into a tizzy.
diff --git a/Build/source/texk/makeindexk/tests/nested-range-test.pl b/Build/source/texk/makeindexk/tests/nested-range-test.pl
deleted file mode 100755
index 441328257d6..00000000000
--- a/Build/source/texk/makeindexk/tests/nested-range-test.pl
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env perl
-# $Id$
-# Public domain. Originally written 2011, Karl Berry.
-# Check that makeindex doesn't create spurious output from nested ranges.
-# See nested-range.tex and -bb.tex.
-
-# srcdir = makeindexk (in the source tree)
-BEGIN { chomp ($srcdir = $ENV{"srcdir"} || `cd \`dirname $0\`/.. && pwd`); }
-require "$srcdir/../tests/common-test.pl";
-
-exit (&main ());
-
-sub main {
- my $ret = &test_run ("./makeindex", "$srcdir/tests/nested-range.idx",
- "-o", "nested-range.ind",
- "-t", "nested-range.ilg");
-
- # The test fails if the output contains \(.
- my $bad = 0;
- local *IND;
- $IND = "nested-range.ind";
- open (IND) || die "open($IND) failed: $!";
- while (<IND>) {
- $bad = 1 if /\\\(/;
- }
- close (IND) || die "close($IND) failed: $!";
-
- return $bad;
-}
diff --git a/Build/source/texk/makeindexk/tests/nested-range.idx b/Build/source/texk/makeindexk/tests/nested-range.idx
deleted file mode 100644
index a1154a3d5dc..00000000000
--- a/Build/source/texk/makeindexk/tests/nested-range.idx
+++ /dev/null
@@ -1,3 +0,0 @@
-\indexentry{bad range|(}{1}
-\indexentry{bad range|(}{2}
-\indexentry{bad range|)}{2}
diff --git a/Build/source/texk/makeindexk/tests/nested-range.tex b/Build/source/texk/makeindexk/tests/nested-range.tex
deleted file mode 100644
index 15be5e519a8..00000000000
--- a/Build/source/texk/makeindexk/tests/nested-range.tex
+++ /dev/null
@@ -1,33 +0,0 @@
-% 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}
diff --git a/Build/source/texk/makeindexk/tests/sample.idx b/Build/source/texk/makeindexk/tests/sample.idx
deleted file mode 100644
index 394c0087af9..00000000000
--- a/Build/source/texk/makeindexk/tests/sample.idx
+++ /dev/null
@@ -1,15 +0,0 @@
-\indexentry{alpha}{1}
-\indexentry{random text|bold}{2}
-\indexentry{random text|(}{9}
-\indexentry{random text|)}{11}
-\indexentry{alpha!beta}{3}
-\indexentry{alpha!phi}{5}
-\indexentry{alpha!phi!sigma}{6}
-\indexentry{alpha!phi!rho}{7}
-\indexentry{alpha!beta!delta}{8}
-\indexentry{alpha!beta!gamma}{10}
-\indexentry{alpha!phi!sigma}{12}
-\indexentry{alpha!phi!rho}{12}
-\indexentry{alpha!phi!sigma}{13}
-\indexentry{alpha!phi!sigma}{14}
-\indexentry{alpha!phi!rho}{14}
diff --git a/Build/source/texk/makeindexk/tests/sample.ind b/Build/source/texk/makeindexk/tests/sample.ind
deleted file mode 100644
index ea39facc389..00000000000
--- a/Build/source/texk/makeindexk/tests/sample.ind
+++ /dev/null
@@ -1,15 +0,0 @@
-\begin{theindex}
-
- \item alpha, 1
- \subitem beta, 3
- \subsubitem delta, 8
- \subsubitem gamma, 10
- \subitem phi, 5
- \subsubitem rho, 7, 12, 14
- \subsubitem sigma, 6, 12--14
-
- \indexspace
-
- \item random text, \bold{2}, 9--11
-
-\end{theindex}