The LaTeX2HTML Translator | Drakos/Moore |
To: Integrated Glossary and Index |
More sophisticated indexing is available by loading the makeidx package. Most of the features described in [1, Appendix A] become available. This includes:
\index{
<sort-key>@
<styled-text>}
produce <styled-text> as the entry, but sorted according to <sort-key>.
\index{
<item>!
<sub-item>}
set the <sub-item> indented below the <item>.
Unlimited levels of hierarchy are possible,
even though LATEX is limited to only 3 levels.
The <sort-key>@
<styled-text> can be used at each level.
\index{latexe@\LaTeXe |see{\htmlref{\LaTeX}{IIIlatex}}}where a \label has been specified in some other index-entry, as follows:
\index{latex@\LaTeX\label{IIIlatex}}
|
(e.g. \index{A| }
)
places a blank line before the index entry and omits the hyperlink.
This is used mainly for visual formatting; it allows a break before the entries
starting with each letter, say. Using a printable-key, as in \index{Q@Q, R| }
,
is appropriate when there are no indexed words starting with `Q', say.
"@
, "|
, "!
and also ""
for the quote character itself.
Also \"
produces an umlaut accent on the following character,
when appropriate, else is ignored.
Furthermore, the printable part of an index entry can contain HTML
anchors; that is, hyperlinks and/or \label{...}
s.
This allows index entries to contain cross-links to other entries, for example,
as well as allowing index-entries to be the target of hyperlinks from elsewhere
within the document.
The next section describes how this feature is used within this manual to create a Glossary, containing a short description of all file-names, configuration-variables and application software mentioned within the manual, integrated with the Index. All occurrences of the technical names can be easily found, starting from any other.
When a single item is indexed many times, it is sufficient
to have a \label command appearing within the printable portion
of the first instance of an \index{...}
command for that item,
within a single document segment.
If the index-entries are in different segments of a segmented document,
it is sufficient to have the \index{...@...\label{...}}
appearing
within that segment, in which the item is indexed, whose indexing information
is loaded earliest via a \internal[index]{...}
command.
When in doubt, include one \index{...@...\label{...}}
per segment
in which the item is indexed.
For cross-links to work effectively within segmented documents,
the indexing command
\index{...@...\label{...}}
must occur earlier
in the same segment than any use of
\index{...@...\htmlref{...}{...}}
intended to create a link to that label.
If the \label occurs in a different segment,
then a \internal[index]{...}
command for that segment,
may be needed at the beginning of the segment with the \htmlref.
When this is done incorrectly, the resulting link will be to the
segment where the indexed item occurred,
rather than staying within the Index.
Since use of section-names, as the text for hyperlinks, can lead to a very long and cumbersome Index, especially when single items have been indexed many times, a further feature is provided to obtain a more compact Index.
Use of the command-line option -short_index causes a codified
representation of the sectioning to be used, rather than the full section-name.
The differences are as follows.
^
'.
To: Integrated Glossary and Index |
Ross Moore 1991-03-26 | Processed by LaTeX2HTML-FU |