diff options
Diffstat (limited to 'stylesheets/print/lfs-pagesetup.xsl')
-rw-r--r-- | stylesheets/print/lfs-pagesetup.xsl | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/stylesheets/print/lfs-pagesetup.xsl b/stylesheets/print/lfs-pagesetup.xsl index 38f686a79..808fe9465 100644 --- a/stylesheets/print/lfs-pagesetup.xsl +++ b/stylesheets/print/lfs-pagesetup.xsl @@ -4,24 +4,24 @@ xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> - <!-- Force section1's onto a new page --> + <!-- Force section1's onto a new page --> <xsl:attribute-set name="section.level1.properties"> - <xsl:attribute name="break-after"> - <xsl:choose> - <xsl:when test="not(position()=last())"> - <xsl:text>page</xsl:text> - </xsl:when> + <xsl:attribute name="break-after"> + <xsl:choose> + <xsl:when test="not(position()=last())"> + <xsl:text>page</xsl:text> + </xsl:when> <xsl:otherwise> - <xsl:text>auto</xsl:text> + <xsl:text>auto</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:attribute> </xsl:attribute-set> - <!-- Header --> + <!-- Header --> <xsl:template name="header.content"> - <xsl:param name="sequence" select="''"/> - <fo:block> + <xsl:param name="sequence" select="''"/> + <fo:block> <xsl:attribute name="text-align"> <xsl:choose> <xsl:when test="$sequence = 'first' or $sequence = 'odd'">right</xsl:when> @@ -35,19 +35,19 @@ </xsl:template> <xsl:template name="header.table"> - <xsl:param name="sequence" select="''"/> + <xsl:param name="sequence" select="''"/> <xsl:param name="gentext-key" select="''"/> <xsl:choose> <xsl:when test="$gentext-key = 'book' or $sequence = 'blank'"/> <xsl:otherwise> - <xsl:call-template name="header.content"> - <xsl:with-param name="sequence" select="$sequence"/> - </xsl:call-template> + <xsl:call-template name="header.content"> + <xsl:with-param name="sequence" select="$sequence"/> + </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> - <!-- Centered titles for book and part --> + <!-- Centered titles for book and part --> <xsl:template name="book.titlepage"> <fo:block space-before="2in"> <fo:block> @@ -76,7 +76,7 @@ </fo:block> </xsl:template> - <!-- Margins --> + <!-- Margins --> <xsl:param name="page.margin.inner">1in</xsl:param> <xsl:param name="page.margin.outer">0.5in</xsl:param> <xsl:param name="title.margin.left">-1pc</xsl:param> @@ -107,15 +107,15 @@ <xsl:attribute name="space-after.maximum">1em</xsl:attribute> </xsl:attribute-set> - <!-- Others--> + <!-- Others--> <xsl:param name="header.rule" select="0"></xsl:param> <xsl:param name="footer.rule" select="0"></xsl:param> - <xsl:param name="marker.section.level" select="-1"></xsl:param> + <xsl:param name="marker.section.level" select="-1"></xsl:param> - <!-- Dropping a blank page --> - <xsl:template name="book.titlepage.separator"/> + <!-- Dropping a blank page --> + <xsl:template name="book.titlepage.separator"/> - <!-- How render a variablelist --> - <xsl:param name="variablelist.as.blocks" select="1"/> + <!-- How render a variablelist --> + <xsl:param name="variablelist.as.blocks" select="1"/> </xsl:stylesheet> |