source: pst/sgml/docbook-dsssl.xml@ 00555b0f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 00555b0f was 00555b0f, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to NcFTP-3.2.3.

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