source: pst/sgml/sgml-dtd-3.xml@ d352a28

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 d352a28 was d352a28, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Adding automatized scripts generation related tags. Pst part.

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

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