source: pst/sgml/docbook-3.1-dtd.xml@ 4c24eb0a

10.1 11.0 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 4c24eb0a was 4c24eb0a, checked in by Pierre Labastie <pieere@…>, 3 years ago

Remove period at the end of short descriptions.
In the process, some attributes in single quotes have been changed to double
quotes, and a few attribute lists have been written on one line instead of
several lines.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24236 af4574ff-66df-0310-9fd7-8a98e5e911e0

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