[tex-live] Makeindex, version 2.15 [TeX Live 2010] (kpathsea + Thai support)

Philip Taylor P.Taylor at Rhul.Ac.Uk
Fri Oct 3 14:31:46 CEST 2014



Lars Madsen wrote:

> You complain about an unwanted newline in the output from makeindex.
> This leads me to think that you are doing some trickery with \item
> for it to grap/grep/gather up, data until the end of line.
> 
> So I just wanted to know what you are using it for.

Yes, \item is re-defined to take an active end-of-line character as its
final delimiter; if this were not done, I would not be able to grab each
index entry and typeset it as I wish :

% !TeX File=Index.tex
% !TeX Program=XeTeX
% !TeX Root=A5-Master.tex

\def \Leftline #1%
	{
		\vskip \baselineskip
		\leftline {\largeboldredfonts #1}
		\vskip 0,2 \baselineskip \relax
	}

\let \finish = \end
\def \begin #1{}
\def \end #1{}
\vfill \eject
\obeylines
\def \item #1
	{\leftline {{#1}}}
\Leftline {Index of Authors}
\input author-index.ind
\Leftline {Index of Binders}
\input binder-index.ind
\Leftline {Index of Minor Hands}
\input minor-hand-index.ind
\Leftline {Index of MS Identifiers}
\input msidentifier-index.ind
\Leftline {Index of Other Persons}
\input other-person-index.ind
\Leftline {Index of Owner Individuals}
\input owner-individual-index.ind
\Leftline {Index of Owner Institutions}
\input owner-institution-index.ind
\Leftline {Index of Places}
\input place-index.ind
\Leftline {Index of Scribes}
\input scribe-index.ind
\let \end = \finish




More information about the tex-live mailing list