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