Keynote Slides Steve Ball Zveno
zveno.com
$Id: default.xsl 3991 2004-11-10 06:51:55Z balls $ 2004 2003 Steve Ball, Zveno Pty Ltd Zveno Pty Ltd makes this software and associated documentation available free of charge for any purpose. You may make copies of the software but you must include all of this notice on any copy. Zveno Pty Ltd does not warrant that this software is error free or fit for any purpose. Zveno Pty Ltd disclaims any liability for all claims, expenses, losses, damages and costs any user may incur as a result of using, copying or modifying the software.
You must specify your slides document using the "slides" parameter </drawables> <transition-style type='inherited'/> <thumbnails> <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/> </thumbnails> <bullets> <bullet marker-type='inherited' level='0'> <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'> <xsl:apply-templates select='slidesinfo/title/node()'/> </content> </bullet> <xsl:choose> <xsl:when test='slidesinfo/subtitle'> <bullet marker-type='inherited' level='1'> <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'> <xsl:apply-templates select='slidesinfo/subtitle/node()' mode='slides'/> </content> </bullet> </xsl:when> <xsl:when test='slidesinfo/corpauthor'> <bullet marker-type='inherited' level='1'> <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'> <xsl:apply-templates select='slidesinfo/corpauthor/node()' mode='slides'/> </content> </bullet> </xsl:when> <xsl:when test='slidesinfo/author'> <bullet marker-type='inherited' level='1'> <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'> <xsl:apply-templates select='slidesinfo/author' mode='slides'/> </content> </bullet> </xsl:when> </xsl:choose> </bullets> <notes font-size='18' font-name='LucidaGrande'> <xsl:apply-templates select='slidesinfo/*[not(self::title|self::subtitle|self::corpauthor|self::author)]' mode='slides'/> </notes> </slide> <xsl:if test='foilgroup'> <xsl:call-template name='overview'/> </xsl:if> <xsl:apply-templates select='foilgroup|foil' mode='slides'/> </xsl:template> <xsl:template name='overview'> <xsl:param name='current' select='/'/> <slide id='overview-{generate-id()}' master-slide-id="{$masters/apxl:master-slide[@name=$overview-master]/@id}"> <drawables> <body visibility='tracks-master' vertical-alignment='tracks-master'/> <title visibility='tracks-master' vertical-alignment='tracks-master'/> <xsl:for-each select='ancestor-or-self::slides/foilgroup'> <textbox id='textbox-{position()}' grow-horizontally='true' transformation='1 0 0 1 {100 + floor((position() - 1) div 10) * 400} {200 + floor((position() - 1) mod 10) * 50}' size='200 50'> <content tab-stops='L 84' font-size='36' paragraph-alignment='left'> <xsl:attribute name='font-color'> <xsl:choose> <xsl:when test='generate-id() = generate-id($current)'> <xsl:text>1 0.5 0</xsl:text> </xsl:when> <xsl:otherwise>g1</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:apply-templates select='title' mode='slides'/> </content> </textbox> </xsl:for-each> </drawables> <transition-style type='inherited'/> <thumbnails> <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/> </thumbnails> <bullets> <bullet marker-type='inherited' level='0'> <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'>Overview</content> </bullet> </bullets> </slide> </xsl:template> <xsl:template match='author' mode='slides'> <xsl:apply-templates select='firstname/node()' mode='slides'/> <xsl:text> </xsl:text> <xsl:apply-templates select='surname/node()' mode='slides'/> </xsl:template> <xsl:template match='copyright' mode='slides'> <xsl:text>Copyright (c) </xsl:text> <xsl:value-of select='year'/> <xsl:text> </xsl:text> <xsl:apply-templates select='holder' mode='slides'/> <xsl:text>. </xsl:text> </xsl:template> <xsl:template match='foilgroup' mode='slides'> <xsl:variable name='number' select='count(preceding-sibling::foilgroup) + count(preceding::foil) + 1'/> <xsl:call-template name='overview'> <xsl:with-param name='current' select='.'/> </xsl:call-template> <slide id='foilgroup-{generate-id()}'> <xsl:attribute name='master-slide-id'> <xsl:choose> <xsl:when test='*[not(self::foil|self::foilgroupinfo|self::speakernotes)]'> <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/> </xsl:when> <xsl:otherwise> <xsl:value-of select='$masters/apxl:master-slide[@name=$foilgroup-master]/@id'/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <drawables> <title visibility='tracks-master' vertical-alignment='tracks-master'/> <body visibility='hidden' vertical-alignment='tracks-master'/> <xsl:call-template name='drawables'/> </drawables> <transition-style type='inherited'/> <thumbnails> <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/> </thumbnails> <bullets> <bullet marker-type='inherited' level='0'> <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'> <xsl:apply-templates select='title' mode='slides'/> </content> </bullet> <xsl:apply-templates select='itemizedlist/listitem' mode='slides'/> </bullets> <xsl:if test='speakernotes'> <notes font-size='18' font-name='LucidaGrande'> <xsl:apply-templates select='speakernotes/para[1]/node()' mode='slides'/> <xsl:for-each select='speakernotes/para[position() != 1]'> <xsl:text>; </xsl:text> <xsl:apply-templates select='node()' mode='slides'/> </xsl:for-each> </notes> </xsl:if> </slide> <xsl:apply-templates select='foil' mode='slides'/> </xsl:template> <xsl:template match='foil' mode='slides'> <xsl:variable name='number' select='count(preceding::foilgroup) + count(preceding::foil) + count(preceding-sibling::foil) + 1'/> <slide id='foil-{generate-id()}'> <xsl:attribute name='master-slide-id'> <xsl:choose> <xsl:when test='imageobject'> <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/> </xsl:when> <xsl:when test='itemizedlist[.//imageobject]'> <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-and-image-master]/@id'/> </xsl:when> <xsl:when test='itemizedlist'> <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-master]/@id'/> </xsl:when> <xsl:when test='example|informalexample'> <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/> </xsl:when> <xsl:otherwise> <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-master]/@id'/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <drawables> <body visibility='tracks-master' vertical-alignment='tracks-master'/> <title visibility='tracks-master' vertical-alignment='tracks-master'/> <xsl:call-template name='drawables'/> </drawables> <transition-style type='inherited'/> <thumbnails> <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/> </thumbnails> <bullets> <bullet marker-type='inherited' level='0'> <content tab-stops='L 96' font-size='64' font-color='g1' font-name='GillSans' paragraph-alignment='inherited'> <!-- <xsl:apply-templates select='../title' mode='slides'/> <xsl:text>: </xsl:text> --> <xsl:apply-templates select='title' mode='slides'/> </content> </bullet> <xsl:apply-templates select='itemizedlist/listitem' mode='slides'/> </bullets> <xsl:if test='speakernotes'> <notes font-size='18' font-name='LucidaGrande'> <xsl:apply-templates select='speakernotes/para[1]/node()' mode='slides'/> <xsl:for-each select='speakernotes/para[position() != 1]'> <xsl:text>; </xsl:text> <xsl:apply-templates select='node()' mode='slides'/> </xsl:for-each> </notes> </xsl:if> </slide> </xsl:template> <doc:template xmlns=''> <title>drawables Template This template adds objects to the drawables section of a foil. These include images, as well as unadorned (non-bullet) text. A single image is placed centered on the foil. An image on a foil that contains other text is placed on the right-hand-side. 1.0 video/quicktime {800, 400} {0, 300} {150, 300} {0, 200} {150, 200} ]]> ]]> <![CDATA[ GillSans-Italic GillSans " ]]> ]] > < < ]]> ]] > 20 0 AmericanTypewriter-CondensedBoldItalic GillSans-BoldItalic AmericanTypewriter-CondensedItalic GillSans-Italic AmericanTypewriter-CondensedBold GillSans-Bold