[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 |
|
---|
[323d61c] | 71 | <para>Instead of the normal convention of including the autotools files
|
---|
| 72 | in the package, the maintainers included symlinks to the files in
|
---|
| 73 | <filename class="directory">/usr/share/automake</filename>. For previous
|
---|
| 74 | versions of <application>Automake</application> this convention is
|
---|
| 75 | correct, but recent versions of <application>Automake</application>
|
---|
| 76 | install the internal files in version specific directories. This causes
|
---|
| 77 | the <command>configure</command> script to abort. To fix this error, the
|
---|
| 78 | autotools are regenerated. Since the included
|
---|
| 79 | <filename>Makefile.am</filename> file uses a syntax not supported by
|
---|
| 80 | current versions of <application>Automake</application>, a patch is
|
---|
| 81 | required to fix the syntax.</para>
|
---|
[2ee51e6] | 82 |
|
---|
| 83 | <screen><userinput>patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch &&
|
---|
| 84 | autoreconf -f -i</userinput></screen>
|
---|
[50d3491a] | 85 |
|
---|
[04677b5] | 86 | <para>Install <application>SGML Common</application> by
|
---|
| 87 | running the following commands:</para>
|
---|
[50d3491a] | 88 |
|
---|
[04677b5] | 89 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 90 | make</userinput></screen>
|
---|
[1af6dcf9] | 91 |
|
---|
[04677b5] | 92 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[1af6dcf9] | 93 |
|
---|
[04677b5] | 94 | <screen role="root"><userinput>make install &&
|
---|
[50d3491a] | 95 | install-catalog --add /etc/sgml/sgml-ent.cat \
|
---|
| 96 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
| 97 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
[04677b5] | 98 | /etc/sgml/sgml-ent.cat</userinput></screen>
|
---|
[50d3491a] | 99 |
|
---|
[04677b5] | 100 | <tip>
|
---|
| 101 | <title>Update Hint</title>
|
---|
[c2a37a6] | 102 |
|
---|
[823b1a3] | 103 | <para>Remove the above catalog items prior to upgrading (as the
|
---|
| 104 | <systemitem class='username'>root</systemitem> user) with:</para>
|
---|
[04677b5] | 105 |
|
---|
| 106 | <screen role="root"><userinput>install-catalog --remove /etc/sgml/sgml-ent.cat \
|
---|
[50d3491a] | 107 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
| 108 | install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
---|
[04677b5] | 109 | /etc/sgml/sgml-ent.cat</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | </tip>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="configuration">
|
---|
| 116 | <title>Configuring SGML Common</title>
|
---|
| 117 |
|
---|
| 118 | <sect3 id="sgml-common-config">
|
---|
| 119 | <title>Config Files</title>
|
---|
| 120 |
|
---|
| 121 | <para><filename>/etc/sgml/sgml.conf</filename></para>
|
---|
| 122 |
|
---|
| 123 | <indexterm zone="sgml-common sgml-common-config">
|
---|
| 124 | <primary sortas="e-etc-sgml-sgml.conf">/etc/sgml/sgml.conf</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 |
|
---|
| 127 | </sect3>
|
---|
| 128 |
|
---|
| 129 | <sect3>
|
---|
| 130 | <title>Configuration Information</title>
|
---|
| 131 |
|
---|
| 132 | <para>No change in this file is necessary.</para>
|
---|
| 133 |
|
---|
| 134 | </sect3>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="content">
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <segmentedlist>
|
---|
| 142 | <segtitle>Installed Programs</segtitle>
|
---|
| 143 | <segtitle>Installed Libraries</segtitle>
|
---|
| 144 | <segtitle>Installed Files</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
| 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>install-catalog and sgmlwhich</seg>
|
---|
| 149 | <seg>None</seg>
|
---|
| 150 | <seg>SGML and XML DocBook entity files</seg>
|
---|
| 151 | <seg>/etc/sgml, /usr/share/doc/sgml-common-&sgml-common-version;, and
|
---|
| 152 | /usr/share/sgml</seg>
|
---|
| 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
| 155 |
|
---|
| 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
| 159 | <?dbhtml list-presentation="table"?>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="install-catalog">
|
---|
| 162 | <term><command>install-catalog</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>creates a centralized catalog that maintains references to
|
---|
| 165 | catalogs scattered throughout the
|
---|
| 166 | <filename class="directory">/usr/share/sgml</filename> directory
|
---|
| 167 | tree.</para>
|
---|
| 168 | <indexterm zone="sgml-common install-catalog">
|
---|
| 169 | <primary sortas="b-install-catalog">install-catalog</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="sgmlwhich">
|
---|
| 175 | <term><command>sgmlwhich</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>will print to standard output the name of the main
|
---|
| 178 | configuration file.</para>
|
---|
| 179 | <indexterm zone="sgml-common sgmlwhich">
|
---|
| 180 | <primary sortas="b-sgmlwhich">sgmlwhich</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="SGML-entities">
|
---|
| 186 | <term><filename>SGML entities files</filename></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>contain the basic character entities defined with
|
---|
| 189 | SDATA entries.</para>
|
---|
| 190 | <indexterm zone="sgml-common SGML-entities">
|
---|
| 191 | <primary sortas="g-sgml-entities-files">SGML entities files</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="XML-entities">
|
---|
| 197 | <term><filename>XML entities files</filename></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para> contain the basic character entities defined by a hexadecimal
|
---|
| 200 | representation of the Unicode character number.</para>
|
---|
| 201 | <indexterm zone="sgml-common XML-entities">
|
---|
| 202 | <primary sortas="g-xml-entities-files">XML entities files</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | </variablelist>
|
---|
| 208 |
|
---|
| 209 | </sect2>
|
---|
[ea42dfb] | 210 |
|
---|
| 211 | </sect1>
|
---|