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</application> package
|
---|
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
|
---|
52 | <application><acronym>SGML</acronym> Common</application> are old. Use
|
---|
53 | the following commands to regenerate the files.</para>
|
---|
54 |
|
---|
55 | <screen><userinput><command>aclocal &&
|
---|
56 | automake -acf &&
|
---|
57 | autoconf</command></userinput></screen>
|
---|
58 |
|
---|
59 | <para>Install <application><acronym>SGML</acronym> Common</application> by
|
---|
60 | running the following commands:</para>
|
---|
61 |
|
---|
62 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
63 | make &&
|
---|
64 | make install &&
|
---|
65 | install-catalog --add /etc/sgml/sgml-ent.cat \
|
---|
66 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
67 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
68 | /etc/sgml/sgml-ent.cat</command></userinput></screen>
|
---|
69 |
|
---|
70 | <tip><title>Update hint</title>
|
---|
71 | <para>Remove the above catalog items prior to upgrading with:
|
---|
72 | <screen><command>install-catalog --remove /etc/sgml/sgml-ent.cat \
|
---|
73 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
74 | install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
---|
75 | /etc/sgml/sgml-ent.cat</command></screen></para></tip>
|
---|
76 | </sect2>
|
---|
77 |
|
---|
78 | <sect2>
|
---|
79 | <title>Configuring <application><acronym>SGML</acronym>-common</application></title>
|
---|
80 |
|
---|
81 | <sect3><title>Config files</title>
|
---|
82 | <para><filename>/etc/sgml/sgml.conf</filename></para>
|
---|
83 | </sect3>
|
---|
84 |
|
---|
85 | <sect3><title>Configuration Information</title>
|
---|
86 |
|
---|
87 | <para>No change in this file is necessary.</para>
|
---|
88 | </sect3>
|
---|
89 |
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2>
|
---|
93 | <title>Contents</title>
|
---|
94 |
|
---|
95 | <para>The <application><acronym>SGML</acronym> Common</application> package contains
|
---|
96 | <command>install-catalog</command>,
|
---|
97 | <command>sgmlwhich</command>, <acronym>SGML</acronym> entities
|
---|
98 | files and <acronym>XML</acronym> entities files.</para>
|
---|
99 |
|
---|
100 | </sect2>
|
---|
101 |
|
---|
102 | <sect2><title>Description</title>
|
---|
103 |
|
---|
104 | <sect3><title>install-catalog</title>
|
---|
105 | <para><command>install-catalog</command> creates a centralized catalog that
|
---|
106 | maintains references to catalogs scattered throughout the
|
---|
107 | <filename class="directory">/usr/share/sgml</filename> directory tree.</para></sect3>
|
---|
108 |
|
---|
109 | <sect3><title>sgmlwhich</title>
|
---|
110 | <para><command>sgmlwhich</command> will print to standard output the name of
|
---|
111 | the main configuration file.</para></sect3>
|
---|
112 |
|
---|
113 | <sect3><title>SGML entities files</title>
|
---|
114 | <para><acronym>SGML</acronym> entities files contain the basic character
|
---|
115 | entities defined with <acronym>SDATA</acronym> entries.</para></sect3>
|
---|
116 |
|
---|
117 | <sect3><title>XML entities files</title>
|
---|
118 | <para><acronym>XML</acronym> entities files contain the basic character
|
---|
119 | entities defined by a hexadecimal representation of the Unicode character
|
---|
120 | number.</para></sect3>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | </sect1>
|
---|