mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
518538fb6d
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3244 af4574ff-66df-0310-9fd7-8a98e5e911e0
124 lines
5.1 KiB
XML
124 lines
5.1 KiB
XML
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY docbook-dsssl-download-http "http://prdownloads.sourceforge.net/docbook/docbook-dsssl-&docbook-dsssl-version;.tar.gz">
|
|
<!ENTITY docbook-dsssl-download-ftp " ">
|
|
<!ENTITY docbook-dsssl-size "384 KB">
|
|
<!ENTITY docbook-dsssl-buildsize "6.3 MB">
|
|
<!ENTITY docbook-dsssl-time "0.01 SBU">
|
|
]>
|
|
|
|
<sect1 id="docbook-dsssl" xreflabel="DocBook DSSSL Stylesheets-&docbook-dsssl-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="docbook-dsssl.html"?>
|
|
<title>DocBook DSSSL Stylesheets-&docbook-dsssl-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>DocBook <acronym>DSSSL</acronym>
|
|
Stylesheets</application></title>
|
|
|
|
<para>The <application>DocBook <acronym>DSSSL</acronym>
|
|
Stylesheets</application> package contains <acronym>DSSSL</acronym>
|
|
stylesheets. These are used by <application>OpenJade</application> or other
|
|
tools to transform <acronym>SGML</acronym> and <acronym>XML</acronym> DocBook
|
|
files.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink url="&docbook-dsssl-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink url="&docbook-dsssl-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download size: &docbook-dsssl-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required: &docbook-dsssl-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time: &docbook-dsssl-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>DocBook <acronym>DSSSL</acronym>
|
|
Stylesheets</application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="sgml-common"/></para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>DocBook <acronym>DSSSL</acronym>
|
|
Stylesheets</application></title>
|
|
|
|
<para>Install <application>DocBook <acronym>DSSSL</acronym>
|
|
Stylesheets</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &&
|
|
mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &&
|
|
mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
|
mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &&
|
|
mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &&
|
|
mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/test &&
|
|
mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &&
|
|
install bin/collateindex.pl /usr/bin &&
|
|
cp catalog VERSION /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
|
cp dtds/decls/*.dcl \
|
|
/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &&
|
|
cp lib/dblib.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &&
|
|
cp common/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
|
cp common/*.ent /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &&
|
|
cp html/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &&
|
|
cp print/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &&
|
|
cp images/*.gif /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &&
|
|
install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
|
/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog &&
|
|
install-catalog --add /etc/sgml/sgml-docbook.cat \
|
|
/etc/sgml/dsssl-docbook-stylesheets.cat</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para>The above commands create a <command>make install</command> script
|
|
for this package.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>DocBook <acronym>DSSSL</acronym>
|
|
Stylesheets</application></title>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>The following configuration is necessary in order to utilize
|
|
<application>OpenJade</application> to convert the <acronym>BLFS</acronym>
|
|
Book from <acronym>XML</acronym> to <acronym>HTML</acronym>:</para>
|
|
|
|
<screen><userinput><command>ln -sf <replaceable>[your home directory]</replaceable>/BLFS/BOOK/blfs.dsl \
|
|
/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/</command></userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>DocBook <acronym>DSSSL</acronym>
|
|
Stylesheets</application> package contains <acronym>DSSSL</acronym>
|
|
stylesheets and <command>collateindex.pl</command>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>collateindex.pl</title>
|
|
<para><command>collateindex.pl</command> is a <application>Perl</application>
|
|
script that creates a DocBook index from raw index data.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|