From: <pau...@us...> - 2011-01-24 06:01:06
|
Author: paultremblay Date: 2011-01-24 07:00:59 +0100 (Mon, 24 Jan 2011) New Revision: 6665 Modified: trunk/sandbox/paultremblay/xsl_fo/bibliographic_fields.xsl trunk/sandbox/paultremblay/xsl_fo/error.xsl trunk/sandbox/paultremblay/xsl_fo/header_footer.xsl trunk/sandbox/paultremblay/xsl_fo/parameters.xsl Log: Small changes, including moving a small template, adding comments, and adding a parameter that was later commented out, and a test for that parameter that was also commented out. Modified: trunk/sandbox/paultremblay/xsl_fo/bibliographic_fields.xsl =================================================================== --- trunk/sandbox/paultremblay/xsl_fo/bibliographic_fields.xsl 2011-01-24 05:58:01 UTC (rev 6664) +++ trunk/sandbox/paultremblay/xsl_fo/bibliographic_fields.xsl 2011-01-24 06:00:59 UTC (rev 6665) @@ -7,6 +7,8 @@ <!-- $Id$ --> + <!--the automatic page break creates problems for simple page + layouts when no page break should occurr--> <xsl:attribute-set name="bibliographic-fields-list-block" > <xsl:attribute name="start-indent">0mm</xsl:attribute> <xsl:attribute name="provisional-distance-between-starts">30mm</xsl:attribute> @@ -49,6 +51,7 @@ </xsl:if> </xsl:template> + <!--FIX this. make it so this template produces a page break, but the other doesn't--> <xsl:template match="docinfo" mode="front"> <xsl:call-template name="docinfo"/> </xsl:template> Modified: trunk/sandbox/paultremblay/xsl_fo/error.xsl =================================================================== --- trunk/sandbox/paultremblay/xsl_fo/error.xsl 2011-01-24 05:58:01 UTC (rev 6664) +++ trunk/sandbox/paultremblay/xsl_fo/error.xsl 2011-01-24 06:00:59 UTC (rev 6665) @@ -46,6 +46,17 @@ <xsl:text>Processing XSLT now quiting.</xsl:text> </xsl:message> </xsl:if> + <!-- + <xsl:if test= "$document-title != 'own-page' and $document-title != 'not-own-page'"> + <xsl:message terminate = "yes"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$option-list-format"/> + <xsl:text>" not a valid value for parm "document-title"
</xsl:text> + <xsl:text>Valid values are 'own-page', and 'not-own-page'
</xsl:text> + <xsl:text>Processing XSLT now quiting.</xsl:text> + </xsl:message> + </xsl:if> + --> </xsl:template> <xsl:template match="*"> @@ -61,7 +72,7 @@ </xsl:when> <xsl:otherwise> <xsl:message> - <xsl:text>Not processing test in this element.</xsl:text> + <xsl:text>Not processing text in this element.</xsl:text> </xsl:message> </xsl:otherwise> </xsl:choose> Modified: trunk/sandbox/paultremblay/xsl_fo/header_footer.xsl =================================================================== --- trunk/sandbox/paultremblay/xsl_fo/header_footer.xsl 2011-01-24 05:58:01 UTC (rev 6664) +++ trunk/sandbox/paultremblay/xsl_fo/header_footer.xsl 2011-01-24 06:00:59 UTC (rev 6665) @@ -171,4 +171,6 @@ </fo:block> </xsl:template> + <xsl:template match="decoration/header|decoration/footer"/> + </xsl:stylesheet> Modified: trunk/sandbox/paultremblay/xsl_fo/parameters.xsl =================================================================== --- trunk/sandbox/paultremblay/xsl_fo/parameters.xsl 2011-01-24 05:58:01 UTC (rev 6664) +++ trunk/sandbox/paultremblay/xsl_fo/parameters.xsl 2011-01-24 06:00:59 UTC (rev 6665) @@ -73,6 +73,11 @@ <xsl:param name="toc-pagination">own-section</xsl:param> <!--Note: utils.xsl has the code for the variable page-sequence-type--> +<!--whether to put title on its own page Acceptable values are 'own-page' or not-own-page--> +<!--decided not to use this after all +<xsl:param name="document-title">own-page</xsl:param> +--> + <!--the default to use for a bullet list, rather than what the user specifies--> <xsl:param name="bullet-text">•</xsl:param> |