summaryrefslogtreecommitdiff
path: root/slides/fo/plain-titlepage.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'slides/fo/plain-titlepage.xsl')
-rw-r--r--slides/fo/plain-titlepage.xsl67
1 files changed, 15 insertions, 52 deletions
diff --git a/slides/fo/plain-titlepage.xsl b/slides/fo/plain-titlepage.xsl
index 7511129..f79cf81 100644
--- a/slides/fo/plain-titlepage.xsl
+++ b/slides/fo/plain-titlepage.xsl
@@ -7,31 +7,31 @@
<xsl:template name="slides.titlepage.recto">
<xsl:choose>
<xsl:when test="slidesinfo/title">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/title[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/title"/>
</xsl:when>
<xsl:when test="docinfo/title">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/title[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/title"/>
</xsl:when>
<xsl:when test="info/title">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/title[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/title"/>
</xsl:when>
<xsl:when test="title">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="title[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="title"/>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="slidesinfo/subtitle">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/subtitle[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/subtitle"/>
</xsl:when>
<xsl:when test="docinfo/subtitle">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/subtitle[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
</xsl:when>
<xsl:when test="info/subtitle">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/subtitle[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/subtitle"/>
</xsl:when>
<xsl:when test="subtitle">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="subtitle[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="subtitle"/>
</xsl:when>
</xsl:choose>
@@ -47,18 +47,6 @@
<xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/pubdate"/>
<xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
<xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/pubdate"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/confgroup"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/confgroup"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/confgroup"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/releaseinfo"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/releaseinfo"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/copyright"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/copyright"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/copyright"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/revision"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/revision"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/revision"/>
</xsl:template>
<xsl:template name="slides.titlepage.verso">
@@ -122,63 +110,38 @@
</xsl:template>
<xsl:template match="title" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center" space-after="1em" padding-top="1.5in" keep-with-next="always" font-size="{$foil.title.size}" font-weight="bold" font-family="{$slide.title.font.family}">
-<xsl:call-template name="component.title">
-<xsl:with-param name="node" select="ancestor-or-self::slides[1]"/>
+<block xsl:use-attribute-sets="slides.titlepage.title.properties">
+<xsl:call-template name="presentation.title">
</xsl:call-template>
</block>
</xsl:template>
<xsl:template match="subtitle" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center" space-after="1em" font-family="{$slide.title.font.family}">
+<block xsl:use-attribute-sets="slides.titlepage.subtitle.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
<xsl:template match="corpauthor" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="20.736pt" text-align="center" space-after="1em">
+<block xsl:use-attribute-sets="slides.titlepage.corpauthor.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
<xsl:template match="authorgroup" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style">
+<block xsl:use-attribute-sets="slides.titlepage.authorgroup.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
<xsl:template match="author" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="20.736pt" text-align="center" space-after="1em">
+<block xsl:use-attribute-sets="slides.titlepage.author.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
<xsl:template match="pubdate" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
-<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
-</block>
-</xsl:template>
-
-<xsl:template match="confgroup" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
-<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
-</block>
-</xsl:template>
-
-<xsl:template match="releaseinfo" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
-<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
-</block>
-</xsl:template>
-
-<xsl:template match="copyright" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center">
-<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
-</block>
-</xsl:template>
-
-<xsl:template match="revision" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center">
+<block xsl:use-attribute-sets="slides.titlepage.pubdate.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>