summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vesik <sander.vesik@sun.com>2002-09-16 19:39:57 +0000
committerSander Vesik <sander@src.gnome.org>2002-09-16 19:39:57 +0000
commit0fb4cf5a555499f1b9172b9f3380d75a3bafd9ba (patch)
tree4590f3edac6683580cff6888445e1c7e65852b1a
parent2140e5496401cfc99dda1fa34145410039f4fa5f (diff)
downloadyelp-0fb4cf5a555499f1b9172b9f3380d75a3bafd9ba.tar.gz
- initial support for <appendix> chunks
2002-09-16 Sander Vesik <sander.vesik@sun.com> * stylesheets/yelp-customization.xsl: - initial support for <appendix> chunks
-rw-r--r--ChangeLog5
-rw-r--r--stylesheets/yelp-customization.xsl12
2 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4162b840..c5428aff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2002-09-16 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl:
+ - initial support for <appendix>
+
+2002-09-16 Sander Vesik <sander.vesik@sun.com>
+
+ * stylesheets/yelp-customization.xsl:
- unindent copyright
- leave space inbetween the 'Copyright' header and copyright
holders
diff --git a/stylesheets/yelp-customization.xsl b/stylesheets/yelp-customization.xsl
index 233beee7..30a3a993 100644
--- a/stylesheets/yelp-customization.xsl
+++ b/stylesheets/yelp-customization.xsl
@@ -491,11 +491,23 @@
<xsl:comment> End of chunk </xsl:comment>
</xsl:for-each>
+<xsl:for-each select="$root/part/appendix">
+ <xsl:comment> Start of chunk: [<xsl:value-of select="@id"/>] </xsl:comment>
+ <xsl:call-template name="component.toc"/>
+ <xsl:comment> End of chunk </xsl:comment>
+</xsl:for-each>
+
<xsl:for-each select="$root/chapter">
<xsl:comment> Start of chunk: [<xsl:value-of select="@id"/>] </xsl:comment>
<xsl:call-template name="component.toc"/>
<xsl:comment> End of chunk </xsl:comment>
</xsl:for-each>
+
+<xsl:for-each select="$root/appendix">
+ <xsl:comment> Start of chunk: [<xsl:value-of select="@id"/>] </xsl:comment>
+ <xsl:call-template name="component.toc"/>
+ <xsl:comment> End of chunk </xsl:comment>
+</xsl:for-each>
</xsl:template>
<xsl:template name="yelp.multichunk">