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