[50d3491a] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 |
|
---|
| 6 | <!ENTITY sgml-common-download-http "http://gd.tuwien.ac.at/hci/kde/devel/docbook/SOURCES/sgml-common-&sgml-common-version;.tgz">
|
---|
| 7 | <!ENTITY sgml-common-download-ftp "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-&sgml-common-version;.tgz">
|
---|
| 8 | <!ENTITY sgml-common-size "75 KB">
|
---|
| 9 | <!ENTITY sgml-common-buildsize "648 KB">
|
---|
| 10 | <!ENTITY sgml-common-time "0.00 SBU">
|
---|
| 11 | ]>
|
---|
| 12 |
|
---|
[b028890] | 13 | <sect1 id="sgml-common" xreflabel="SGML Common-&sgml-common-version;">
|
---|
[a0f03b0] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a0f03b0] | 17 | </sect1info>
|
---|
[dd3f20f0] | 18 | <?dbhtml filename="sgml-common.html"?>
|
---|
[b028890] | 19 | <title>SGML Common-&sgml-common-version;</title>
|
---|
[ea42dfb] | 20 |
|
---|
[50d3491a] | 21 | <sect2>
|
---|
| 22 | <title>Introduction to <application><acronym>SGML</acronym> Common</application></title>
|
---|
| 23 |
|
---|
[82f09cd1] | 24 | <para>The <application><acronym>SGML</acronym> Common</application> package
|
---|
[50d3491a] | 25 | contains <command>install-catalog</command>. This is useful
|
---|
| 26 | for creating and maintaining centralized <acronym>SGML</acronym> catalogs.</para>
|
---|
| 27 |
|
---|
| 28 | <sect3><title>Package information</title>
|
---|
| 29 | <itemizedlist spacing='compact'>
|
---|
| 30 | <listitem><para>Download (HTTP): <ulink
|
---|
| 31 | url="&sgml-common-download-http;"/></para></listitem>
|
---|
| 32 | <listitem><para>Download (FTP): <ulink
|
---|
| 33 | url="&sgml-common-download-ftp;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download size: &sgml-common-size;</para></listitem>
|
---|
[518538f] | 35 | <listitem><para>Estimated disk space required:
|
---|
[50d3491a] | 36 | &sgml-common-buildsize;</para></listitem>
|
---|
| 37 | <listitem><para>Estimated build time:
|
---|
| 38 | &sgml-common-time;</para></listitem></itemizedlist>
|
---|
| 39 | </sect3>
|
---|
| 40 |
|
---|
| 41 | <sect3><title>Additional downloads</title>
|
---|
| 42 | <itemizedlist spacing='compact'>
|
---|
| 43 | <listitem><para>Required Patch: <ulink url="&patch-root;/sgml-common-&sgml-common-version;-manpage-1.patch"/></para></listitem>
|
---|
| 44 | </itemizedlist></sect3>
|
---|
| 45 |
|
---|
| 46 | </sect2>
|
---|
| 47 |
|
---|
| 48 | <sect2>
|
---|
| 49 | <title>Installation of <application><acronym>SGML</acronym> Common</application></title>
|
---|
| 50 |
|
---|
[82f09cd1] | 51 | <para>First apply the patch:</para>
|
---|
[50d3491a] | 52 |
|
---|
| 53 | <screen><userinput><command>patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch</command></userinput></screen>
|
---|
| 54 |
|
---|
[82f09cd1] | 55 | <para>The autotools files included with
|
---|
| 56 | <application><acronym>SGML</acronym> Common</application> are old. Use
|
---|
| 57 | the following commands to regenerate the files.</para>
|
---|
[50d3491a] | 58 |
|
---|
| 59 | <screen><userinput><command>aclocal &&
|
---|
| 60 | automake -acf &&
|
---|
| 61 | autoconf</command></userinput></screen>
|
---|
| 62 |
|
---|
| 63 | <para>Install <application><acronym>SGML</acronym> Common</application> by
|
---|
| 64 | running the following commands:</para>
|
---|
| 65 |
|
---|
| 66 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 67 | make &&
|
---|
| 68 | make install &&
|
---|
| 69 | install-catalog --add /etc/sgml/sgml-ent.cat \
|
---|
| 70 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
| 71 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
| 72 | /etc/sgml/sgml-ent.cat</command></userinput></screen>
|
---|
| 73 |
|
---|
| 74 | <tip><title>Update hint</title>
|
---|
| 75 | <para>Remove the above catalog items prior to upgrading with:
|
---|
| 76 | <screen><command>install-catalog --remove /etc/sgml/sgml-ent.cat \
|
---|
| 77 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
| 78 | install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
---|
| 79 | /etc/sgml/sgml-ent.cat</command></screen></para></tip>
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2>
|
---|
| 83 | <title>Configuring <application><acronym>SGML</acronym>-common</application></title>
|
---|
| 84 |
|
---|
| 85 | <sect3><title>Config files</title>
|
---|
| 86 | <para><filename>/etc/sgml/sgml.conf</filename></para>
|
---|
| 87 | </sect3>
|
---|
| 88 |
|
---|
| 89 | <sect3><title>Configuration Information</title>
|
---|
| 90 |
|
---|
| 91 | <para>No change in this file is necessary.</para>
|
---|
| 92 | </sect3>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2>
|
---|
| 97 | <title>Contents</title>
|
---|
| 98 |
|
---|
| 99 | <para>The <application><acronym>SGML</acronym> Common</application> package contains
|
---|
| 100 | <command>install-catalog</command>,
|
---|
| 101 | <command>sgmlwhich</command>, <acronym>SGML</acronym> entities
|
---|
| 102 | files and <acronym>XML</acronym> entities files.</para>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2><title>Description</title>
|
---|
| 107 |
|
---|
| 108 | <sect3><title>install-catalog</title>
|
---|
| 109 | <para><command>install-catalog</command> creates a centralized catalog that
|
---|
| 110 | maintains references to catalogs scattered throughout the
|
---|
| 111 | <filename class="directory">/usr/share/sgml</filename> directory tree.</para></sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3><title>sgmlwhich</title>
|
---|
| 114 | <para><command>sgmlwhich</command> will print to standard output the name of
|
---|
| 115 | the main configuration file.</para></sect3>
|
---|
| 116 |
|
---|
| 117 | <sect3><title>SGML entities files</title>
|
---|
| 118 | <para><acronym>SGML</acronym> entities files contain the basic character
|
---|
| 119 | entities defined with <acronym>SDATA</acronym> entries.</para></sect3>
|
---|
| 120 |
|
---|
| 121 | <sect3><title>XML entities files</title>
|
---|
| 122 | <para><acronym>XML</acronym> entities files contain the basic character
|
---|
| 123 | entities defined by a hexadecimal representation of the Unicode character
|
---|
| 124 | number.</para></sect3>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|
[ea42dfb] | 127 |
|
---|
| 128 | </sect1>
|
---|