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