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

10.0 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 87351a9 was 87351a9, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Tag most of General Libraries and their dependencies

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

  • 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 "http://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 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>docbook-&docbook-4.5-dtd-version;-dtd</title>
24
25 <indexterm zone="sgml-dtd">
26 <primary sortas="a-DocBook-SGML-DTD-&docbook-4.5-dtd-version;">DocBook SGML
27 DTD-&docbook-4.5-dtd-version;</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to DocBook-4.5 SGML DTD</title>
32
33 <para>
34 The <application>DocBook-4.5 SGML DTD</application> package contains
35 document type definitions for verification of SGML data files against the
36 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-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&sgml-dtd-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &sgml-dtd-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &sgml-dtd-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &sgml-dtd-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &sgml-dtd-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">DocBook-4.5 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"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of DocBook-4.5 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-4.5 SGML DTD</application> by running
98 the following commands:
99 </para>
100
101<screen><userinput>sed -i -e '/ISO 8879/d' \
102 -e '/gml/d' docbook.cat</userinput></screen>
103
104 <para>
105 This package does not come with a test suite.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>install -v -d /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version; &amp;&amp;
113chown -R root:root . &amp;&amp;
114
115install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &amp;&amp;
116cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version; &amp;&amp;
117
118install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-4.5-dtd-version;.cat \
119 /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &amp;&amp;
120
121install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-4.5-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' -e '/gml/d' docbook.cat</command>:
131 This command removes the ENT definitions from the catalog file.
132 </para>
133
134 </sect2>
135
136 <sect2 role="configuration">
137 <title>Configuring DocBook-4.5 SGML DTD</title>
138
139 <sect3 id="sgml-dtd-config">
140 <title>Config Files</title>
141
142 <para>
143 <filename>/etc/sgml/catalog</filename>
144 </para>
145
146 <indexterm zone="sgml-dtd sgml-dtd-config">
147 <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
148 </indexterm>
149
150 </sect3>
151
152 <sect3>
153 <title>Configuration Information</title>
154
155 <para>
156 The above installation script updates the catalog.
157 </para>
158
159 <para>
160 Using only the most current 4.x version of <application>DocBook
161 SGML DTD</application> requires the following (perform as the
162 <systemitem class="username">root</systemitem> user):
163 </para>
164
165<screen role="root"><userinput>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &lt;&lt; "EOF"
166<literal> -- Begin Single Major Version catalog changes --
167
168PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
169PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
170PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
171PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
172PUBLIC "-//OASIS//DTD DocBook V4.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-4.5-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-4">
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 SGML-DTD-files-4">
212 <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="SGML-MOD-files-4">
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 SGML-MOD-files-4">
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.