source: pst/sgml/docbook-4.5-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@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.0 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
19 <title>docbook-&docbook-4.5-dtd-version;-dtd</title>
20
21 <indexterm zone="sgml-dtd">
22 <primary sortas="a-DocBook-SGML-DTD-&docbook-4.5-dtd-version;">DocBook SGML
23 DTD-&docbook-4.5-dtd-version;</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to DocBook-4.5 SGML DTD</title>
28
29 <para>
30 The <application>DocBook-4.5 SGML DTD</application> package contains
31 document type definitions for verification of SGML data files against the
32 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-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&sgml-dtd-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &sgml-dtd-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &sgml-dtd-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &sgml-dtd-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &sgml-dtd-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">DocBook-4.5 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"/></para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of DocBook-4.5 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-4.5 SGML DTD</application> by running
94 the following commands:
95 </para>
96
97<screen><userinput>sed -i -e '/ISO 8879/d' \
98 -e '/gml/d' docbook.cat</userinput></screen>
99
100 <para>
101 This package does not come with a test suite.
102 </para>
103
104 <para>
105 Now, as the <systemitem class="username">root</systemitem> user:
106 </para>
107
108<screen role="root"><userinput>install -v -d /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version; &amp;&amp;
109chown -R root:root . &amp;&amp;
110
111install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &amp;&amp;
112cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version; &amp;&amp;
113
114install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-4.5-dtd-version;.cat \
115 /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &amp;&amp;
116
117install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-4.5-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' -e '/gml/d' docbook.cat</command>:
127 This command removes the ENT definitions from the catalog file.
128 </para>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring DocBook-4.5 SGML DTD</title>
134
135 <sect3 id="sgml-dtd-config">
136 <title>Config Files</title>
137
138 <para>
139 <filename>/etc/sgml/catalog</filename>
140 </para>
141
142 <indexterm zone="sgml-dtd sgml-dtd-config">
143 <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
144 </indexterm>
145
146 </sect3>
147
148 <sect3>
149 <title>Configuration Information</title>
150
151 <para>
152 The above installation script updates the catalog.
153 </para>
154
155 <para>
156 Using only the most current 4.x version of <application>DocBook
157 SGML DTD</application> requires the following (perform as the
158 <systemitem class="username">root</systemitem> user):
159 </para>
160
161<screen role="root"><userinput>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &lt;&lt; "EOF"
162<literal> -- Begin Single Major Version catalog changes --
163
164PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
165PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
166PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
167PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
168PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
169
170 -- End Single Major Version catalog changes --</literal>
171EOF</userinput></screen>
172
173 </sect3>
174
175 </sect2>
176
177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Programs</segtitle>
182 <segtitle>Installed Libraries</segtitle>
183 <segtitle>Installed Files</segtitle>
184 <segtitle>Installed Directory</segtitle>
185
186 <seglistitem>
187 <seg>None</seg>
188 <seg>None</seg>
189 <seg>SGML DTD and MOD files</seg>
190 <seg>/usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;</seg>
191 </seglistitem>
192 </segmentedlist>
193
194 <variablelist>
195 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
196 <?dbfo list-presentation="list"?>
197 <?dbhtml list-presentation="table"?>
198
199 <varlistentry id="SGML-DTD-files-4">
200 <term><filename>SGML DTD files</filename></term>
201 <listitem>
202 <para>
203 contains a document type definition which defines the element
204 types and the attribute lists that can be used in the corresponding
205 SGML files
206 </para>
207 <indexterm zone="sgml-dtd SGML-DTD-files-4">
208 <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="SGML-MOD-files-4">
214 <term><filename>SGML MOD files</filename></term>
215 <listitem>
216 <para>
217 contains components of the document type definition that are
218 sourced into the <filename>DTD</filename> files
219 </para>
220 <indexterm zone="sgml-dtd SGML-MOD-files-4">
221 <primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227
228 </sect2>
229
230</sect1>
Note: See TracBrowser for help on using the repository browser.