Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/macros/latex/contrib/robustindex

 Package robustindex.sty, Wilberd van der Kallen Feb 2005.
 http://www.math.uu.nl/people/vdkallen/stind.html

 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

 \usepackage[plainpages=false,hyperindex=false]{hyperref}

 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

Files

Name Size Date Notes
README 1742 2005-02-24 11:00
robustglossary.sty 1946 2005-02-23 01:21
robustindex.html 1498 2005-02-23 08:59
robustindex.sty 6999 2005-02-24 10:30
robustsample.pdf 116222 2005-02-24 10:58
robustsample.tex 9329 2005-02-24 10:57

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

Pack­age De­tailsro­bustin­dex
Li­censeThe LaTeX Project Public Li­cense
Main­tainerWil­berd van der Kallen
Con­tained inTeXlive as ro­bustin­dex
MikTeX as ro­bustin­dex
Topics in­dex sup­port
Guest Book Sitemap Contact