mirror of https://github.com/tLDP/LDP
More updates re. capabilities of TLDP XSL style sheets.
This commit is contained in:
parent
aa52c493de
commit
066d88858d
|
@ -373,6 +373,7 @@ sheets create
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
You can find the latest copy of the files at <ulink
|
You can find the latest copy of the files at <ulink
|
||||||
url="http://my.core.com/~dhorton/docbook/tldp-xsl/">http://my.core.com/~dhorton/docbook/tldp-xsl/</ulink>.
|
url="http://my.core.com/~dhorton/docbook/tldp-xsl/">http://my.core.com/~dhorton/docbook/tldp-xsl/</ulink>.
|
||||||
|
@ -388,15 +389,24 @@ sheets create
|
||||||
class="directory">fo</filename> directory and put it in the Norman Walsh
|
class="directory">fo</filename> directory and put it in the Norman Walsh
|
||||||
<filename class="directory">fo</filename> directory.
|
<filename class="directory">fo</filename> directory.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Once you have installed these files you can use
|
||||||
|
<application>xsltproc</application> to generate HTML files from your
|
||||||
|
XML documents. To transform your XML file(s) into a single-page HTML
|
||||||
|
document use the following command:
|
||||||
|
</para>
|
||||||
|
|
||||||
<screen format="linespecific">
|
<screen format="linespecific">
|
||||||
<prompt>bash$</prompt> <command> xsltproc -o <replaceable>HOWTO.html</replaceable> /usr/local/sgml/stylesheets/tldp-html.xsl <replaceable>HOWTO.xml</replaceable></command>
|
<prompt>bash$</prompt> <command> xsltproc -o <replaceable>HOWTO.html</replaceable> /usr/local/sgml/stylesheets/tldp-html.xsl <replaceable>HOWTO.xml</replaceable></command>
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
<para>To generate a set of linked HTML pages, with a separate page for each
|
<para>To generate a set of linked HTML pages, with a separate page for each
|
||||||
<![CDATA[<chapter>, <sect1> or <appendix>]]> tag, use the following
|
<sgmltag>chapter</sgmltag>, <sgmltag>sect1</sgmltag> or
|
||||||
|
<sgmltag>appendix</sgmltag>, use the following
|
||||||
command:
|
command:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen format="linespecific">
|
<screen format="linespecific">
|
||||||
<prompt>bash$ </prompt><command>xsltproc /usr/share/sgml/stylesheets/tldp-html-chunk.xsl <replaceable>HOWTO.xml</replaceable></command>
|
<prompt>bash$ </prompt><command>xsltproc /usr/share/sgml/stylesheets/tldp-html-chunk.xsl <replaceable>HOWTO.xml</replaceable></command>
|
||||||
</screen>
|
</screen>
|
||||||
|
@ -405,10 +415,7 @@ sheets create
|
||||||
<filename>tldp-html-common.xsl</filename>. It is called by both of the
|
<filename>tldp-html-common.xsl</filename>. It is called by both of the
|
||||||
other two style sheets.
|
other two style sheets.
|
||||||
</para>
|
</para>
|
||||||
<para>At the current time, the print style sheet, <filename>tldp-print.xsl</filename>
|
|
||||||
has not been developed and provides no additional functions or
|
|
||||||
customizations to the standard DocBook XSL style sheets.
|
|
||||||
</para>
|
|
||||||
<section id="xsl-css">
|
<section id="xsl-css">
|
||||||
<title>Changing CSS Files</title>
|
<title>Changing CSS Files</title>
|
||||||
<para>If you want your HTML files to use a specific
|
<para>If you want your HTML files to use a specific
|
||||||
|
|
Loading…
Reference in New Issue