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>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
|
||||
<para>
|
||||
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>.
|
||||
|
@ -388,15 +389,24 @@ sheets create
|
|||
class="directory">fo</filename> directory and put it in the Norman Walsh
|
||||
<filename class="directory">fo</filename> directory.
|
||||
</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">
|
||||
<prompt>bash$</prompt> <command> xsltproc -o <replaceable>HOWTO.html</replaceable> /usr/local/sgml/stylesheets/tldp-html.xsl <replaceable>HOWTO.xml</replaceable></command>
|
||||
</screen>
|
||||
|
||||
<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:
|
||||
</para>
|
||||
|
||||
<screen format="linespecific">
|
||||
<prompt>bash$ </prompt><command>xsltproc /usr/share/sgml/stylesheets/tldp-html-chunk.xsl <replaceable>HOWTO.xml</replaceable></command>
|
||||
</screen>
|
||||
|
@ -405,10 +415,7 @@ sheets create
|
|||
<filename>tldp-html-common.xsl</filename>. It is called by both of the
|
||||
other two style sheets.
|
||||
</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">
|
||||
<title>Changing CSS Files</title>
|
||||
<para>If you want your HTML files to use a specific
|
||||
|
|
Loading…
Reference in New Issue