[tex-live] Extended page grouping patch makeindex in texlive 2011?

Pander pander at users.sourceforge.net
Thu Jul 28 09:38:06 CEST 2011


On 2011-07-28 00:42, Karl Berry wrote:
>     >     Will the extended page grouping patch for makeindex which I have
> 
> Thanks for the updated patch.  What remains unclear to me is whether
> this feature has any use for any document in the world besides yours.
> Deliberately extending index ranges just sounds doubtful to me.  
> 
> Does anyone else here need this feature?  (I realize this is not a
> conclusive place to ask, but it's a start.)
> 
> karl

Perhaps overkill but the following example is a use case for this patch.
(Generated) documents such as overviews, catalogues, reference guides,
photo books, listing etcetera with many many (two page) spreads that
have \index{} entries resulting in many page numbers for the entries in
the index.

Suppose the \index{} is only on the recto, then you will get e.g.:
   2, 6, 10, 12, 14, 16, 20
in which one would like to group the 10, 12, 14 and 16 to safe space and
make it more practical to use. A similar example could be made for
\index{} only on the verso:
   3, 7, 11, 13, 15, 17, 21

Putting identical \index{} on both pages of the spreads results in:
   2-3, 6-7, 10-17, 20-21
but here 2-3, 6-7 and 20-21 are grouped unnecessary

The patch can offer for recto:
   2, 6, 10-16, 20
or can offer for verso:
   3, 7, 11-17, 21

Mixing both is in my opinion unwanted. Once we have had the discussion
here we can also poll on comp.text.tex.

Regards,

Pander


More information about the tex-live mailing list