Synopsis
install-catalog [option (1)] {action (2)...}
(1) [-d | --delegate]
(2) [-a centralized ordinary | --add centralized ordinary
| -r centralized ordinary | --remove centralized ordinary
| -h | --help
| -v | --version]
Description
This shell script allows to handle a centralized catalog
referencing other "ordinary" SGML or XML Open Catalogs.
An Open Catalog contains
a set of directives defined by OASIS, mostly used
for defining equivalences between FPIs (Formal Public
Identifiers) and real file names (see TR9401:1997 on http://www.oasis-open.org).
The Open Catalogs usually reside in
/usr/share/sgml.
A centralized catalog is a special
Open Catalog that includes only comments and CATALOG directives
pointing to other catalogs (or DELEGATE directives if supported). The
centralized catalog can be the key to all other SGML resources. It
usually resides in /etc/sgml.
The centralized catalog can be edited manually or through the
install-catalog script to add or remove
references to other ordinary catalogs. This script is mainly destined
to software package post-installation scripts.
An example of a typical call to install-catalog is:
install-catalog --add \
/usr/share/sgml/docbook/dsssl-stylesheets-1.54/catalog \
/etc/sgml/sgml-docbook-4.0.cat
This call will install in
/etc/sgml/sgml-docbook-4.0.cat a reference to
/usr/share/sgml/docbook/dsssl-stylesheets-1.54/catalog.