|
"http://www.w3.org/TR/REC-html40/loose.dtd">
Multiple Indexes with the index and multind package
B.17.5 |
Multiple Indexes with the index and multind package |
|
HEVEA supports several simultaneous indexes, following the scheme
of the
index package,
which is present in modern LATEX distributions.
This scheme is backward compatible with the standard indexing scheme
of LATEX.
Support is not complete, but the most useful commands are available.
More precisely, HEVEA knows the following commands:
-
\newindex{tag}{ext}{ignored}{indexname}
-
Declare an index.
The first argument tag is a tag to select this index in other
commands; ext is the extension of the index information file
generated by LATEX (e.g., idx); ignored is ignored by
HEVEA; and indexname is the title of the index.
If given the
idx option. HEVEA attempts to read file
mydoc.ext. There also exists a
\renewindex commands that takes the same arguments and that can be
used to redefine previously declared indexes.
- \makeindex
- Perform
\newindex{default}{idx}{ind}{Index} .
- \index[tag]{arg}
-
Act as the LATEX
\index command except that the information
extracted from arg goes to the tag index.
The tag argument defaults to default , thereby yielding
standard LATEX behavior for the \index command without an
optional argument.
There also exists a stared-variant \index* that Additionally
typesets arg.
- \printindex[tag]
- Compute, format and
output index whose tag is tag. The tag argument
defaults to
default . At the moment, there is an important
difference between LATEX and HEVEA: for \printindex to
work, if must occur after the last
occurrence of the \index command. This is little problem in
practise, since indexes usually reside at the end of books.
The multind package provides another scheme
for multiple indexes.
Note that the ``multind''
style for indexes is not backward compatible with
LATEX default indexing scheme. I would recommend using
the ``index'' package.
|