collateindex.pl (1) Linux Manual Page
collateindex.pl – generate DocBook index files
Synopsis
collateindex.pl [-f] [-g] [-i id] [-I scope] [-N]
-o -p] -P -q] -s
-S -t -x]
Description
collateindex.pl creates index data for DocBook XML or SGML files.
Options
-f- Force the output file to be written, even if it appears to have been edited by hand.
-g- Group terms with IndexDiv based on the first letter of the term (or its SortAs attribute). (This might not handle all language environments.)
-iid- The ID to use for the <index> tag.
-Iscope- The implied scope, must be "all", "local", or "global". IndexTerms which do not specify a scope will have the implied scope. If unspecified, "all" is assumed.
-N- New index (generates an empty index file).
-ofile- Output to file. Defaults to stdout.
-p- Link to points in the document. The default is to link to the closest containing section.
-Pfile- Read a preamble from file. The contents of file will be inserted before the <index> tag.
-q- Run quietly.
-sname- Name the IndexDiv that contains symbols. The default is "Symbols". Meaningless if
-gis not used. -Sscope- Scope of the index, must be "all", "local", or "global". If unspecified, "all" is assumed.
-tname- Title for the index.
-x- Make a SetIndex.
-V- Print version number and exit.
- file
- The file containing index data generated with the DocBook DSSSL HTML stylesheet (usually called HTML.index).
Example
collateindex.pl -o index.sgml HTML.index
Exit Status
0- Success
1- Failure
Author
Norm Walsh <ndw [at] nwalsh.com>
Minor updates by Adam Di Carlo <adam [at] onshore.com> and Peter Eisentraut <peter_e [at] gmx.net>
