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

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 58387b50 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.3 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
[6633f56]7 <!ENTITY sgml-dtd-3-download-http "http://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 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[6633f56]23 <title>docbook-&docbook-3.1-dtd-version;-dtd</title>
[b3b8d69]24
25 <indexterm zone="sgml-dtd-3">
[6633f56]26 <primary sortas="a-DocBook-SGML-DTD-&docbook-3.1-dtd-version;">DocBook SGML
27 DTD-&docbook-3.1-dtd-version;</primary>
[b3b8d69]28 </indexterm>
29
[4e82a189]30 <sect2 role="package">
[6633f56]31 <title>Introduction to DocBook-3.1 SGML DTD</title>
[b3b8d69]32
[47274444]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>
[b3b8d69]40
[87351a9]41 &lfs10_checked;
[00555b0f]42
[b3b8d69]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[47274444]46 <para>
47 Download (HTTP): <ulink url="&sgml-dtd-3-download-http;"/>
48 </para>
[b3b8d69]49 </listitem>
50 <listitem>
[47274444]51 <para>
52 Download (FTP): <ulink url="&sgml-dtd-3-download-ftp;"/>
53 </para>
[b3b8d69]54 </listitem>
55 <listitem>
[47274444]56 <para>
57 Download MD5 sum: &sgml-dtd-3-md5sum;
58 </para>
[b3b8d69]59 </listitem>
60 <listitem>
[47274444]61 <para>
62 Download size: &sgml-dtd-3-size;
63 </para>
[b3b8d69]64 </listitem>
65 <listitem>
[47274444]66 <para>
67 Estimated disk space required: &sgml-dtd-3-buildsize;
68 </para>
[b3b8d69]69 </listitem>
70 <listitem>
[47274444]71 <para>
72 Estimated build time: &sgml-dtd-3-time;
73 </para>
[b3b8d69]74 </listitem>
75 </itemizedlist>
76
[6633f56]77 <bridgehead renderas="sect3">DocBook-3.1 SGML DTD Dependencies</bridgehead>
[b3b8d69]78
79 <bridgehead renderas="sect4">Required</bridgehead>
[47274444]80 <para role="required">
81 <xref linkend="sgml-common"/> and
82 <xref linkend="unzip"/>
83 </para>
[b3b8d69]84
[977061b0]85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/sgml-dtd-3"/></para>
87
[b3b8d69]88 </sect2>
89
90 <sect2 role="installation">
[6633f56]91 <title>Installation of DocBook-3.1 SGML DTD</title>
[b3b8d69]92
[e05cd03f]93 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[ebabf24]94 href="../../xincludes/use-unzip.xml"/>
[b3b8d69]95
[47274444]96 <para>
[6633f56]97 Install <application>DocBook-3.1 SGML DTD</application> by running
[47274444]98 the following commands:
99 </para>
[b3b8d69]100
[512f843]101<screen><userinput>sed -i -e '/ISO 8879/d' \
[6633f56]102 -e 's|DTDDECL "-//OASIS//DTD DocBook V&docbook-3.1-dtd-version;//EN"|SGMLDECL|g' \
[31d2934]103 docbook.cat</userinput></screen>
[2ddf76a8]104
[47274444]105 <para>
106 This package does not come with a test suite.
107 </para>
[ea92fe5]108
[47274444]109 <para>
110 Now, as the <systemitem class="username">root</systemitem> user:
111 </para>
[2ddf76a8]112
[6633f56]113<screen role="root"><userinput>install -v -d -m755 /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version; &amp;&amp;
[50d3491a]114chown -R root:root . &amp;&amp;
[6633f56]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;
[512f843]117
[6633f56]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;
[512f843]120
[6633f56]121install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-3.1-dtd-version;.cat \
[b3b8d69]122 /etc/sgml/sgml-docbook.cat</userinput></screen>
[50d3491a]123
[b3b8d69]124 </sect2>
[50d3491a]125
[b3b8d69]126 <sect2 role="commands">
127 <title>Command Explanations</title>
[50d3491a]128
[47274444]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>
[50d3491a]133
[47274444]134 <para>
135 <command>sed -i -e 's|DTDDECL
[6633f56]136 "-//OASIS//DTD Docbook V&docbook-3.1-dtd-version;//EN"|SGMLDECL|g'
[47274444]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>
[50d3491a]141
[b3b8d69]142 </sect2>
[50d3491a]143
[b3b8d69]144 <sect2 role="configuration">
[6633f56]145 <title>Configuring DocBook-3.1 SGML DTD</title>
[50d3491a]146
[b3b8d69]147 <sect3 id="sgml-dtd-3-config">
148 <title>Config Files</title>
[50d3491a]149
[47274444]150 <para>
151 <filename>/etc/sgml/catalog</filename>
152 </para>
[50d3491a]153
[b3b8d69]154 <indexterm zone="sgml-dtd-3 sgml-dtd-3-config">
155 <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
156 </indexterm>
[50d3491a]157
[b3b8d69]158 </sect3>
[b650556]159
[b3b8d69]160 <sect3>
161 <title>Configuration Information</title>
162
[47274444]163 <para>
164 The above installation script updates the catalog.
165 </para>
[b3b8d69]166
[47274444]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>
[b3b8d69]172
[6633f56]173<screen role="root"><userinput>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;/catalog &lt;&lt; "EOF"
[b3b8d69]174<literal> -- Begin Single Major Version catalog changes --
[50d3491a]175
176PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
177
[b3b8d69]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>
[6633f56]198 <seg>/usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;</seg>
[b3b8d69]199 </seglistitem>
200 </segmentedlist>
201
202 <variablelist>
203 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
204 <?dbfo list-presentation="list"?>
[869b15ae]205 <?dbhtml list-presentation="table"?>
[b3b8d69]206
207 <varlistentry id="SGML-DTD-files">
208 <term><filename>SGML DTD files</filename></term>
209 <listitem>
[47274444]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>
[b3b8d69]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>
[47274444]224 <para>
225 contains components of the document type definition that are
226 sourced into the <filename>DTD</filename> files.
227 </para>
[b3b8d69]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>
[fc1d0ba7]237
238</sect1>
Note: See TracBrowser for help on using the repository browser.