From: <pau...@us...> - 2011-01-26 02:47:56
|
Author: paultremblay Date: 2011-01-26 03:47:48 +0100 (Wed, 26 Jan 2011) New Revision: 6679 Added: trunk/sandbox/paultremblay/docs/xsl/line_block.xsl Modified: trunk/sandbox/paultremblay/docs/xsl/document_stylesheet.xsl Log: Documentation for the attribute sets for line_block. Modified: trunk/sandbox/paultremblay/docs/xsl/document_stylesheet.xsl =================================================================== --- trunk/sandbox/paultremblay/docs/xsl/document_stylesheet.xsl 2011-01-26 02:31:07 UTC (rev 6678) +++ trunk/sandbox/paultremblay/docs/xsl/document_stylesheet.xsl 2011-01-26 02:47:48 UTC (rev 6679) @@ -18,6 +18,7 @@ <xsl:include href="option_list.xsl"/> <xsl:include href="definition_list.xsl"/> <xsl:include href="field_list.xsl"/> + <xsl:include href="line_block.xsl"/> <xsl:include href="inline.xsl"/> <xsl:include href="comment.xsl"/> <xsl:include href="utils.xsl"/> @@ -178,6 +179,17 @@ </block> <xsl:apply-templates select="document('../../xsl_fo/option_list.xsl')/xsl:stylesheet"/> + <!--line-block attribute sets--> + <xsl:call-template name="make-title"> + <xsl:with-param name="level">3</xsl:with-param> + <xsl:with-param name="text">Line Block</xsl:with-param> + </xsl:call-template> + <block> + Attribute sets for the line block. + </block> + <xsl:apply-templates select="document('../../xsl_fo/line_block.xsl')/xsl:stylesheet"/> + + <!--option-inline attribute sets--> <xsl:call-template name="make-title"> <xsl:with-param name="level">3</xsl:with-param> Added: trunk/sandbox/paultremblay/docs/xsl/line_block.xsl =================================================================== --- trunk/sandbox/paultremblay/docs/xsl/line_block.xsl (rev 0) +++ trunk/sandbox/paultremblay/docs/xsl/line_block.xsl 2011-01-26 02:47:48 UTC (rev 6679) @@ -0,0 +1,71 @@ +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version="1.1"> + + <!-- $Id$ --> + + <xsl:template match= "xsl:attribute-set[@name='outer-line-block']" priority="3"> + <xsl:call-template name="before-desc"> + <xsl:with-param name="fo">fo:block</xsl:with-param> + <xsl:with-param name="docutils">line_block</xsl:with-param> + </xsl:call-template> + <block> + The outer block containing the blocks of lines. Use the outer block to + set space before or after the verse. + </block> + </xsl:template> + + <xsl:template match= "xsl:attribute-set[@name='level1-line-block']" priority="3"> + <xsl:call-template name="before-desc"> + <xsl:with-param name="fo">fo:block</xsl:with-param> + <xsl:with-param name="docutils">line_block/line</xsl:with-param> + </xsl:call-template> + <block> + Attribute sets for the first level of lines. + </block> + </xsl:template> + + <xsl:template match= "xsl:attribute-set[@name='level2-line-block']" priority="3"> + <xsl:call-template name="before-desc"> + <xsl:with-param name="fo">fo:block</xsl:with-param> + <xsl:with-param name="docutils">line_block/line_block/line</xsl:with-param> + </xsl:call-template> + <block> + Attribute sets for the second level of lines. + </block> + </xsl:template> + + <xsl:template match= "xsl:attribute-set[@name='level3-line-block']" priority="3"> + <xsl:call-template name="before-desc"> + <xsl:with-param name="fo">fo:block</xsl:with-param> + <xsl:with-param name="docutils">line_block/line_block/line_block/line</xsl:with-param> + </xsl:call-template> + <block> + Attribute sets for the third level of lines. + </block> + </xsl:template> + + <xsl:template match= "xsl:attribute-set[@name='level4-line-block']" priority="3"> + <xsl:call-template name="before-desc"> + <xsl:with-param name="fo">fo:block</xsl:with-param> + <xsl:with-param name="docutils">line_block/line_block/line_block/line_block/line</xsl:with-param> + </xsl:call-template> + <block> + Attribute sets for the fourth level of lines. + </block> + </xsl:template> + + <xsl:template match= "xsl:attribute-set[@name='level5-line-block']" priority="3"> + <xsl:call-template name="before-desc"> + <xsl:with-param name="fo">fo:block</xsl:with-param> + <xsl:with-param name="docutils">line_block/line_block/line_block/line_block/line_block/line</xsl:with-param> + </xsl:call-template> + <block> + Attribute sets for the fifth level of lines. + </block> + </xsl:template> + + + +</xsl:stylesheet> Property changes on: trunk/sandbox/paultremblay/docs/xsl/line_block.xsl ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native |