story_print.xsl
branchstyles
changeset 4 301b54644bfa
parent 0 08de8d15f932
child 10 5bba8548413e
equal deleted inserted replaced
3:6e7e05c2ded6 4:301b54644bfa
    61     <xsl:call-template name="master-set"/>
    61     <xsl:call-template name="master-set"/>
    62     <xsl:apply-templates select="section"/>
    62     <xsl:apply-templates select="section"/>
    63   </root>
    63   </root>
    64 </xsl:template>
    64 </xsl:template>
    65 
    65 
    66 <xsl:template match="/book/section">
    66 <xsl:template match="/book/section|/book/preamble|/book/addendum">
    67   <page-sequence master-reference="book-sequence">
    67   <page-sequence master-reference="book-sequence">
    68     <xsl:call-template name="static-content">
    68     <xsl:call-template name="static-content">
    69       <xsl:with-param name="title">
    69       <xsl:with-param name="title">
    70         <xsl:apply-templates select="title"/>
    70         <xsl:apply-templates select="title"/>
    71       </xsl:with-param>
    71       </xsl:with-param>
   126   </block>
   126   </block>
   127 </xsl:template>
   127 </xsl:template>
   128 
   128 
   129 <!-- dialog template -->
   129 <!-- dialog template -->
   130 <xsl:template match="dialog">
   130 <xsl:template match="dialog">
   131   <block xsl:use-attribute-sets="standard-block" start-indent="1cm">
   131   <block xsl:use-attribute-sets="standard-block"
       
   132 	 margin-left=".5in" margin-right=".5in">
   132     <xsl:apply-templates/>
   133     <xsl:apply-templates/>
   133   </block>
   134   </block>
   134 </xsl:template>
   135 </xsl:template>
   135 <xsl:template match="cite">
   136 <xsl:template match="cite">
   136   <block xsl:use-attribute-sets="standard-block" font-style="italic">
   137   <block xsl:use-attribute-sets="standard-block"
       
   138 	 font-style="italic">
   137     <xsl:text>"</xsl:text>
   139     <xsl:text>"</xsl:text>
   138     <xsl:apply-templates/>
   140     <xsl:apply-templates/>
   139     <xsl:text>"</xsl:text>
   141     <xsl:text>"</xsl:text>
   140   </block>
   142   </block>
   141 </xsl:template>
   143 </xsl:template>
   142 
   144 
   143 <xsl:template match="citation">
   145 <xsl:template match="citation">
   144   <block xsl:use-attribute-sets="standard-block" font-style="italic"
   146   <block xsl:use-attribute-sets="standard-block" font-style="italic"
   145          font-size="75%" margin-left="4in">
   147          font-size="90%" margin-left="4in">
   146     <xsl:apply-templates/>
   148     <xsl:apply-templates/>
   147   </block>
   149   </block>
   148 </xsl:template>
   150 </xsl:template>
   149 
   151 
   150 <xsl:template match="poem">
   152 <xsl:template match="poem">
   163 <xsl:template match="verse">
   165 <xsl:template match="verse">
   164   <block><xsl:apply-templates/></block>
   166   <block><xsl:apply-templates/></block>
   165 </xsl:template>
   167 </xsl:template>
   166 
   168 
   167 </xsl:stylesheet>
   169 </xsl:stylesheet>
   168 
       
   169 <!-- Keep this comment at the end of the file
       
   170 Local variables:
       
   171 mode: xml
       
   172 sgml-omittag:nil
       
   173 sgml-shorttag:nil
       
   174 sgml-namecase-general:nil
       
   175 sgml-general-insert-case:lower
       
   176 sgml-minimize-attributes:nil
       
   177 sgml-always-quote-attributes:t
       
   178 sgml-indent-step:2
       
   179 sgml-indent-data:nil
       
   180 sgml-parent-document:nil
       
   181 sgml-exposed-tags:nil
       
   182 sgml-local-catalogs:nil
       
   183 sgml-local-ecat-files:nil
       
   184 outline-regexp:"<xsl:"
       
   185 End:
       
   186 -->