[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 |
|
---|
[15b3bc29] | 19 | <!ENTITY docbook-dsssl-download-http "http://downloads.sourceforge.net/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 |
|
---|
[15b3bc29] | 26 | <!ENTITY docbook-dsssl-doc-download-http "http://downloads.sourceforge.net/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"
|
---|
[c2a37a6] | 32 | xreflabel="DocBook DSSSL Stylesheets-&docbook-dsssl-version;">
|
---|
[40d2307] | 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>
|
---|
[d352a28] | 94 | <para role="required"><xref linkend="sgml-common"/></para>
|
---|
[40d2307] | 95 |
|
---|
| 96 | <bridgehead renderas="sect4">Required (to Test the DocBook SGML
|
---|
| 97 | Toolchain)</bridgehead>
|
---|
[d352a28] | 98 | <para role="required"><xref linkend="sgml-dtd-3"/>,
|
---|
[4f58e7a] | 99 | <xref linkend="sgml-dtd"/>,
|
---|
[40d2307] | 100 | <xref linkend="opensp"/> and
|
---|
| 101 | <xref linkend="openjade"/></para>
|
---|
| 102 |
|
---|
[977061b0] | 103 | <para condition="html" role="usernotes">User Notes:
|
---|
| 104 | <ulink url="&blfs-wiki;/docbook-dsssl"/></para>
|
---|
| 105 |
|
---|
[40d2307] | 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>
|
---|
[445007af] | 117 |
|
---|
[40d2307] | 118 | <!--
|
---|
| 119 | <screen><userinput>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &&
|
---|
[50d3491a] | 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 &&
|
---|
[058dd48] | 136 | -->
|
---|
| 137 |
|
---|
[40d2307] | 138 | <screen role="root"><userinput>install -v -m755 bin/collateindex.pl /usr/bin &&
|
---|
[058dd48] | 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; &&
|
---|
[50d3491a] | 142 | install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
---|
| 143 | /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog &&
|
---|
[058dd48] | 144 | install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
---|
| 145 | /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common/catalog &&
|
---|
[50d3491a] | 146 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
[40d2307] | 147 | /etc/sgml/dsssl-docbook-stylesheets.cat</userinput></screen>
|
---|
[50d3491a] | 148 |
|
---|
[40d2307] | 149 | </sect2>
|
---|
[50d3491a] | 150 |
|
---|
[40d2307] | 151 | <sect2 role="commands">
|
---|
| 152 | <title>Command Explanations</title>
|
---|
[50d3491a] | 153 |
|
---|
[4f58e7a] | 154 | <para>The above commands create an installation script for this
|
---|
| 155 | package.</para>
|
---|
[50d3491a] | 156 |
|
---|
[40d2307] | 157 | </sect2>
|
---|
[50d3491a] | 158 |
|
---|
[4f2f35c6] | 159 | <sect2 role="testing">
|
---|
[40d2307] | 160 | <title>Testing the DocBook SGML Toolchain (Optional)</title>
|
---|
[058dd48] | 161 |
|
---|
[40d2307] | 162 | <para>The following commands will perform the necessary tests to confirm
|
---|
| 163 | that your installed DocBook SGML toolchain will produce desired results.
|
---|
[4f58e7a] | 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>
|
---|
[058dd48] | 168 |
|
---|
[4f58e7a] | 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>
|
---|
[40d2307] | 171 | directory:</para>
|
---|
[058dd48] | 172 |
|
---|
[40d2307] | 173 | <screen role="root"><userinput>cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</userinput></screen>
|
---|
[058dd48] | 174 |
|
---|
[40d2307] | 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>
|
---|
[058dd48] | 178 |
|
---|
[40d2307] | 179 | <screen role="root"><userinput>openjade -t rtf -d jtest.dsl jtest.sgm</userinput></screen>
|
---|
[058dd48] | 180 |
|
---|
[40d2307] | 181 | <para>The next test should return only the following line to stdout:
|
---|
[b7bb66d] | 182 | <computeroutput>onsgmls:I: "OpenSP" version "&opensp-version;"</computeroutput></para>
|
---|
[058dd48] | 183 |
|
---|
[40d2307] | 184 | <screen role="root"><userinput>onsgmls -sv test.sgm</userinput></screen>
|
---|
[058dd48] | 185 |
|
---|
[40d2307] | 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>
|
---|
[058dd48] | 188 |
|
---|
[40d2307] | 189 | <screen role="root"><userinput>openjade -t rtf \
|
---|
[058dd48] | 190 | -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print/docbook.dsl \
|
---|
[40d2307] | 191 | test.sgm</userinput></screen>
|
---|
[058dd48] | 192 |
|
---|
[40d2307] | 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>
|
---|
[058dd48] | 195 |
|
---|
[40d2307] | 196 | <screen role="root"><userinput>openjade -t sgml \
|
---|
[058dd48] | 197 | -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/docbook.dsl \
|
---|
[40d2307] | 198 | test.sgm</userinput></screen>
|
---|
[058dd48] | 199 |
|
---|
[40d2307] | 200 | </sect2>
|
---|
[058dd48] | 201 |
|
---|
[40d2307] | 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>
|
---|
[445007af] | 238 |
|
---|
| 239 | </sect1>
|
---|