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