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

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since e6af57ed was f65776e, checked in by Douglas R. Reno <renodr@…>, 11 months ago

Tags for BIND dependencies

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