]> granicus.if.org Git - docbook-dsssl/commitdiff
Added support for foil/subtitle. Bookmarks in XEP can contain i18n characters.
authorJirka Kosek <jirka@kosek.cz>
Fri, 24 Sep 2004 17:23:09 +0000 (17:23 +0000)
committerJirka Kosek <jirka@kosek.cz>
Fri, 24 Sep 2004 17:23:09 +0000 (17:23 +0000)
slides/xsl/fo/plain.xsl

index 8233a3b760fb193517eea9392a7dacdfc60984c2..eadf42ffa8485533e1710d84f6c621e93b1f8507 100644 (file)
   </xsl:attribute>
 </xsl:attribute-set>
 
+<xsl:attribute-set name="foil.subtitle.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$slide.title.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="text-align">center</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$foil.title.master * 0.8"/><xsl:text>pt</xsl:text>
+  </xsl:attribute>
+  <xsl:attribute name="space-after">12pt</xsl:attribute>
+</xsl:attribute-set>
+
 <xsl:attribute-set name="foil.properties">
   <xsl:attribute name="font-family">
     <xsl:value-of select="$slide.font.family"/>
 
 <xsl:template match="foilinfo"/>
 <xsl:template match="foil/title"/>
+<xsl:template match="foil/subtitle">
+  <fo:block xsl:use-attribute-sets="foil.subtitle.properties">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
 <xsl:template match="foil/titleabbrev"/>
 
 <!-- ============================================================ -->
     <xsl:when test="parent::*">
       <rx:bookmark internal-destination="{$id}">
         <rx:bookmark-label>
-          <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/>
+          <xsl:value-of select="$bookmark-label"/>
         </rx:bookmark-label>
         <xsl:apply-templates select="*" mode="xep.outline"/>
       </rx:bookmark>
       <xsl:if test="$bookmark-label != ''">
         <rx:bookmark internal-destination="{$id}">
           <rx:bookmark-label>
-            <xsl:value-of select="translate($bookmark-label, $a-dia, $a-asc)"/>
+            <xsl:value-of select="$bookmark-label"/>
           </rx:bookmark-label>
         </rx:bookmark>
       </xsl:if>