[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;
|
---|
[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">
|
---|
| 10 | <!ENTITY sgml-common-buildsize "648 KB">
|
---|
| 11 | <!ENTITY sgml-common-time "0.00 SBU">
|
---|
| 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>
|
---|
[ea42dfb] | 21 |
|
---|
[50d3491a] | 22 | <sect2>
|
---|
[c2a37a6] | 23 | <title>Introduction to <application><acronym>SGML</acronym>
|
---|
| 24 | Common</application></title>
|
---|
[50d3491a] | 25 |
|
---|
[c2a37a6] | 26 | <para>The <application><acronym>SGML</acronym> Common</application> package
|
---|
| 27 | contains <command>install-catalog</command>. This is useful for creating and
|
---|
| 28 | maintaining centralized <acronym>SGML</acronym> catalogs.</para>
|
---|
[50d3491a] | 29 |
|
---|
| 30 | <sect3><title>Package information</title>
|
---|
| 31 | <itemizedlist spacing='compact'>
|
---|
| 32 | <listitem><para>Download (HTTP): <ulink
|
---|
| 33 | url="&sgml-common-download-http;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download (FTP): <ulink
|
---|
| 35 | url="&sgml-common-download-ftp;"/></para></listitem>
|
---|
[c2a37a6] | 36 | <listitem><para>Download MD5 sum: &sgml-common-md5sum;</para></listitem>
|
---|
[50d3491a] | 37 | <listitem><para>Download size: &sgml-common-size;</para></listitem>
|
---|
[518538f] | 38 | <listitem><para>Estimated disk space required:
|
---|
[50d3491a] | 39 | &sgml-common-buildsize;</para></listitem>
|
---|
| 40 | <listitem><para>Estimated build time:
|
---|
| 41 | &sgml-common-time;</para></listitem></itemizedlist>
|
---|
| 42 | </sect3>
|
---|
| 43 |
|
---|
| 44 | <sect3><title>Additional downloads</title>
|
---|
| 45 | <itemizedlist spacing='compact'>
|
---|
[c2a37a6] | 46 | <listitem><para>Required Patch: <ulink
|
---|
| 47 | url="&patch-root;/sgml-common-&sgml-common-version;-manpage-1.patch"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | </itemizedlist>
|
---|
| 50 | </sect3>
|
---|
[50d3491a] | 51 |
|
---|
| 52 | </sect2>
|
---|
| 53 |
|
---|
| 54 | <sect2>
|
---|
[c2a37a6] | 55 | <title>Installation of <application><acronym>SGML</acronym>
|
---|
| 56 | Common</application></title>
|
---|
[50d3491a] | 57 |
|
---|
[82f09cd1] | 58 | <para>First apply the patch:</para>
|
---|
[50d3491a] | 59 |
|
---|
| 60 | <screen><userinput><command>patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch</command></userinput></screen>
|
---|
| 61 |
|
---|
[82f09cd1] | 62 | <para>The autotools files included with
|
---|
| 63 | <application><acronym>SGML</acronym> Common</application> are old. Use
|
---|
| 64 | the following commands to regenerate the files.</para>
|
---|
[50d3491a] | 65 |
|
---|
| 66 | <screen><userinput><command>aclocal &&
|
---|
| 67 | automake -acf &&
|
---|
| 68 | autoconf</command></userinput></screen>
|
---|
| 69 |
|
---|
| 70 | <para>Install <application><acronym>SGML</acronym> Common</application> by
|
---|
| 71 | running the following commands:</para>
|
---|
| 72 |
|
---|
| 73 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 74 | make &&
|
---|
| 75 | make install &&
|
---|
| 76 | install-catalog --add /etc/sgml/sgml-ent.cat \
|
---|
| 77 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
| 78 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
| 79 | /etc/sgml/sgml-ent.cat</command></userinput></screen>
|
---|
| 80 |
|
---|
| 81 | <tip><title>Update hint</title>
|
---|
| 82 | <para>Remove the above catalog items prior to upgrading with:
|
---|
[c2a37a6] | 83 |
|
---|
[50d3491a] | 84 | <screen><command>install-catalog --remove /etc/sgml/sgml-ent.cat \
|
---|
| 85 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
| 86 | install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
---|
| 87 | /etc/sgml/sgml-ent.cat</command></screen></para></tip>
|
---|
[c2a37a6] | 88 |
|
---|
[50d3491a] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2>
|
---|
[c2a37a6] | 92 | <title>Configuring <application><acronym>SGML</acronym>
|
---|
| 93 | Common</application></title>
|
---|
[50d3491a] | 94 |
|
---|
| 95 | <sect3><title>Config files</title>
|
---|
| 96 | <para><filename>/etc/sgml/sgml.conf</filename></para>
|
---|
| 97 | </sect3>
|
---|
| 98 |
|
---|
| 99 | <sect3><title>Configuration Information</title>
|
---|
| 100 |
|
---|
| 101 | <para>No change in this file is necessary.</para>
|
---|
| 102 | </sect3>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2>
|
---|
| 107 | <title>Contents</title>
|
---|
| 108 |
|
---|
[c2a37a6] | 109 | <para>The <application><acronym>SGML</acronym> Common</application> package
|
---|
| 110 | contains <command>install-catalog</command>,
|
---|
[50d3491a] | 111 | <command>sgmlwhich</command>, <acronym>SGML</acronym> entities
|
---|
| 112 | files and <acronym>XML</acronym> entities files.</para>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2><title>Description</title>
|
---|
| 117 |
|
---|
| 118 | <sect3><title>install-catalog</title>
|
---|
| 119 | <para><command>install-catalog</command> creates a centralized catalog that
|
---|
| 120 | maintains references to catalogs scattered throughout the
|
---|
[c2a37a6] | 121 | <filename class="directory">/usr/share/sgml</filename> directory
|
---|
| 122 | tree.</para></sect3>
|
---|
[50d3491a] | 123 |
|
---|
| 124 | <sect3><title>sgmlwhich</title>
|
---|
| 125 | <para><command>sgmlwhich</command> will print to standard output the name of
|
---|
| 126 | the main configuration file.</para></sect3>
|
---|
| 127 |
|
---|
| 128 | <sect3><title>SGML entities files</title>
|
---|
| 129 | <para><acronym>SGML</acronym> entities files contain the basic character
|
---|
| 130 | entities defined with <acronym>SDATA</acronym> entries.</para></sect3>
|
---|
| 131 |
|
---|
| 132 | <sect3><title>XML entities files</title>
|
---|
| 133 | <para><acronym>XML</acronym> entities files contain the basic character
|
---|
| 134 | entities defined by a hexadecimal representation of the Unicode character
|
---|
| 135 | number.</para></sect3>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
[ea42dfb] | 138 |
|
---|
| 139 | </sect1>
|
---|