summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/flat.xsl
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@debian.org>2014-04-26 15:11:58 +0200
committerLuca Falavigna <dktrkranz@debian.org>2014-04-26 15:11:58 +0200
commita3a0ab66f0da855e75e3a0e2acfb8aa106b46510 (patch)
tree5352edff1387c3d7e5a8b49ec56524f085c22782 /src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/flat.xsl
parent51fa4e4acb6fc8fc7a2af0fbdc21fd1e8feddb3a (diff)
parent140d836e9cd54fb67b969fd82ef7ed19ba574d40 (diff)
Merge tag 'upstream/2.3.1'
Upstream version 2.3.1
Diffstat (limited to 'src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/flat.xsl')
-rw-r--r--src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/flat.xsl70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/flat.xsl b/src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/flat.xsl
new file mode 100644
index 0000000..30fbf00
--- /dev/null
+++ b/src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/slides/html/flat.xsl
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:template match="/">
+ <html>
+ <head>
+ <title><xsl:value-of select="/slides/slidesinfo/title"/></title>
+ </head>
+ <body>
+ <xsl:apply-templates/>
+ </body>
+ </html>
+</xsl:template>
+
+<xsl:template match="slidesinfo">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <div id="{$id}" class="titlepage">
+ <div class="titlepage-body">
+ <xsl:call-template name="titlepage-body"/>
+ </div>
+ </div>
+</xsl:template>
+
+<xsl:template match="slides" mode="toc">
+ <!-- nop -->
+</xsl:template>
+
+<xsl:template match="foil">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <div class="{name(.)}" id="{$id}">
+ <div class="foil-body">
+ <xsl:call-template name="foil-body"/>
+ </div>
+ <xsl:call-template name="process.footnotes"/>
+ </div>
+</xsl:template>
+
+<xsl:template match="foilgroup">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <div class="{name(.)}" id="{$id}">
+ <div class="foilgroup-body">
+ <xsl:call-template name="foilgroup-body"/>
+ </div>
+ <xsl:call-template name="process.footnotes"/>
+ </div>
+
+ <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="author" mode="titlepage.mode">
+ <div class="{name(.)}">
+ <h2 class="{name(.)}"><xsl:call-template name="person.name"/></h2>
+ <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
+ <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+ </div>
+</xsl:template>
+
+</xsl:stylesheet>