Dynamic index

Also see the docs on indexing.

A dynamic index uses hyperlinks to the points in the text that it indexes, so that in print the page numbers are always accurate even if the text reflows, and online links to text are clickable. Here is a very short sample.