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