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

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since cb6de2e was cb6de2e, checked in by Randy McMurchy <randy@…>, 18 years ago

Added FTP download location to OpenSP; changed FTP download location and removed redundant sed command in DocBook-DTD-3.1 instructions; added UnZip as an optional dependency and changed sed commands to in-place edits on DocBook-DTD instructions

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

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