On 6 November 2016 at 22:31, Karl Berry <[email protected]> wrote:
>     >How does info know what qualifies as an index?
>     It looks for nodes with "index" in the name.
>
> Avoiding reliance on this string search was precisely why the whole
> ^@^H[index^@^H] thing was invented, years and years ago. Oh well,
> whatever. -k

I don't know if the info reader ever did anything with this. I checked
the source code for Texinfo 4.13 and in the
"info_indices_of_file_buffer" function, it still checks if the string
"Index" occurs in the name of the node.

The downside of using this to find index nodes is that it would
require scanning every node in the file instead of just looking at the
nodes listed in the tag table.

It seems not to be much of a problem in practice.

Reply via email to