summaryrefslogtreecommitdiff
path: root/macros/latex/base/idx.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/base/idx.tex')
-rw-r--r--macros/latex/base/idx.tex30
1 files changed, 14 insertions, 16 deletions
diff --git a/macros/latex/base/idx.tex b/macros/latex/base/idx.tex
index 1d74b1fca0..cbc233f63a 100644
--- a/macros/latex/base/idx.tex
+++ b/macros/latex/base/idx.tex
@@ -1,30 +1,30 @@
% \iffalse meta-comment
%
-% Copyright (C) 1993-2019
+% Copyright (C) 1993-2020
% The LaTeX3 Project and any individual authors listed elsewhere
-% in this file.
-%
+% in this file.
+%
% This file is part of the LaTeX base system.
% -------------------------------------------
-%
+%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% https://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
+% and version 1.3c or later is part of all distributions of LaTeX
% version 2008 or later.
-%
+%
% This file has the LPPL maintenance status "maintained".
-%
+%
% The list of all files belonging to the LaTeX base distribution is
% given in the file `manifest.txt'. See also `legal.txt' for additional
% information.
-%
-% The list of derived (unpacked) files belonging to the distribution
-% and covered by LPPL is defined by the unpacking scripts (with
+%
+% The list of derived (unpacked) files belonging to the distribution
+% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
-%
+%
% \fi
% IDX.TEX -- A LaTeX input file for printing .IDX files.
% Copyright (c) 1985, 1994 by Leslie Lamport.
@@ -35,10 +35,10 @@
\nofiles
-\setlength{\oddsidemargin}{0pt}
+\setlength{\oddsidemargin}{0pt}
\setlength{\evensidemargin}{0pt}
\setlength{\textwidth}{470pt} % Width of text line.
-\setlength{\columnsep}{30pt} % Space between columns
+\setlength{\columnsep}{30pt} % Space between columns
\raggedright
@@ -52,7 +52,7 @@
\def\indexentry{\par\begingroup \isanitize \idxentry}
-\def\idxentry#1#2{\def\foo{#2}\ifx\foo\thispage
+\def\idxentry#1#2{\def\foo{#2}\ifx\foo\thispage
\else \gdef\thispage{#2}
\vskip 7pt {\large \bf Page #2\par \vskip 2pt}\fi
\hangindent 20pt \ttfamily #1\par\endgroup}
@@ -90,5 +90,3 @@
\input \filename.idx\relax
\end{document}
-
-