source: pst/sgml/docbook-dsssl.xml@ 15b3bc29

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 15b3bc29 was 15b3bc29, checked in by Randy McMurchy <randy@…>, 17 years ago

Modified all the Sourceforge download links to use the new standard Sourceforge has implemented

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

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