source: pst/sgml/docbook-dsssl.xml@ d352a28

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 d352a28 was d352a28, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Adding automatized scripts generation related tags. Pst part.

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

  • Property mode set to 100644
File size: 9.4 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="ftptdir">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 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of DocBook DSSSL Stylesheets</title>
99
100 <para>Ensure you unpack both the source and documentation tarballs before
101 beginning the build.</para>
102
103 <para>Install <application>DocBook DSSSL Stylesheets</application> by running
104 the following commands as the <systemitem class="username">root</systemitem>
105 user:</para>
106
107<!--
108<screen><userinput>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &amp;&amp;
109mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &amp;&amp;
110mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
111mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &amp;&amp;
112mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &amp;&amp;
113mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/test &amp;&amp;
114mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &amp;&amp;
115install bin/collateindex.pl /usr/bin &amp;&amp;
116cp catalog VERSION /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
117cp dtds/decls/*.dcl \
118 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &amp;&amp;
119cp lib/dblib.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &amp;&amp;
120cp common/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
121cp common/*.ent /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
122cp html/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &amp;&amp;
123cp print/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &amp;&amp;
124cp images/*.gif /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &amp;&amp;
125 -->
126
127<screen role="root"><userinput>install -v -m755 bin/collateindex.pl /usr/bin &amp;&amp;
128install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1 &amp;&amp;
129install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
130cp -v -R * /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
131install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
132 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog &amp;&amp;
133install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
134 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common/catalog &amp;&amp;
135install-catalog --add /etc/sgml/sgml-docbook.cat \
136 /etc/sgml/dsssl-docbook-stylesheets.cat</userinput></screen>
137
138 </sect2>
139
140 <sect2 role="commands">
141 <title>Command Explanations</title>
142
143 <para>The above commands create an installation script for this
144 package.</para>
145
146 </sect2>
147
148 <sect2 role="testing">
149 <title>Testing the DocBook SGML Toolchain (Optional)</title>
150
151 <para>The following commands will perform the necessary tests to confirm
152 that your installed DocBook SGML toolchain will produce desired results.
153 You must have the <xref linkend="sgml-dtd-3"/>, <xref linkend="sgml-dtd"/>,
154 <xref linkend="opensp"/> and <xref linkend="openjade"/> packages installed
155 and perform the tests as the
156 <systemitem class="username">root</systemitem> user.</para>
157
158 <para>All tests will be performed from the <filename class='directory'>
159 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</filename>
160 directory:</para>
161
162<screen role="root"><userinput>cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</userinput></screen>
163
164 <para>The first test should produce no output to stdout (your screen) and
165 create a file named <filename>jtest.rtf</filename> in the current
166 directory:</para>
167
168<screen role="root"><userinput>openjade -t rtf -d jtest.dsl jtest.sgm</userinput></screen>
169
170 <para>The next test should return only the following line to stdout:
171 <computeroutput>onsgmls:I: "OpenSP" version "1.5.1"</computeroutput></para>
172
173<screen role="root"><userinput>onsgmls -sv test.sgm</userinput></screen>
174
175 <para>The next test should produce no output to stdout and create a file
176 named <filename>test.rtf</filename> in the current directory:</para>
177
178<screen role="root"><userinput>openjade -t rtf \
179 -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print/docbook.dsl \
180 test.sgm</userinput></screen>
181
182 <para>The last test should produce no output to stdout and create a file
183 named <filename>c1.htm</filename> in the current directory:</para>
184
185<screen role="root"><userinput>openjade -t sgml \
186 -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/docbook.dsl \
187 test.sgm</userinput></screen>
188
189 </sect2>
190
191 <sect2 role="content">
192 <title>Contents</title>
193
194 <segmentedlist>
195 <segtitle>Installed Program</segtitle>
196 <segtitle>Installed Libraries</segtitle>
197 <segtitle>Installed Files</segtitle>
198 <segtitle>Installed Directory</segtitle>
199
200 <seglistitem>
201 <seg>collateindex.pl</seg>
202 <seg>None</seg>
203 <seg>DSSSL stylesheets</seg>
204 <seg>/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;</seg>
205 </seglistitem>
206 </segmentedlist>
207
208 <variablelist>
209 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
210 <?dbfo list-presentation="list"?>
211 <?dbhtml list-presentation="table"?>
212
213 <varlistentry id="collateindex.pl">
214 <term><command>collateindex.pl</command></term>
215 <listitem>
216 <para>is a <application>Perl</application> script that creates a
217 DocBook index from raw index data.</para>
218 <indexterm zone="docbook-dsssl collateindex.pl">
219 <primary sortas="b-collateindex.pl">collateindex.pl</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 </variablelist>
225
226 </sect2>
227
228</sect1>
Note: See TracBrowser for help on using the repository browser.