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

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 a0f03b0 was a0f03b0, checked in by Archaic <archaic@…>, 20 years ago

Inserting sect1info

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

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