source: pst/sgml/docbook-4.5-dtd.xml@ 42ddc30

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 42ddc30 was 9a4c8a4e, checked in by Xi Ruoyao <xry111@…>, 12 months ago

pst: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

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