summaryrefslogtreecommitdiffstats
path: root/xsl
diff options
context:
space:
mode:
authorKarsten Wade <kwade@redhat.com>2005-05-30 19:23:12 +0000
committerKarsten Wade <kwade@redhat.com>2005-05-30 19:23:12 +0000
commit5237d8a4e88f93e0fa116cf4385f1058905104e8 (patch)
tree5c8fe190e9efef1b0e3c083a34e3aca1dda3e053 /xsl
parentc44e20cf7c41638a329187b3b86099a6e0832225 (diff)
downloadfedora-doc-utils-5237d8a4e88f93e0fa116cf4385f1058905104e8.tar.gz
fedora-doc-utils-5237d8a4e88f93e0fa116cf4385f1058905104e8.tar.xz
fedora-doc-utils-5237d8a4e88f93e0fa116cf4385f1058905104e8.zip
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.
Diffstat (limited to 'xsl')
-rw-r--r--xsl/main-html-chunks.xsl49
-rw-r--r--xsl/main-html-nochunks.xsl47
2 files changed, 96 insertions, 0 deletions
diff --git a/xsl/main-html-chunks.xsl b/xsl/main-html-chunks.xsl
new file mode 100644
index 0000000..29540a4
--- /dev/null
+++ b/xsl/main-html-chunks.xsl
@@ -0,0 +1,49 @@
+<!-- created by Tammy Fox tfox@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>
diff --git a/xsl/main-html-nochunks.xsl b/xsl/main-html-nochunks.xsl
new file mode 100644
index 0000000..02cd389
--- /dev/null
+++ b/xsl/main-html-nochunks.xsl
@@ -0,0 +1,47 @@
+<!-- created by Tammy Fox tfox@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>