source: pst/sgml/sgml-dtd.xml@ c2a37a6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.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 c2a37a6 was c2a37a6, checked in by Randy McMurchy <randy@…>, 19 years ago

Added md5sums to Chapter 42-44 package instructions

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

  • Property mode set to 100644
File size: 4.9 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY sgml-dtd-download-http "http://www.docbook.org/sgml/4.3/docbook-&sgml-dtd-version;.zip">
7 <!ENTITY sgml-dtd-download-ftp " ">
8 <!ENTITY sgml-dtd-md5sum "e3beb1b0b2923c24fa55a68e88654b01">
9 <!ENTITY sgml-dtd-size "76 KB">
10 <!ENTITY sgml-dtd-buildsize "389 KB">
11 <!ENTITY sgml-dtd-time "0.01 SBU">
12]>
13
14<sect1 id="sgml-dtd" xreflabel="DocBook SGML DTD-&sgml-dtd-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="sgml-dtd.html"?>
20<title>DocBook SGML DTD-&sgml-dtd-version;</title>
21
22<sect2>
23<title>Introduction to <application>DocBook <acronym>SGML</acronym>
24<acronym>DTD</acronym></application></title>
25
26<para>The <application>DocBook <acronym>SGML</acronym>
27<acronym>DTD</acronym></application> package contains document type definitions
28for verification of <acronym>SGML</acronym> data files against the DocBook rule
29set. These are useful for structuring books and software documentation to a
30standard allowing you to utilize transformations already written for that
31standard.</para>
32
33<sect3><title>Package information</title>
34<itemizedlist spacing='compact'>
35<listitem><para>Download (HTTP): <ulink
36url="&sgml-dtd-download-http;"/></para></listitem>
37<listitem><para>Download (FTP): <ulink
38url="&sgml-dtd-download-ftp;"/></para></listitem>
39<listitem><para>Download MD5 sum: &sgml-dtd-md5sum;</para></listitem>
40<listitem><para>Download size: &sgml-dtd-size;</para></listitem>
41<listitem><para>Estimated disk space required:
42&sgml-dtd-buildsize;</para></listitem>
43<listitem><para>Estimated build time:
44&sgml-dtd-time;</para></listitem></itemizedlist>
45</sect3>
46
47<sect3><title><application>DocBook <acronym>SGML</acronym>
48<acronym>DTD</acronym></application> dependencies</title>
49<sect4><title>Required</title>
50<para><xref linkend="sgml-common"/> and <xref linkend="unzip"/></para>
51</sect4>
52</sect3>
53
54</sect2>
55
56<sect2>
57<title>Installation of <application>DocBook <acronym>SGML</acronym>
58<acronym>DTD</acronym></application></title>
59
60<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../use-unzip.xml"/>
61
62<para>Install <application>DocBook <acronym>SGML</acronym>
63<acronym>DTD</acronym></application> by running the following commands:</para>
64
65<screen><userinput><command>sed -i -e '/ISO 8879/d' \
66 -e '/gml/d' docbook.cat &amp;&amp;
67install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &amp;&amp;
68chown -R root:root . &amp;&amp;
69install docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &amp;&amp;
70cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &amp;&amp;
71install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
72 /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &amp;&amp;
73install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
74 /etc/sgml/sgml-docbook.cat</command></userinput></screen>
75
76</sect2>
77
78<sect2>
79<title>Command explanations</title>
80
81<para><command>sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat</command>:
82This command removes the ENT definitions from the catalog file.</para>
83
84</sect2>
85
86<sect2>
87<title>Configuring <application>DocBook <acronym>SGML</acronym>
88<acronym>DTD</acronym></application></title>
89
90<sect3><title>Config files</title>
91<para><filename>/etc/sgml/catalog</filename></para>
92</sect3>
93
94<sect3><title>Configuration Information</title>
95
96<para>The above installation script updates the catalog.</para>
97
98<para>Using only the most current 4.x version of <application>DocBook
99<acronym>SGML</acronym> <acronym>DTD</acronym></application> requires the
100following:</para>
101
102<screen><userinput><command>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &lt;&lt; "EOF"</command>
103 -- Begin Single Major Version catalog changes --
104
105PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
106PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
107PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
108
109 -- End Single Major Version catalog changes --
110<command>EOF</command></userinput></screen>
111
112</sect3>
113
114</sect2>
115
116<sect2>
117<title>Contents</title>
118
119<para>The <application>DocBook <acronym>SGML</acronym>
120<acronym>DTD</acronym></application> package contains <filename>DTD</filename>
121files and <filename>MOD</filename> files.</para>
122
123</sect2>
124
125<sect2><title>Description</title>
126
127<sect3><title>DTD files</title>
128<para><filename>DTD</filename> files contain a document type definition which
129defines the element types and the attribute lists that can be used in the
130corresponding <acronym>SGML</acronym> files.</para></sect3>
131
132<sect3><title>MOD files</title>
133<para><filename>MOD</filename> files contain components of the document type
134definition that are sourced into the <filename>DTD</filename> files.</para>
135</sect3>
136
137</sect2>
138
139</sect1>
140
Note: See TracBrowser for help on using the repository browser.