On Sun, Nov 10, 2024 at 05:44:35AM +0000, Werner LEMBERG wrote: > > >> >> I ask to implement the same for the PDF format (and probably for > >> >> Info, too) to help with very large indices – for example, > >> >> LilyPond's main index has a length of almost 30 pages. > > > > It could be possible to put letter sections for indices in the table > > of contents but this would require outputting extra information in > > the .toc file output in a TeX run, so would have to be implemented > > carefully. If it turns out it is simple to implement in texinfo.tex > > it could be controlled with a @set flag for texinfo.tex only, as we > > shouldn't have too many options specific to one output format only. > > > > We would have to consider how this feature would work for printed > > output as well, so would have to show page numbers for the letter > > references. > > Another solution might be to do what Adobe does in its PDF reference, > which also comes with an excessively large index; see attached image. >
I've finally implemented this commit 6b9163b2b4f (today). It does not work perfectly if the index is under a @section rather than an @appendix but otherwise seems to work fine. Please let me know if there are any other issues with it.