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

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

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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