Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/robustindex

 Package robustindex.sty, Wilberd van der Kallen Feb 2005.

 This package addresses two issues.

 1. Third parties often change the page numbers without rerunning makeindex.
 (Yes, it happened also to my 1993 book.)

 One would like to make the page numbers in the index entries more robust.
 We use the \pageref mechanism for that. Only after adding, deleting or
 otherwise modifying an \index{entry}, or after changing the order of the
 index entries, does one have to rerun makeindex.
 Other changes do not matter, as long as one runs LaTeX or pdflatex twice.

 2. The theindex environment does not create a hyperref destination.

 Therefore we introduce \indexincontents.
 It does what \addcontentsline{toc}{chapter}{Index} or
 \addcontentsline{toc}{section}{Index} should have done in the first place:
 When one clicks on the link that displays the word Index, one actually ends
 up in the index.

 Our package performs no miracles. But in simple situations all you need is
 adding the \usepackage{robustindex} to the preamble.

 The implicit page range formation of makeindex is disabled.
 Commands of the type \index{entry|editing command} are supported,
 but much more naively than in the encapsulating mechanism of makeindex.

 If you use hyperref, choose the option hyperindex=false, because our method
 to set up these hyperlinked indices is different.
 We tested a little with


 See robustsample.tex for more details and illustrations.

 There you find examples like

 \index{alpha!see beta}
 \index{alpha!see also gamma\gobblepageref}

 \indexincontents % always put this before the index.

 See also robustglossary.sty

Down­load the con­tents of this pack­age in one zip archive (95.8k).

ro­bustin­dex – Create in­dex with pagerefs

Third par­ties of­ten change the page num­bers with­out re­run­ning makein­dex. One would like to make the page num­bers in the in­dex en­tries more ro­bust.

This bun­dle pro­vides ro­bustin­dex.sty and ro­bust­glos­sary.sty, which use the \pageref mech­a­nism to main­tain cor­rect page num­bers

Li­cense The Project Public Li­cense
Main­tainerWil­berd van der Kallen
Con­tained inTeX Live as ro­bustin­dex
MiKTeX as ro­bustin­dex
Topics in­dex sup­port
Guest Book Sitemap Contact Contact Author