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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f8a84b4 was f8a84b4, checked in by Ken Moffat <ken@…>, 8 years ago

tags

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

  • Property mode set to 100644
File size: 8.8 KB
RevLine 
[40d2307]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[50d3491a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[b650556]6
[0aeb696]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
[fce275e]19 <!ENTITY docbook-dsssl-download-http "&sourceforge-repo;/docbook/docbook-dsssl-&docbook-dsssl-version;.tar.bz2">
[fb2e525]20 <!ENTITY docbook-dsssl-download-ftp "&gentoo-ftp-repo;/docbook-dsssl-&docbook-dsssl-version;.tar.bz2">
[058dd48]21 <!ENTITY docbook-dsssl-md5sum "bc192d23266b9a664ca0aba4a7794c7c">
22 <!ENTITY docbook-dsssl-size "277 KB">
23 <!ENTITY docbook-dsssl-buildsize "14 MB">
[4f58e7a]24 <!ENTITY docbook-dsssl-time "less than 0.1 SBU">
[058dd48]25
[fce275e]26 <!ENTITY docbook-dsssl-doc-download-http "&sourceforge-repo;/docbook/docbook-dsssl-doc-&docbook-dsssl-version;.tar.bz2">
[058dd48]27 <!ENTITY docbook-dsssl-doc-md5sum "9a7b809a21ab7d2749bb328334c380f2">
28 <!ENTITY docbook-dsssl-doc-size "142 KB">
[50d3491a]29]>
30
[40d2307]31<sect1 id="docbook-dsssl"
[a027d7d3]32xreflabel="docbook-dsssl-&docbook-dsssl-version;">
[40d2307]33 <?dbhtml filename="docbook-dsssl.html"?>
34
35 <sect1info>
36 <othername>$LastChangedBy$</othername>
37 <date>$Date$</date>
38 </sect1info>
39
[a027d7d3]40 <title>docbook-dsssl-&docbook-dsssl-version;</title>
[40d2307]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
[f8a84b4]55 &lfs7a_checked;
[00555b0f]56
[40d2307]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'>
[0dddae0]81 <title>Documentation and test data</title>
82
[40d2307]83 <listitem>
[0dddae0]84 <para>Download (HTTP):
[40d2307]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>
[d352a28]98 <para role="required"><xref linkend="sgml-common"/></para>
[40d2307]99
100 <bridgehead renderas="sect4">Required (to Test the DocBook SGML
101 Toolchain)</bridgehead>
[d352a28]102 <para role="required"><xref linkend="sgml-dtd-3"/>,
[4f58e7a]103 <xref linkend="sgml-dtd"/>,
[40d2307]104 <xref linkend="opensp"/> and
105 <xref linkend="openjade"/></para>
106
[977061b0]107 <para condition="html" role="usernotes">User Notes:
108 <ulink url="&blfs-wiki;/docbook-dsssl"/></para>
109
[40d2307]110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of DocBook DSSSL Stylesheets</title>
114
[d14cd9a1]115 <para>If you downloaded the documentation, run:</para>
[539515a]116
[d14cd9a1]117<screen><userinput>tar -xf ../docbook-dsssl-doc-1.79.tar.bz2 --strip-components=1</userinput></screen>
[40d2307]118
119 <para>Install <application>DocBook DSSSL Stylesheets</application> by running
120 the following commands as the <systemitem class="username">root</systemitem>
121 user:</para>
[445007af]122
[d14cd9a1]123<screen role="root"><userinput>install -v -m755 bin/collateindex.pl /usr/bin &amp;&amp;
[539515a]124install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1 &amp;&amp;
[058dd48]125install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
[539515a]126cp -v -R * /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
127
[50d3491a]128install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
[539515a]129 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog &amp;&amp;
130
[058dd48]131install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
[539515a]132 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common/catalog &amp;&amp;
133
134install-catalog --add /etc/sgml/sgml-docbook.cat \
[40d2307]135 /etc/sgml/dsssl-docbook-stylesheets.cat</userinput></screen>
[50d3491a]136
[40d2307]137 </sect2>
[50d3491a]138
[40d2307]139 <sect2 role="commands">
140 <title>Command Explanations</title>
[50d3491a]141
[4f58e7a]142 <para>The above commands create an installation script for this
143 package.</para>
[50d3491a]144
[40d2307]145 </sect2>
[50d3491a]146
[4f2f35c]147 <sect2 role="testing">
[40d2307]148 <title>Testing the DocBook SGML Toolchain (Optional)</title>
[058dd48]149
[40d2307]150 <para>The following commands will perform the necessary tests to confirm
151 that your installed DocBook SGML toolchain will produce desired results.
[4f58e7a]152 You must have the <xref linkend="sgml-dtd-3"/>, <xref linkend="sgml-dtd"/>,
153 <xref linkend="opensp"/> and <xref linkend="openjade"/> packages installed
154 and perform the tests as the
155 <systemitem class="username">root</systemitem> user.</para>
[058dd48]156
[4f58e7a]157 <para>All tests will be performed from the <filename class='directory'>
158 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</filename>
[539515a]159 directory as the <systemitem class="username">root</systemitem> user:</para>
[058dd48]160
[40d2307]161<screen role="root"><userinput>cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</userinput></screen>
[058dd48]162
[40d2307]163 <para>The first test should produce no output to stdout (your screen) and
164 create a file named <filename>jtest.rtf</filename> in the current
165 directory:</para>
[058dd48]166
[40d2307]167<screen role="root"><userinput>openjade -t rtf -d jtest.dsl jtest.sgm</userinput></screen>
[058dd48]168
[40d2307]169 <para>The next test should return only the following line to stdout:
[b7bb66d]170 <computeroutput>onsgmls:I: "OpenSP" version "&opensp-version;"</computeroutput></para>
[058dd48]171
[40d2307]172<screen role="root"><userinput>onsgmls -sv test.sgm</userinput></screen>
[058dd48]173
[40d2307]174 <para>The next test should produce no output to stdout and create a file
175 named <filename>test.rtf</filename> in the current directory:</para>
[058dd48]176
[40d2307]177<screen role="root"><userinput>openjade -t rtf \
[058dd48]178 -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print/docbook.dsl \
[40d2307]179 test.sgm</userinput></screen>
[058dd48]180
[40d2307]181 <para>The last test should produce no output to stdout and create a file
182 named <filename>c1.htm</filename> in the current directory:</para>
[058dd48]183
[40d2307]184<screen role="root"><userinput>openjade -t sgml \
[058dd48]185 -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/docbook.dsl \
[40d2307]186 test.sgm</userinput></screen>
[058dd48]187
[539515a]188 <para>Finally, clean up:</para>
189
190<screen role="root"><userinput>rm jtest.rtf test.rtf c1.htm</userinput></screen>
191
[40d2307]192 </sect2>
[058dd48]193
[40d2307]194 <sect2 role="content">
195 <title>Contents</title>
196
197 <segmentedlist>
198 <segtitle>Installed Program</segtitle>
199 <segtitle>Installed Libraries</segtitle>
200 <segtitle>Installed Files</segtitle>
201 <segtitle>Installed Directory</segtitle>
202
203 <seglistitem>
204 <seg>collateindex.pl</seg>
205 <seg>None</seg>
206 <seg>DSSSL stylesheets</seg>
207 <seg>/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;</seg>
208 </seglistitem>
209 </segmentedlist>
210
211 <variablelist>
212 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
213 <?dbfo list-presentation="list"?>
214 <?dbhtml list-presentation="table"?>
215
216 <varlistentry id="collateindex.pl">
217 <term><command>collateindex.pl</command></term>
218 <listitem>
219 <para>is a <application>Perl</application> script that creates a
220 DocBook index from raw index data.</para>
221 <indexterm zone="docbook-dsssl collateindex.pl">
222 <primary sortas="b-collateindex.pl">collateindex.pl</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 </variablelist>
228
229 </sect2>
[445007af]230
231</sect1>
Note: See TracBrowser for help on using the repository browser.