indexterm

- SourceForge
- Home Page
- Samples

- Reference Contents |
- Download & Install |
- User Guides |
- Notes, E-mail & Bugs |
- Q&A

Suggestions
Search:
Next: primary (in indexterm mode)
Previous: latex.preamble.essential.index Up: Indices index.mod.xsl

Reference Section

## Name

indexterm — Process `indexterm` [2.0.9] elements

## Synopsis

    <xsl:template match="indexterm"/>

## A. Description

Identify an instance of an indexed term.

## B. Pertinent Variables

- latex.generate.indexterm

## C. Template Parameters

style
  LaTeX code used to format the displayed entry. By default, this is drawn from any “latex-index-style” processing instructions (and is therefore empty most of the time).

## D. DocBook Compliance and LaTeX Notes

A LaTeX `\index` command is issued. When an `index` [2.0.9] element is included in your document and indexing is enabled, this indexterm will be indexed.

When draft mode is enabled, the physical location of `indexterms` [2.0.9] will be highlighted within the body of the text as well as appearing in the index proper.

DB2LaTeX includes some logic to handle the “startofrange” and “endofrange” classes.

It is possible to format an entry (e.g. make it bold or italic) by inserting a processing instruction named “latex-index-style” in the appropriate subterm.

## E. Samples and Tests

`test_book.pdf` from `test_book/test.xml`, `test_ddh_article.pdf` from `test_ddh/article.xml`, `test_draft.pdf` from `test_draft/test.xml`, `test_draft_hyperref.pdf` from `test_draft/test.xml` using `hyperref.xsl`, `test_index.pdf` from `test_index/test.xml`

## F. Further Reading

- latex.is.draft

Prev | Up | Next
latex.preamble.essential.index | Home | primary (in indexterm mode)