source: pst/sgml/docbook-dsssl.xml@ 977061b0

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

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #8

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

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