Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

collateindex.pl (1)

Name

collateindex.pl - generate DocBook index files

Synopsis

collateindex.pl [-f] [-g] [-i id] [-I scope] [-N]
[-o file] [-p] [-P file] [-q] [-s name]
[-S scope] [-t name] [-x] file

Description

COLLATEINDEX(1)                  DocBook DSSSL                 COLLATEINDEX(1)



NAME
       collateindex.pl - generate DocBook index files

SYNOPSIS
       collateindex.pl [-f] [-g] [-i id] [-I scope] [-N]
                       [-o file] [-p] [-P file] [-q] [-s name]
                       [-S scope] [-t name] [-x] file

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.)

       -i id
            The ID to use for the <index> tag.

       -I scope
            The implied scope, must be "all", "local", or "global".  Index-
            Terms which do not specify a scope will have the implied scope.
            If unspecified, "all" is assumed.

       -N   New index (generates an empty index file).

       -o file
            Output to file. Defaults to stdout.

       -p   Link to points in the document.  The default is to link to the
            closest containing section.

       -P file
            Read a preamble from file.  The contents of file will be inserted
            before the <index> tag.

       -q   Run quietly.

       -s name
            Name the IndexDiv that contains symbols.  The default is "Sym-
            bols".  Meaningless if -g is not used.

       -S scope
            Scope of the index, must be "all", "local", or "global".  If
            unspecified, "all" is assumed.

       -t name
            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@nwalsh.com>

       Minor updates by Adam Di Carlo <adam@onshore.com> and Peter Eisentraut
       <peter_e@gmx.net>



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------------------+
       |ATTRIBUTE TYPE |         ATTRIBUTE VALUE          |
       +---------------+----------------------------------+
       |Availability   | data/docbook/docbook-style-dsssl |
       +---------------+----------------------------------+
       |Stability      | Pass-through volatile            |
       +---------------+----------------------------------+

NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from  http://prdownloads.sourceforge.net/doc-
       book/docbook-dsssl-1.79.tar.gz.

       Further information about this software can be found on the open source
       community website at http://docbook.sourceforge.net/.



docbook-dsssl 1.79                2004-11-04                   COLLATEINDEX(1)