source: pst/sgml/sgml-dtd.xml@ 00555b0f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 00555b0f was 00555b0f, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to NcFTP-3.2.3.

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

  • Property mode set to 100644
File size: 6.7 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/&sgml-dtd-version;/docbook-&sgml-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 "0.01 SBU">
13]>
14
15<sect1 id="sgml-dtd" xreflabel="DocBook SGML DTD-&sgml-dtd-version;">
16 <?dbhtml filename="sgml-dtd.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>DocBook SGML DTD-&sgml-dtd-version;</title>
24
25 <indexterm zone="sgml-dtd">
26 <primary sortas="a-DocBook-SGML-DTD-&sgml-dtd-version;">DocBook SGML
27 DTD-&sgml-dtd-version;</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to DocBook SGML DTD</title>
32
33 <para>The <application>DocBook SGML DTD</application> package contains
34 document type definitions for verification of SGML data files against the
35 DocBook rule set. These are useful for structuring books and software
36 documentation to a standard allowing you to utilize transformations
37 already written for that standard.</para>
38
39 &lfs65_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&sgml-dtd-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&sgml-dtd-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &sgml-dtd-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &sgml-dtd-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &sgml-dtd-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &sgml-dtd-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">DocBook SGML DTD Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
66 <para role="required"><xref linkend="sgml-common"/> and
67 <xref linkend="unzip"/></para>
68
69 <para condition="html" role="usernotes">User Notes:
70 <ulink url="&blfs-wiki;/sgml-dtd"/></para>
71
72 </sect2>
73
74 <sect2 role="installation">
75 <title>Installation of DocBook SGML DTD</title>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../../xincludes/use-unzip.xml"/>
79
80 <para>Install <application>DocBook SGML DTD</application> by running
81 the following commands:</para>
82
83<screen><userinput>sed -i -e '/ISO 8879/d' \
84 -e '/gml/d' docbook.cat</userinput></screen>
85
86 <para>This package does not come with a test suite.</para>
87
88 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
89
90<screen role="root"><userinput>install -v -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &amp;&amp;
91chown -R root:root . &amp;&amp;
92install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &amp;&amp;
93cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &amp;&amp;
94install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
95 /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &amp;&amp;
96install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
97 /etc/sgml/sgml-docbook.cat</userinput></screen>
98
99 </sect2>
100
101 <sect2 role="commands">
102 <title>Command Explanations</title>
103
104 <para><command>sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat</command>:
105 This command removes the ENT definitions from the catalog file.</para>
106
107 </sect2>
108
109 <sect2 role="configuration">
110 <title>Configuring DocBook SGML DTD</title>
111
112 <sect3 id="sgml-dtd-config">
113 <title>Config Files</title>
114
115 <para><filename>/etc/sgml/catalog</filename></para>
116
117 <indexterm zone="sgml-dtd sgml-dtd-config">
118 <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
119 </indexterm>
120
121 </sect3>
122
123 <sect3>
124 <title>Configuration Information</title>
125
126 <para>The above installation script updates the catalog.</para>
127
128 <para>Using only the most current 4.x version of <application>DocBook
129 SGML DTD</application> requires the following (perform as the
130 <systemitem class="username">root</systemitem> user):</para>
131
132<screen role="root"><userinput>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &lt;&lt; "EOF"
133<literal> -- Begin Single Major Version catalog changes --
134
135PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
136PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
137PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
138PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
139PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
140
141 -- End Single Major Version catalog changes --</literal>
142EOF</userinput></screen>
143
144 </sect3>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Files</segtitle>
155 <segtitle>Installed Directory</segtitle>
156
157 <seglistitem>
158 <seg>None</seg>
159 <seg>None</seg>
160 <seg>SGML DTD and MOD files</seg>
161 <seg>/usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;</seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="SGML-DTD-files-4">
171 <term><filename>SGML DTD files</filename></term>
172 <listitem>
173 <para>contain a document type definition which defines the element
174 types and the attribute lists that can be used in the corresponding
175 SGML files.</para>
176 <indexterm zone="sgml-dtd SGML-DTD-files-4">
177 <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="SGML-MOD-files-4">
183 <term><filename>SGML MOD files</filename></term>
184 <listitem>
185 <para>contain components of the document type definition that are
186 sourced into the <filename>DTD</filename> files.</para>
187 <indexterm zone="sgml-dtd SGML-MOD-files-4">
188 <primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.