Hello, everybody!
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
MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Repeated Index Entry
Repeated Index Entry
No, you must use the command \index{house} every time.
And no, there is no recent version of this package.
You can try xindy or something:
http://en.wikibooks.org/wiki/LaTeX/Indexing
Nikolay
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
The easiest method is to make a command that both prints the word and indexes it. For example:
or if you are using xspace:
Regards
Nicola Talbot
Code: Select all
\newcommand{\house}{house\index{house}}
Code: Select all
\newcommand{\house}{house\index{house}\xspace}
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
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
OK, thank you for the help!
Felipe Abrão
Felipe Abrão