source: pst/sgml/docbook-3.1-dtd.xml@ 3f2db3a6

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3f2db3a6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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