source: pst/sgml/docbook-dsssl.xml@ 4f58e7a

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 4f58e7a was 4f58e7a, checked in by Randy McMurchy <randy@…>, 18 years ago

Added DocBook SGML DTD-3.1 as a dependency to perform the tests outlined in the DocBook DSSSL Stylesheets instructions

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

  • Property mode set to 100644
File size: 9.2 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 docbook-dsssl-download-http "http://prdownloads.sourceforge.net/docbook/docbook-dsssl-&docbook-dsssl-version;.tar.bz2">
8 <!ENTITY docbook-dsssl-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/docbook-dsssl-&docbook-dsssl-version;.tar.bz2">
9 <!ENTITY docbook-dsssl-md5sum "bc192d23266b9a664ca0aba4a7794c7c">
10 <!ENTITY docbook-dsssl-size "277 KB">
11 <!ENTITY docbook-dsssl-buildsize "14 MB">
12 <!ENTITY docbook-dsssl-time "less than 0.1 SBU">
13
14 <!ENTITY docbook-dsssl-doc-download-http "http://prdownloads.sourceforge.net/docbook/docbook-dsssl-doc-&docbook-dsssl-version;.tar.bz2">
15 <!ENTITY docbook-dsssl-doc-md5sum "9a7b809a21ab7d2749bb328334c380f2">
16 <!ENTITY docbook-dsssl-doc-size "142 KB">
17]>
18
19<sect1 id="docbook-dsssl"
20xreflabel="DocBook DSSSL Stylesheets-&docbook-dsssl-version;">
21 <?dbhtml filename="docbook-dsssl.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>DocBook DSSSL Stylesheets-&docbook-dsssl-version;</title>
29
30 <indexterm zone="docbook-dsssl">
31 <primary sortas="a-DocBook-DSSSL-Stylesheets">DocBook DSSSL
32 Stylesheets</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to DocBook DSSSL Stylesheets</title>
37
38 <para>The <application>DocBook DSSSL Stylesheets</application> package
39 contains DSSSL stylesheets. These are used by
40 <application>OpenJade</application> or other tools to transform SGML
41 and XML DocBook files.</para>
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&docbook-dsssl-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&docbook-dsssl-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &docbook-dsssl-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &docbook-dsssl-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &docbook-dsssl-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &docbook-dsssl-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
66 <itemizedlist spacing='compact'>
67 <listitem>
68 <para>Documentation and test data:
69 <ulink url="&docbook-dsssl-doc-download-http;"/></para></listitem>
70 <listitem>
71 <para>Download MD5 sum: &docbook-dsssl-doc-md5sum;</para>
72 </listitem>
73 <listitem>
74 <para>Download size: &docbook-dsssl-doc-size;</para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">DocBook DSSSL Stylesheets
79 Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para><xref linkend="sgml-common"/></para>
83
84 <bridgehead renderas="sect4">Required (to Test the DocBook SGML
85 Toolchain)</bridgehead>
86 <para><xref linkend="sgml-dtd-3"/>,
87 <xref linkend="sgml-dtd"/>,
88 <xref linkend="opensp"/> and
89 <xref linkend="openjade"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of DocBook DSSSL Stylesheets</title>
95
96 <para>Ensure you unpack both the source and documentation tarballs before
97 beginning the build.</para>
98
99 <para>Install <application>DocBook DSSSL Stylesheets</application> by running
100 the following commands as the <systemitem class="username">root</systemitem>
101 user:</para>
102
103<!--
104<screen><userinput>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &amp;&amp;
105mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &amp;&amp;
106mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
107mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &amp;&amp;
108mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &amp;&amp;
109mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/test &amp;&amp;
110mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &amp;&amp;
111install bin/collateindex.pl /usr/bin &amp;&amp;
112cp catalog VERSION /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
113cp dtds/decls/*.dcl \
114 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &amp;&amp;
115cp lib/dblib.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &amp;&amp;
116cp common/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
117cp common/*.ent /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
118cp html/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &amp;&amp;
119cp print/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &amp;&amp;
120cp images/*.gif /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &amp;&amp;
121 -->
122
123<screen role="root"><userinput>install -v -m755 bin/collateindex.pl /usr/bin &amp;&amp;
124install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1 &amp;&amp;
125install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
126cp -v -R * /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
127install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
128 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog &amp;&amp;
129install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
130 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common/catalog &amp;&amp;
131install-catalog --add /etc/sgml/sgml-docbook.cat \
132 /etc/sgml/dsssl-docbook-stylesheets.cat</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para>The above commands create an installation script for this
140 package.</para>
141
142 </sect2>
143
144 <sect2 role="testing">
145 <title>Testing the DocBook SGML Toolchain (Optional)</title>
146
147 <para>The following commands will perform the necessary tests to confirm
148 that your installed DocBook SGML toolchain will produce desired results.
149 You must have the <xref linkend="sgml-dtd-3"/>, <xref linkend="sgml-dtd"/>,
150 <xref linkend="opensp"/> and <xref linkend="openjade"/> packages installed
151 and perform the tests as the
152 <systemitem class="username">root</systemitem> user.</para>
153
154 <para>All tests will be performed from the <filename class='directory'>
155 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</filename>
156 directory:</para>
157
158<screen role="root"><userinput>cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</userinput></screen>
159
160 <para>The first test should produce no output to stdout (your screen) and
161 create a file named <filename>jtest.rtf</filename> in the current
162 directory:</para>
163
164<screen role="root"><userinput>openjade -t rtf -d jtest.dsl jtest.sgm</userinput></screen>
165
166 <para>The next test should return only the following line to stdout:
167 <computeroutput>onsgmls:I: "OpenSP" version "1.5.1"</computeroutput></para>
168
169<screen role="root"><userinput>onsgmls -sv test.sgm</userinput></screen>
170
171 <para>The next test should produce no output to stdout and create a file
172 named <filename>test.rtf</filename> in the current directory:</para>
173
174<screen role="root"><userinput>openjade -t rtf \
175 -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print/docbook.dsl \
176 test.sgm</userinput></screen>
177
178 <para>The last test should produce no output to stdout and create a file
179 named <filename>c1.htm</filename> in the current directory:</para>
180
181<screen role="root"><userinput>openjade -t sgml \
182 -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/docbook.dsl \
183 test.sgm</userinput></screen>
184
185 </sect2>
186
187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Program</segtitle>
192 <segtitle>Installed Libraries</segtitle>
193 <segtitle>Installed Files</segtitle>
194 <segtitle>Installed Directory</segtitle>
195
196 <seglistitem>
197 <seg>collateindex.pl</seg>
198 <seg>None</seg>
199 <seg>DSSSL stylesheets</seg>
200 <seg>/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;</seg>
201 </seglistitem>
202 </segmentedlist>
203
204 <variablelist>
205 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
206 <?dbfo list-presentation="list"?>
207 <?dbhtml list-presentation="table"?>
208
209 <varlistentry id="collateindex.pl">
210 <term><command>collateindex.pl</command></term>
211 <listitem>
212 <para>is a <application>Perl</application> script that creates a
213 DocBook index from raw index data.</para>
214 <indexterm zone="docbook-dsssl collateindex.pl">
215 <primary sortas="b-collateindex.pl">collateindex.pl</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 </variablelist>
221
222 </sect2>
223
224</sect1>
Note: See TracBrowser for help on using the repository browser.