poetry_print.xsl
branchstyles
changeset 21 ce4faf661fca
parent 15 27a2a404231e
equal deleted inserted replaced
18:46073a2f0e2d 21:ce4faf661fca
    64 	<xsl:with-param name="title">
    64 	<xsl:with-param name="title">
    65 	  <xsl:apply-templates select="descendant::title[1]"/>
    65 	  <xsl:apply-templates select="descendant::title[1]"/>
    66 	</xsl:with-param>
    66 	</xsl:with-param>
    67       </xsl:call-template>
    67       </xsl:call-template>
    68       <xsl:variable name="id">
    68       <xsl:variable name="id">
    69 	<xsl:call-template name="get-id"/>
    69 	    <xsl:call-template name="get-id"/>
    70       </xsl:variable>
    70       </xsl:variable>
    71       <flow flow-name="xsl-region-body">
    71       <flow flow-name="xsl-region-body">
    72 	<block id="{$id}"/>
    72 	    <block id="{$id}"/>
    73 	<xsl:apply-templates select="*[name(.)!='section']"/>
    73 	    <xsl:apply-templates select="*[name(.)!='section']"/>
       
    74         <block space-before="4pt">
       
    75           <inline font-weight="bold">Table des matières</inline>
       
    76           <list-block provisional-distance-between-starts="5mm">
       
    77             <xsl:apply-templates select="section|story|poetry" mode="toc"/>
       
    78           </list-block>
       
    79         </block>
    74       </flow>
    80       </flow>
    75     </page-sequence>
    81     </page-sequence>
    76     <xsl:apply-templates select="section"/> 
    82     <xsl:apply-templates select="section"/> 
    77   </root>
    83   </root>
    78 </xsl:template>
    84 </xsl:template>