[40d2307] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[50d3491a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[b650556] | 6 |
|
---|
[058dd48] | 7 | <!ENTITY docbook-dsssl-download-http "http://prdownloads.sourceforge.net/docbook/docbook-dsssl-&docbook-dsssl-version;.tar.bz2">
|
---|
[4f58e7a] | 8 | <!ENTITY docbook-dsssl-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/docbook-dsssl-&docbook-dsssl-version;.tar.bz2">
|
---|
[058dd48] | 9 | <!ENTITY docbook-dsssl-md5sum "bc192d23266b9a664ca0aba4a7794c7c">
|
---|
| 10 | <!ENTITY docbook-dsssl-size "277 KB">
|
---|
| 11 | <!ENTITY docbook-dsssl-buildsize "14 MB">
|
---|
[4f58e7a] | 12 | <!ENTITY docbook-dsssl-time "less than 0.1 SBU">
|
---|
[058dd48] | 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">
|
---|
[50d3491a] | 17 | ]>
|
---|
| 18 |
|
---|
[40d2307] | 19 | <sect1 id="docbook-dsssl"
|
---|
[c2a37a6] | 20 | xreflabel="DocBook DSSSL Stylesheets-&docbook-dsssl-version;">
|
---|
[40d2307] | 21 | <?dbhtml filename="docbook-dsssl.html"?>
|
---|
| 22 |
|
---|
| 23 | <sect1info>
|
---|
| 24 | <othername>$LastChangedBy$</othername>
|
---|
| 25 | <date>$Date$</date>
|
---|
[d352a28] | 26 | <keywordset>
|
---|
| 27 | <keyword role="package">docbook-dsssl-&docbook-dsssl-version;.tar</keyword>
|
---|
[f1283d3f] | 28 | <keyword role="ftpdir">docbook-dsssl</keyword>
|
---|
[d352a28] | 29 | </keywordset>
|
---|
[40d2307] | 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>
|
---|
[d352a28] | 86 | <para role="required"><xref linkend="sgml-common"/></para>
|
---|
[40d2307] | 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required (to Test the DocBook SGML
|
---|
| 89 | Toolchain)</bridgehead>
|
---|
[d352a28] | 90 | <para role="required"><xref linkend="sgml-dtd-3"/>,
|
---|
[4f58e7a] | 91 | <xref linkend="sgml-dtd"/>,
|
---|
[40d2307] | 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>
|
---|
[445007af] | 106 |
|
---|
[40d2307] | 107 | <!--
|
---|
| 108 | <screen><userinput>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &&
|
---|
[50d3491a] | 109 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &&
|
---|
| 110 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
---|
| 111 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &&
|
---|
| 112 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &&
|
---|
| 113 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/test &&
|
---|
| 114 | mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &&
|
---|
| 115 | install bin/collateindex.pl /usr/bin &&
|
---|
| 116 | cp catalog VERSION /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
---|
| 117 | cp dtds/decls/*.dcl \
|
---|
| 118 | /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &&
|
---|
| 119 | cp lib/dblib.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &&
|
---|
| 120 | cp common/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
---|
| 121 | cp common/*.ent /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
---|
| 122 | cp html/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &&
|
---|
| 123 | cp print/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &&
|
---|
| 124 | cp images/*.gif /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &&
|
---|
[058dd48] | 125 | -->
|
---|
| 126 |
|
---|
[40d2307] | 127 | <screen role="root"><userinput>install -v -m755 bin/collateindex.pl /usr/bin &&
|
---|
[058dd48] | 128 | install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1 &&
|
---|
| 129 | install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
---|
| 130 | cp -v -R * /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
---|
[50d3491a] | 131 | install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
---|
| 132 | /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog &&
|
---|
[058dd48] | 133 | install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
---|
| 134 | /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common/catalog &&
|
---|
[50d3491a] | 135 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
[40d2307] | 136 | /etc/sgml/dsssl-docbook-stylesheets.cat</userinput></screen>
|
---|
[50d3491a] | 137 |
|
---|
[40d2307] | 138 | </sect2>
|
---|
[50d3491a] | 139 |
|
---|
[40d2307] | 140 | <sect2 role="commands">
|
---|
| 141 | <title>Command Explanations</title>
|
---|
[50d3491a] | 142 |
|
---|
[4f58e7a] | 143 | <para>The above commands create an installation script for this
|
---|
| 144 | package.</para>
|
---|
[50d3491a] | 145 |
|
---|
[40d2307] | 146 | </sect2>
|
---|
[50d3491a] | 147 |
|
---|
[4f2f35c6] | 148 | <sect2 role="testing">
|
---|
[40d2307] | 149 | <title>Testing the DocBook SGML Toolchain (Optional)</title>
|
---|
[058dd48] | 150 |
|
---|
[40d2307] | 151 | <para>The following commands will perform the necessary tests to confirm
|
---|
| 152 | that your installed DocBook SGML toolchain will produce desired results.
|
---|
[4f58e7a] | 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>
|
---|
[058dd48] | 157 |
|
---|
[4f58e7a] | 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>
|
---|
[40d2307] | 160 | directory:</para>
|
---|
[058dd48] | 161 |
|
---|
[40d2307] | 162 | <screen role="root"><userinput>cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</userinput></screen>
|
---|
[058dd48] | 163 |
|
---|
[40d2307] | 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>
|
---|
[058dd48] | 167 |
|
---|
[40d2307] | 168 | <screen role="root"><userinput>openjade -t rtf -d jtest.dsl jtest.sgm</userinput></screen>
|
---|
[058dd48] | 169 |
|
---|
[40d2307] | 170 | <para>The next test should return only the following line to stdout:
|
---|
| 171 | <computeroutput>onsgmls:I: "OpenSP" version "1.5.1"</computeroutput></para>
|
---|
[058dd48] | 172 |
|
---|
[40d2307] | 173 | <screen role="root"><userinput>onsgmls -sv test.sgm</userinput></screen>
|
---|
[058dd48] | 174 |
|
---|
[40d2307] | 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>
|
---|
[058dd48] | 177 |
|
---|
[40d2307] | 178 | <screen role="root"><userinput>openjade -t rtf \
|
---|
[058dd48] | 179 | -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print/docbook.dsl \
|
---|
[40d2307] | 180 | test.sgm</userinput></screen>
|
---|
[058dd48] | 181 |
|
---|
[40d2307] | 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>
|
---|
[058dd48] | 184 |
|
---|
[40d2307] | 185 | <screen role="root"><userinput>openjade -t sgml \
|
---|
[058dd48] | 186 | -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/docbook.dsl \
|
---|
[40d2307] | 187 | test.sgm</userinput></screen>
|
---|
[058dd48] | 188 |
|
---|
[40d2307] | 189 | </sect2>
|
---|
[058dd48] | 190 |
|
---|
[40d2307] | 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>
|
---|
[445007af] | 227 |
|
---|
| 228 | </sect1>
|
---|