source: pst/sgml/docbook-4.5-dtd.xml@ f429481

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f429481 was c93c620c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

  • Property mode set to 100644
File size: 7.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY sgml-dtd-download-http "https://www.docbook.org/sgml/&docbook-4.5-dtd-version;/docbook-&docbook-4.5-dtd-version;.zip">
8 <!ENTITY sgml-dtd-download-ftp " ">
9 <!ENTITY sgml-dtd-md5sum "07c581f4bbcba6d3aac85360a19f95f7">
10 <!ENTITY sgml-dtd-size "70 KB">
11 <!ENTITY sgml-dtd-buildsize "784 KB">
12 <!ENTITY sgml-dtd-time "less than 0.1 SBU">
13]>
14
15<sect1 id="sgml-dtd" xreflabel="docbook-&docbook-4.5-dtd-version;-dtd">
16 <?dbhtml filename="docbook-4.5-dtd.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>docbook-&docbook-4.5-dtd-version;-dtd</title>
23
24 <indexterm zone="sgml-dtd">
25 <primary sortas="a-DocBook-SGML-DTD-&docbook-4.5-dtd-version;">DocBook SGML
26 DTD-&docbook-4.5-dtd-version;</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to DocBook-4.5 SGML DTD</title>
31
32 <para>
33 The <application>DocBook-4.5 SGML DTD</application> package contains
34 document type definitions for verification of SGML data files against the
35 DocBook rule set. These are useful for structuring books and software
36 documentation to a standard allowing you to utilize transformations
37 already written for that standard.
38 </para>
39
40 &lfs110a_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&sgml-dtd-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&sgml-dtd-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &sgml-dtd-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &sgml-dtd-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &sgml-dtd-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &sgml-dtd-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">DocBook-4.5 SGML DTD Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="sgml-common"/> and
81 <xref linkend="unzip"/>
82 </para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/sgml-dtd"/></para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of DocBook-4.5 SGML DTD</title>
91
92 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
93 href="../../xincludes/use-unzip.xml"/>
94
95 <para>
96 Install <application>DocBook-4.5 SGML DTD</application> by running
97 the following commands:
98 </para>
99
100<screen><userinput>sed -i -e '/ISO 8879/d' \
101 -e '/gml/d' docbook.cat</userinput></screen>
102
103 <para>
104 This package does not come with a test suite.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>install -v -d /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version; &amp;&amp;
112chown -R root:root . &amp;&amp;
113
114install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &amp;&amp;
115cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version; &amp;&amp;
116
117install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-4.5-dtd-version;.cat \
118 /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &amp;&amp;
119
120install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-4.5-dtd-version;.cat \
121 /etc/sgml/sgml-docbook.cat</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <para>
129 <command>sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat</command>:
130 This command removes the ENT definitions from the catalog file.
131 </para>
132
133 </sect2>
134
135 <sect2 role="configuration">
136 <title>Configuring DocBook-4.5 SGML DTD</title>
137
138 <sect3 id="sgml-dtd-config">
139 <title>Config Files</title>
140
141 <para>
142 <filename>/etc/sgml/catalog</filename>
143 </para>
144
145 <indexterm zone="sgml-dtd sgml-dtd-config">
146 <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
147 </indexterm>
148
149 </sect3>
150
151 <sect3>
152 <title>Configuration Information</title>
153
154 <para>
155 The above installation script updates the catalog.
156 </para>
157
158 <para>
159 Using only the most current 4.x version of <application>DocBook
160 SGML DTD</application> requires the following (perform as the
161 <systemitem class="username">root</systemitem> user):
162 </para>
163
164<screen role="root"><userinput>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &lt;&lt; "EOF"
165<literal> -- Begin Single Major Version catalog changes --
166
167PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
168PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
169PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
170PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
171PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
172
173 -- End Single Major Version catalog changes --</literal>
174EOF</userinput></screen>
175
176 </sect3>
177
178 </sect2>
179
180 <sect2 role="content">
181 <title>Contents</title>
182
183 <segmentedlist>
184 <segtitle>Installed Programs</segtitle>
185 <segtitle>Installed Libraries</segtitle>
186 <segtitle>Installed Files</segtitle>
187 <segtitle>Installed Directory</segtitle>
188
189 <seglistitem>
190 <seg>None</seg>
191 <seg>None</seg>
192 <seg>SGML DTD and MOD files</seg>
193 <seg>/usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;</seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="SGML-DTD-files-4">
203 <term><filename>SGML DTD files</filename></term>
204 <listitem>
205 <para>
206 contains a document type definition which defines the element
207 types and the attribute lists that can be used in the corresponding
208 SGML files
209 </para>
210 <indexterm zone="sgml-dtd SGML-DTD-files-4">
211 <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="SGML-MOD-files-4">
217 <term><filename>SGML MOD files</filename></term>
218 <listitem>
219 <para>
220 contains components of the document type definition that are
221 sourced into the <filename>DTD</filename> files
222 </para>
223 <indexterm zone="sgml-dtd SGML-MOD-files-4">
224 <primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.