MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Repeated Index Entry
-
- Posts: 9
- Joined: Sun Feb 28, 2010 4:21 pm
Repeated Index Entry
Does anyone of you know how a specific word (or all words) in the index list can be referenced to all the pages where they appear in the text, but not having to use the comand \index everytime near this word in the main document? For example: suppose I want to index the word house, but this word appears on 50 different pages of my text. Do I have to use the command \index{house} near this word 50 times? Is not there a way to index this word just once, but in so a manner that all the 50 pages related to that are shown in the index list? I thank you all in advance!
Felipe Abrão
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Repeated Index Entry
http://www.tex.ac.uk/tex-archive/indexi ... eindex.pdf at page 3Each \index command causes LaTEX to write an entry on the idx file.
The following example shows some simple \index commands and the index
entries that they produce. The page number refers to the page containing
the text where the \index command appears.
And no, there is no recent version of this package.
You can try xindy or something:
http://en.wikibooks.org/wiki/LaTeX/Indexing
Nikolay
Repeated Index Entry
Code: Select all
\newcommand{\house}{house\index{house}}
Code: Select all
\newcommand{\house}{house\index{house}\xspace}
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
-
- Posts: 9
- Joined: Sun Feb 28, 2010 4:21 pm
Re: Repeated Index Entry
Felipe Abrão