mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
a4acd46325
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1384 af4574ff-66df-0310-9fd7-8a98e5e911e0
33 lines
1.6 KiB
XML
33 lines
1.6 KiB
XML
<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>
|
|
|
|
<para>If you would like to test <application>Docbook <acronym>XML</acronym>
|
|
<acronym>DTD</acronym></application>, <application>DocBook
|
|
<acronym>DSSSL</acronym> Stylesheets</application> and
|
|
<application>OpenJade</application> against the <acronym>BLFS</acronym> book,
|
|
use the following command. The commands are written for a
|
|
<application><acronym>CVS</acronym></application> checkout to your home
|
|
directory with output going to the present working directory, so make any
|
|
necessary modifications for your setup.
|
|
<screen><userinput><command>mkdir introduction postlfs general connect basicnet server \
|
|
content x kde gnome xsoft multimedia pst preface appendices other &&
|
|
openjade -t sgml \
|
|
-d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/blfs.dsl \
|
|
/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls/xml.dcl \
|
|
~/BLFS/BOOK/index.xml</command></userinput></screen>
|
|
If successful you should have a <acronym>HTML</acronym>
|
|
<acronym>BLFS</acronym> book in exactly the same
|
|
format as presented on the web page.</para>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|