From: <pau...@us...> - 2011-01-26 05:25:46
|
Author: paultremblay Date: 2011-01-26 06:25:39 +0100 (Wed, 26 Jan 2011) New Revision: 6686 Modified: trunk/sandbox/paultremblay/xsl_fo/body_elements.xsl Log: Added a template for doctest. Modified: trunk/sandbox/paultremblay/xsl_fo/body_elements.xsl =================================================================== --- trunk/sandbox/paultremblay/xsl_fo/body_elements.xsl 2011-01-26 05:24:35 UTC (rev 6685) +++ trunk/sandbox/paultremblay/xsl_fo/body_elements.xsl 2011-01-26 05:25:39 UTC (rev 6686) @@ -84,6 +84,19 @@ </fo:block> </xsl:template> + <xsl:template match="doctest_block"> + <fo:block xsl:use-attribute-sets="literal-block" role="doctest-block"><xsl:apply-templates/></fo:block> + </xsl:template> + + <xsl:template match="transition"> + <fo:block xsl:use-attribute-sets = "transition-block" role="transition"> + <!-- + <fo:inline><fo:leader leader-pattern="rule" leader-length="3in"/></fo:inline> + --> + <xsl:value-of select="$transition-text"/> + </fo:block> + </xsl:template> + <xsl:template match="document/subtitle"> <xsl:if test="$page-sequence-type = 'body' or $page-sequence-type='toc-body'"> <fo:block xsl:use-attribute-sets="document-subtitle-block" role="subtitle"> |