<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>install-catalog</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.54"><LINK
REL="HOME"
TITLE="SGML-common"
HREF="index.html"><LINK
REL="UP"
TITLE="Introduction"
HREF="introduction.html"><LINK
REL="PREVIOUS"
TITLE="Introduction"
HREF="introduction.html"><LINK
REL="NEXT"
TITLE="GNU Free Documentation License"
HREF="fdl.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>SGML-common</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="introduction.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="fdl.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="INSTALL-CATALOG"
>install-catalog</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN33"
></A
><H2
>Name</H2
>install-catalog -- Manage a SGML or XML centralized catalog</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN36"
></A
><H2
>Synopsis</H2
><P
><B
CLASS="COMMAND"
>install-catalog</B
> [option <I
><A
HREF="install-catalog.html#OPTION"
>(1)</A
></I
>] {action <I
><A
HREF="install-catalog.html#ACTION"
>(2)</A
></I
>...}<P
><A
NAME="OPTION"
>(1)</A
> [<TT
CLASS="OPTION"
>-d</TT
> | <TT
CLASS="OPTION"
>--delegate</TT
>]</P
><P
><A
NAME="ACTION"
>(2)</A
> [<TT
CLASS="OPTION"
>-a</TT
> <TT
CLASS="REPLACEABLE"
><I
>centralized</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>ordinary</I
></TT
> | <TT
CLASS="OPTION"
>--add</TT
> <TT
CLASS="REPLACEABLE"
><I
>centralized</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>ordinary</I
></TT
><BR> | <TT
CLASS="OPTION"
>-r</TT
> <TT
CLASS="REPLACEABLE"
><I
>centralized</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>ordinary</I
></TT
> | <TT
CLASS="OPTION"
>--remove</TT
> <TT
CLASS="REPLACEABLE"
><I
>centralized</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>ordinary</I
></TT
><BR> | <TT
CLASS="OPTION"
>-h</TT
> | <TT
CLASS="OPTION"
>--help</TT
><BR> | <TT
CLASS="OPTION"
>-v</TT
> | <TT
CLASS="OPTION"
>--version</TT
>]</P
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN78"
></A
><H2
>Description</H2
><P
>This shell script allows to handle a centralized catalog
referencing other "ordinary" SGML or XML Open Catalogs.</P
><P
>An <I
CLASS="FIRSTTERM"
>Open Catalog</I
> 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 <A
HREF="http://www.oasis-open.org"
TARGET="_top"
>http://www.oasis-open.org</A
>).
The Open Catalogs usually reside in
<TT
CLASS="FILENAME"
>/usr/share/sgml</TT
>.</P
><P
>A <I
CLASS="FIRSTTERM"
>centralized catalog</I
> 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 <TT
CLASS="FILENAME"
>/etc/sgml</TT
>.</P
><P
>The centralized catalog can be edited manually or through the
<SPAN
CLASS="APPLICATION"
>install-catalog</SPAN
> script to add or remove
references to other ordinary catalogs. This script is mainly destined
to software package post-installation scripts.</P
><P
>An example of a typical call to install-catalog is:
<PRE
CLASS="SCREEN"
> install-catalog --add \
/usr/share/sgml/docbook/dsssl-stylesheets-1.54/catalog \
/etc/sgml/sgml-docbook-4.0.cat
</PRE
>
</P
><P
>This call will install in
<TT
CLASS="FILENAME"
>/etc/sgml/sgml-docbook-4.0.cat</TT
> a reference to
<TT
CLASS="FILENAME"
>/usr/share/sgml/docbook/dsssl-stylesheets-1.54/catalog</TT
>.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN95"
></A
><H2
>Options</H2
><P
>Here is the list of options that can influence the way
<SPAN
CLASS="APPLICATION"
>install-catalog</SPAN
> works:</P
><DIV
CLASS="GLOSSLIST"
><DL
><DT
><B
> <P
>[<TT
CLASS="OPTION"
>-d</TT
> | <TT
CLASS="OPTION"
>--delegate</TT
>]</P
>
</B
></DT
><DD
><P
>Use DELEGATE instead of CATALOG directives to specify a pointer</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN110"
></A
><H2
>Actions</H2
><P
>Here is the list of actions that can be requested to
<SPAN
CLASS="APPLICATION"
>install-catalog</SPAN
>:</P
><DIV
CLASS="GLOSSLIST"
><DL
><DT
><B
> <P
>[<TT
CLASS="OPTION"
>-a</TT
> <TT
CLASS="REPLACEABLE"
><I
>centralized</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>ordinary</I
></TT
> | <TT
CLASS="OPTION"
>--add</TT
> <TT
CLASS="REPLACEABLE"
><I
>centralized</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>ordinary</I
></TT
>]</P
>
</B
></DT
><DD
><P
>Declare a new SGML package.</P
></DD
><DT
><B
> <P
>[<TT
CLASS="OPTION"
>-r</TT
> <TT
CLASS="REPLACEABLE"
><I
>centralized</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>ordinary</I
></TT
> | <TT
CLASS="OPTION"
>--remove</TT
> <TT
CLASS="REPLACEABLE"
><I
>centralized</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>ordinary</I
></TT
>]</P
>
</B
></DT
><DD
><P
>Remove a previously installed SGML package.</P
></DD
><DT
><B
> <P
>[<TT
CLASS="OPTION"
>-h</TT
> | <TT
CLASS="OPTION"
>--help</TT
>]</P
>
</B
></DT
><DD
><P
>Print a short help message and exit</P
></DD
><DT
><B
> <P
>[<TT
CLASS="OPTION"
>-v</TT
> | <TT
CLASS="OPTION"
>--version</TT
>]</P
>
</B
></DT
><DD
><P
>Print the version identifier and exit</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN163"
></A
><H2
>Files</H2
><DIV
CLASS="GLOSSLIST"
><DL
><DT
><B
> <TT
CLASS="FILENAME"
>/etc/sgml/*</TT
>
</B
></DT
><DD
><P
>The SGML centralized catalogs</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN171"
></A
><H2
>Authors</H2
><DIV
CLASS="GLOSSLIST"
><DL
><DT
><B
> Eric Bischoff <TT
CLASS="EMAIL"
><<A
HREF="mailto:ebisch@cybercable.tm.fr"
>ebisch@cybercable.tm.fr</A
>></TT
>
</B
></DT
><DD
><P
>Developper of install-catalog.</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN179"
></A
><H2
>See Also</H2
><DIV
CLASS="GLOSSLIST"
><DL
><DT
><B
> <SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>jw</SPAN
>(1)</SPAN
>
</B
></DT
><DD
><P
>conversion from DocBook to other file formats
</P
></DD
><DT
><B
><P
><B
CLASS="COMMAND"
></B
> </P
>
<SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>nsgmls</SPAN
>(1)</SPAN
>
</B
></DT
><DD
><P
>a base component of <SPAN
CLASS="APPLICATION"
>Jade</SPAN
> DSSSL engine
</P
></DD
><DT
><B
><P
><B
CLASS="COMMAND"
></B
> </P
>
<A
HREF="http://sourceware.cygnus.com/docbook-tools/"
TARGET="_top"
>http://sourceware.cygnus.com/docbook-tools/</A
></B
></DT
><DD
><P
>the home page of the DocBook tools, a compendium of
all tools necessary to process DocBook files, including
the SGML-common stuff.
</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="introduction.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="fdl.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Introduction</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="introduction.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>GNU Free Documentation License</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
Copyright 2K16 - 2K18 Indonesian Hacker Rulez