xsl main-html-chunks.xsl, NONE, 1.1 main-html-nochunks.xsl, NONE, 1.1 redhat.xsl, 1.2, 1.3
Karsten Wade (kwade)
fedora-docs-commits at redhat.com
Mon May 30 19:23:14 UTC 2005
Author: kwade
Update of /cvs/docs/xsl
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27934
Modified Files:
redhat.xsl
Added Files:
main-html-chunks.xsl main-html-nochunks.xsl
Log Message:
Chunking and no chunking now supported. The original main-html.xsl is left alone, so old stuff shouldn't break. redhat.xsl has an unneccesary line dropped that broke the no chunkin g.
--- NEW FILE main-html-chunks.xsl ---
<!-- created by Tammy Fox tfox at redhat.com for the Fedora Project -->
<!-- License: GPL -->
<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
version="1.0"
exclude-result-prefixes="exsl">
<xsl:import href="redhat.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl"/>
<xsl:include href="html-common.xsl"/>
<!-- TOC -->
<xsl:param name="toc.section.depth">3</xsl:param>
<xsl:param name="section.autolabel" select="1" />
<xsl:param name="section.label.includes.component.label" select="1"></xsl:param>
<xsl:param name="generate.toc">
book toc,title,figure,table,example,equation
article toc
chapter nop
qandadiv toc
qandaset toc
sect1 nop
sect2 nop
sect3 nop
sect4 nop
sect5 nop
section nop
</xsl:param>
<!-- Navigation
<xsl:param name="navig.graphics" select="1"></xsl:param>
<xsl:param name="navig.graphics.extension" select="'.png'"></xsl:param>
<xsl:param name="navig.graphics.path">nav-images/</xsl:param>
<xsl:param name="navig.showtitles">1</xsl:param>
-->
<!-- multiple pages -->
<xsl:param name="onechunk" select="0"/>
<!-- utf-8 html pages -->
<xsl:param name="chunker.output.encoding">UTF-8</xsl:param>
<!-- indent html generated output -->
<xsl:param name="chunker.output.indent">yes</xsl:param>
</xsl:stylesheet>
--- NEW FILE main-html-nochunks.xsl ---
<!-- created by Tammy Fox tfox at redhat.com for the Fedora Project -->
<!-- License: GPL -->
<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
version="1.0"
exclude-result-prefixes="exsl">
<xsl:import href="redhat.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl"/>
<xsl:include href="html-common.xsl"/>
<!-- TOC -->
<xsl:param name="toc.section.depth">3</xsl:param>
<xsl:param name="section.autolabel" select="1" />
<xsl:param name="section.label.includes.component.label" select="1"></xsl:param>
<xsl:param name="generate.toc">
book toc,title,figure,table,example,equation
article toc
chapter nop
qandadiv toc
qandaset toc
sect1 nop
sect2 nop
sect3 nop
sect4 nop
sect5 nop
section nop
</xsl:param>
<!-- Navigation
<xsl:param name="navig.graphics" select="1"></xsl:param>
<xsl:param name="navig.graphics.extension" select="'.png'"></xsl:param>
<xsl:param name="navig.graphics.path">nav-images/</xsl:param>
<xsl:param name="navig.showtitles">1</xsl:param>
-->
<!-- one page -->
<xsl:param name="onechunk" select="1"/>
<!-- Generate UTF-8 html == only applies to the one chunk-->
<xsl:output method="html"
encoding="UTF-8"
indent="yes"/>
</xsl:stylesheet>
Index: redhat.xsl
===================================================================
RCS file: /cvs/docs/xsl/redhat.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- redhat.xsl 1 Oct 2003 19:02:56 -0000 1.2
+++ redhat.xsl 30 May 2005 19:23:12 -0000 1.3
@@ -7,7 +7,6 @@
version="1.0"
exclude-result-prefixes="exsl">
-<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl"/>
<!-- This sets the extension for HTML files to ".html". -->
<!-- (The stylesheet's default for XHTML files is ".xhtm".) -->
More information about the Fedora-docs-commits
mailing list