Skip to main content

Module make_index

Module make_index 

Source
Expand description

Index generation processor.

Port of LaTeXML::Post::MakeIndex (504 lines of Perl). Collects INDEX:* entries from the ObjectDB, builds a tree of index entries grouped by initial letter, and fills in ltx:index and ltx:glossary elements. Supports permuted indexes, splitting by initial, see-also references, range-style page references, and glossary entry formatting.

Structs§

MakeIndex
MakeIndex post-processor.

Constants§

DEFAULT_INDEX_LIST
The list an ltx:indexmark without inlist belongs to, and the list an ltx:index without lists collects: \index writes \jobname.idx (Perl MakeIndex.pm:77 $defaultlistname).
PLACEHOLDERS
The lists MakeIndex fills: an empty index or glossary, and nomencl’s list in a box, a description (OD #1098).

Functions§

index_db_key
The ObjectDB key of an index entry: INDEX:<phrase keys> in the default list (Perl’s key, unchanged), INDEX@<list>:<phrase keys> in another — one entry per list, as GLOSSARY:<list>:<key>.