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 | <!-- 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 "http://prdownloads.sourceforge.net/docbook/docbook-dsssl-&docbook-dsssl-version;.tar.bz2">
|
---|
20 | <!ENTITY docbook-dsssl-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/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 "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">
|
---|
29 | ]>
|
---|
30 |
|
---|
31 | <sect1 id="docbook-dsssl"
|
---|
32 | xreflabel="DocBook DSSSL Stylesheets-&docbook-dsssl-version;">
|
---|
33 | <?dbhtml filename="docbook-dsssl.html"?>
|
---|
34 |
|
---|
35 | <sect1info>
|
---|
36 | <othername>$LastChangedBy$</othername>
|
---|
37 | <date>$Date$</date>
|
---|
38 | <keywordset>
|
---|
39 | <keyword role="package">docbook-dsssl-&docbook-dsssl-version;.tar</keyword>
|
---|
40 | <keyword role="ftpdir">docbook-dsssl</keyword>
|
---|
41 | </keywordset>
|
---|
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>
|
---|
98 | <para role="required"><xref linkend="sgml-common"/></para>
|
---|
99 |
|
---|
100 | <bridgehead renderas="sect4">Required (to Test the DocBook SGML
|
---|
101 | Toolchain)</bridgehead>
|
---|
102 | <para role="required"><xref linkend="sgml-dtd-3"/>,
|
---|
103 | <xref linkend="sgml-dtd"/>,
|
---|
104 | <xref linkend="opensp"/> and
|
---|
105 | <xref linkend="openjade"/></para>
|
---|
106 |
|
---|
107 | <para condition="html" role="usernotes">User Notes:
|
---|
108 | <ulink url="&blfs-wiki;/docbook-dsssl"/></para>
|
---|
109 |
|
---|
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>
|
---|
121 |
|
---|
122 | <!--
|
---|
123 | <screen><userinput>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &&
|
---|
124 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &&
|
---|
125 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
---|
126 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &&
|
---|
127 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &&
|
---|
128 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/test &&
|
---|
129 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &&
|
---|
130 | install bin/collateindex.pl /usr/bin &&
|
---|
131 | cp catalog VERSION /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
---|
132 | cp dtds/decls/*.dcl \
|
---|
133 | /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &&
|
---|
134 | cp lib/dblib.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &&
|
---|
135 | cp common/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
---|
136 | cp common/*.ent /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
---|
137 | cp html/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &&
|
---|
138 | cp print/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &&
|
---|
139 | cp images/*.gif /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &&
|
---|
140 | -->
|
---|
141 |
|
---|
142 | <screen role="root"><userinput>install -v -m755 bin/collateindex.pl /usr/bin &&
|
---|
143 | install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1 &&
|
---|
144 | install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
---|
145 | cp -v -R * /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
---|
146 | install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
---|
147 | /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog &&
|
---|
148 | install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
---|
149 | /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common/catalog &&
|
---|
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>The above commands create an installation script for this
|
---|
159 | package.</para>
|
---|
160 |
|
---|
161 | </sect2>
|
---|
162 |
|
---|
163 | <sect2 role="testing">
|
---|
164 | <title>Testing the DocBook SGML Toolchain (Optional)</title>
|
---|
165 |
|
---|
166 | <para>The following commands will perform the necessary tests to confirm
|
---|
167 | that your installed DocBook SGML toolchain will produce desired results.
|
---|
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>
|
---|
172 |
|
---|
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>
|
---|
175 | directory:</para>
|
---|
176 |
|
---|
177 | <screen role="root"><userinput>cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</userinput></screen>
|
---|
178 |
|
---|
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>
|
---|
182 |
|
---|
183 | <screen role="root"><userinput>openjade -t rtf -d jtest.dsl jtest.sgm</userinput></screen>
|
---|
184 |
|
---|
185 | <para>The next test should return only the following line to stdout:
|
---|
186 | <computeroutput>onsgmls:I: "OpenSP" version "1.5.1"</computeroutput></para>
|
---|
187 |
|
---|
188 | <screen role="root"><userinput>onsgmls -sv test.sgm</userinput></screen>
|
---|
189 |
|
---|
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>
|
---|
192 |
|
---|
193 | <screen role="root"><userinput>openjade -t rtf \
|
---|
194 | -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print/docbook.dsl \
|
---|
195 | test.sgm</userinput></screen>
|
---|
196 |
|
---|
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>
|
---|
199 |
|
---|
200 | <screen role="root"><userinput>openjade -t sgml \
|
---|
201 | -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/docbook.dsl \
|
---|
202 | test.sgm</userinput></screen>
|
---|
203 |
|
---|
204 | </sect2>
|
---|
205 |
|
---|
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>
|
---|
242 |
|
---|
243 | </sect1>
|
---|