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