[ff769b8c] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[50d3491a] | 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[c2a37a6] | 5 |
|
---|
[50d3491a] | 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">
|
---|
[c2a37a6] | 8 | <!ENTITY sgml-common-md5sum "103c9828f24820df86e55e7862e28974">
|
---|
[50d3491a] | 9 | <!ENTITY sgml-common-size "75 KB">
|
---|
[1af6dcf9] | 10 | <!ENTITY sgml-common-buildsize "1.5 MB">
|
---|
| 11 | <!ENTITY sgml-common-time "0.03 SBU">
|
---|
[50d3491a] | 12 | ]>
|
---|
| 13 |
|
---|
[b028890] | 14 | <sect1 id="sgml-common" xreflabel="SGML Common-&sgml-common-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[dd3f20f0] | 19 | <?dbhtml filename="sgml-common.html"?>
|
---|
[b028890] | 20 | <title>SGML Common-&sgml-common-version;</title>
|
---|
[1af6dcf9] | 21 | <indexterm zone="sgml-common">
|
---|
| 22 | <primary sortas="a-SGML-Common">SGML Common</primary></indexterm>
|
---|
[ea42dfb] | 23 |
|
---|
[50d3491a] | 24 | <sect2>
|
---|
[c2a37a6] | 25 | <title>Introduction to <application><acronym>SGML</acronym>
|
---|
| 26 | Common</application></title>
|
---|
[50d3491a] | 27 |
|
---|
[c2a37a6] | 28 | <para>The <application><acronym>SGML</acronym> Common</application> package
|
---|
| 29 | contains <command>install-catalog</command>. This is useful for creating and
|
---|
| 30 | maintaining centralized <acronym>SGML</acronym> catalogs.</para>
|
---|
[50d3491a] | 31 |
|
---|
| 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
| 34 | <listitem><para>Download (HTTP): <ulink
|
---|
| 35 | url="&sgml-common-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP): <ulink
|
---|
| 37 | url="&sgml-common-download-ftp;"/></para></listitem>
|
---|
[c2a37a6] | 38 | <listitem><para>Download MD5 sum: &sgml-common-md5sum;</para></listitem>
|
---|
[50d3491a] | 39 | <listitem><para>Download size: &sgml-common-size;</para></listitem>
|
---|
[518538f] | 40 | <listitem><para>Estimated disk space required:
|
---|
[50d3491a] | 41 | &sgml-common-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &sgml-common-time;</para></listitem></itemizedlist>
|
---|
| 44 | </sect3>
|
---|
| 45 |
|
---|
| 46 | <sect3><title>Additional downloads</title>
|
---|
| 47 | <itemizedlist spacing='compact'>
|
---|
[c2a37a6] | 48 | <listitem><para>Required Patch: <ulink
|
---|
| 49 | url="&patch-root;/sgml-common-&sgml-common-version;-manpage-1.patch"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | </itemizedlist>
|
---|
| 52 | </sect3>
|
---|
[50d3491a] | 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2>
|
---|
[c2a37a6] | 57 | <title>Installation of <application><acronym>SGML</acronym>
|
---|
| 58 | Common</application></title>
|
---|
[50d3491a] | 59 |
|
---|
[82f09cd1] | 60 | <para>First apply the patch:</para>
|
---|
[50d3491a] | 61 |
|
---|
| 62 | <screen><userinput><command>patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch</command></userinput></screen>
|
---|
| 63 |
|
---|
[82f09cd1] | 64 | <para>The autotools files included with
|
---|
| 65 | <application><acronym>SGML</acronym> Common</application> are old. Use
|
---|
| 66 | the following commands to regenerate the files.</para>
|
---|
[50d3491a] | 67 |
|
---|
| 68 | <screen><userinput><command>aclocal &&
|
---|
| 69 | automake -acf &&
|
---|
| 70 | autoconf</command></userinput></screen>
|
---|
| 71 |
|
---|
| 72 | <para>Install <application><acronym>SGML</acronym> Common</application> by
|
---|
| 73 | running the following commands:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[1af6dcf9] | 76 | make</command></userinput></screen>
|
---|
| 77 |
|
---|
| 78 | <para>Now, as the root user:</para>
|
---|
| 79 |
|
---|
| 80 | <screen><userinput role='root'><command>make install &&
|
---|
[50d3491a] | 81 | install-catalog --add /etc/sgml/sgml-ent.cat \
|
---|
| 82 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
| 83 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
| 84 | /etc/sgml/sgml-ent.cat</command></userinput></screen>
|
---|
| 85 |
|
---|
| 86 | <tip><title>Update hint</title>
|
---|
[1af6dcf9] | 87 | <para>Remove the above catalog items prior to upgrading (as the root user)
|
---|
| 88 | with:
|
---|
[c2a37a6] | 89 |
|
---|
[1af6dcf9] | 90 | <screen><userinput role='root'><command>install-catalog --remove /etc/sgml/sgml-ent.cat \
|
---|
[50d3491a] | 91 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
| 92 | install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
---|
[1af6dcf9] | 93 | /etc/sgml/sgml-ent.cat</command></userinput></screen></para></tip>
|
---|
[c2a37a6] | 94 |
|
---|
[50d3491a] | 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2>
|
---|
[c2a37a6] | 98 | <title>Configuring <application><acronym>SGML</acronym>
|
---|
| 99 | Common</application></title>
|
---|
[50d3491a] | 100 |
|
---|
[1af6dcf9] | 101 | <sect3 id="sgml-common-config"><title>Config files</title>
|
---|
[50d3491a] | 102 | <para><filename>/etc/sgml/sgml.conf</filename></para>
|
---|
[1af6dcf9] | 103 | <indexterm zone="sgml-common sgml-common-config">
|
---|
| 104 | <primary sortas="e-etc-sgml-sgml.conf">/etc/sgml/sgml.conf</primary>
|
---|
| 105 | </indexterm>
|
---|
[50d3491a] | 106 | </sect3>
|
---|
| 107 |
|
---|
| 108 | <sect3><title>Configuration Information</title>
|
---|
| 109 |
|
---|
| 110 | <para>No change in this file is necessary.</para>
|
---|
| 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2>
|
---|
| 116 | <title>Contents</title>
|
---|
| 117 |
|
---|
[1af6dcf9] | 118 | <segmentedlist>
|
---|
| 119 | <segtitle>Installed Programs</segtitle>
|
---|
| 120 | <segtitle>Installed Libraries</segtitle>
|
---|
[2ddf76a8] | 121 | <segtitle>Installed Files</segtitle>
|
---|
[1af6dcf9] | 122 | <segtitle>Installed Directories</segtitle>
|
---|
| 123 |
|
---|
| 124 | <seglistitem>
|
---|
| 125 | <seg>install-catalog and sgmlwhich</seg>
|
---|
| 126 | <seg>None</seg>
|
---|
| 127 | <seg>SGML and XML DocBook entity files</seg>
|
---|
| 128 | <seg>/etc/sgml, /usr/share/doc/sgml-common-&sgml-common-version; and
|
---|
| 129 | /usr/share/sgml</seg>
|
---|
| 130 | </seglistitem>
|
---|
| 131 | </segmentedlist>
|
---|
| 132 |
|
---|
| 133 | <variablelist>
|
---|
| 134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 135 | <?dbfo list-presentation="list"?>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="install-catalog">
|
---|
| 138 | <term><command>install-catalog</command></term>
|
---|
| 139 | <listitem><para>creates a centralized catalog that maintains references to
|
---|
| 140 | catalogs scattered throughout the
|
---|
| 141 | <filename class="directory">/usr/share/sgml</filename> directory tree.</para>
|
---|
| 142 | <indexterm zone="sgml-common install-catalog">
|
---|
| 143 | <primary sortas="b-install-catalog">install-catalog</primary>
|
---|
| 144 | </indexterm></listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="sgmlwhich">
|
---|
| 148 | <term><command>sgmlwhich</command></term>
|
---|
| 149 | <listitem><para>will print to standard output the name of the main
|
---|
| 150 | configuration file.</para>
|
---|
| 151 | <indexterm zone="sgml-common sgmlwhich">
|
---|
| 152 | <primary sortas="b-sgmlwhich">sgmlwhich</primary>
|
---|
| 153 | </indexterm></listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="SGML-entities">
|
---|
| 157 | <term><filename>SGML entities files</filename></term>
|
---|
| 158 | <listitem><para>contain the basic character entities defined with
|
---|
| 159 | <acronym>SDATA</acronym> entries.</para>
|
---|
| 160 | <indexterm zone="sgml-common SGML-entities">
|
---|
| 161 | <primary sortas="g-sgml-entities-files">SGML entities files</primary>
|
---|
| 162 | </indexterm></listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="XML-entities">
|
---|
| 166 | <term><filename>XML entities files</filename></term>
|
---|
| 167 | <listitem><para> contain the basic character entities defined by a hexadecimal
|
---|
| 168 | representation of the Unicode character number.</para>
|
---|
| 169 | <indexterm zone="sgml-common XML-entities">
|
---|
| 170 | <primary sortas="g-xml-entities-files">XML entities files</primary>
|
---|
| 171 | </indexterm></listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 | </variablelist>
|
---|
[50d3491a] | 174 |
|
---|
| 175 | </sect2>
|
---|
[ea42dfb] | 176 |
|
---|
| 177 | </sect1>
|
---|