diff options
Diffstat (limited to 'stylesheets/lfs-xsl/pdf/lfs-mixed.xsl')
-rw-r--r-- | stylesheets/lfs-xsl/pdf/lfs-mixed.xsl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl b/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl index 99fcc4092..4a0647f74 100644 --- a/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl +++ b/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl @@ -99,9 +99,32 @@ $Date$ <xsl:when test="$keep.together != ''"> <xsl:value-of select="$keep.together"/> </xsl:when> + +<!-- The following section has been modified by Martin Miehe. Page breaks + should be allowed within the long script listings in the appendices. + <xsl:otherwise>always</xsl:otherwise> +--> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="ancestor::appendix">auto</xsl:when> + <xsl:otherwise>always</xsl:otherwise> + </xsl:choose> + </xsl:otherwise> +<!-- End of modification --> + </xsl:choose> </xsl:attribute> + +<!-- The following lines were inserted by Martin Miehe. Scripts and rules + in the appendices should have a smaller font-size so that at least + 80 characters fit to one line. --> + + <xsl:if test="ancestor::appendix"> <!-- name(/) != appendix" --> + <xsl:attribute name="font-size">10pt</xsl:attribute> + </xsl:if> +<!-- End of insertion. --> + <xsl:apply-imports/> </fo:block> </xsl:template> |