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

Zdenek Wagner zdenek.wagner at gmail.com
Fri Oct 3 14:57:07 CEST 2014

2014-10-03 14:42 GMT+02:00 Philip Taylor <P.Taylor at rhul.ac.uk>:
>
>
> Robin Fairbairns wrote:
>
>> given that makeindex dates back into the days when tex i/o was limited
>> to tediously short lines, i don't find makeindex's short line breaks in
>> the least surprising.
>
> Well, yes, but the TeX Live 2013 version is dated 2010; one might have
> thought that the 2010 update would have included line-lengths a little
> more realistic in this day and age ...
>
>> i would guess that the \item macro is supposed to close off the previous
>> entry and start a new one.  that is, treat the text after \item as a
>> paragraph to be terminated by the next \item (or, presumably, end of
>> index, however that is flagged).
>
> Indeed.  But as Makeindex interpolates things other than \item between
> index groups for a single letter, and as there is (of course) no final
> (empty) \item as the last line of the file, one cannot write a \item
> macro that takes \item as its final delimiter.
>
In the default definition \item just puts the text somewhere and
assumes that \par will be the first token resulting from an expansion
of a following token and this will format the item. I agree that this
is not the best markup. I do not know where I found the complete
documentation, maybe in the source package. 22 years ago I added the
Czech support and I just copy my ist files since that time. A useful
example of the ist files is in ltxdoc.

> ** Phil.

--
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz