[Prev]

3.9 Creating Index

To enable index, you must include somewhere in your document

  < <makeindex: 1>>

This triggers index generation and will insert a section containing the index.

Creating index involves marking the words to be indexed with ix construct, like this:

  < <ix: Dickens>> said that...

All bibliographical references, function names, path names, URLs, and email addresses are automatically included in the index. You can also specify words, concepts, and people indexes as follows

  < <wordix:
  word or phrase
  word
  word
  >>
  < <conceptix:
  concept 1
  concept 2
  >>
  < <peopleix:
  John Q. Public
  AD Brown
  >>

In general all of the above accept one indexable phrase per line and then make great effort to detect occurrances of said phrase in text of the document. This in general will avoid cluttering most of the text with ix declarations, but has the disadvantage that even the irrelevant mention of the phrase will get indexed. Also, there is no easy way of indicating the most relevant index entry.

Indexing currently only works with LaTeX backend.


[Prev | Next]
.