diff options
Diffstat (limited to 'stylesheets/pdf/lfs-pagesetup.xsl')
-rw-r--r-- | stylesheets/pdf/lfs-pagesetup.xsl | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/stylesheets/pdf/lfs-pagesetup.xsl b/stylesheets/pdf/lfs-pagesetup.xsl index df02c2616..bde498838 100644 --- a/stylesheets/pdf/lfs-pagesetup.xsl +++ b/stylesheets/pdf/lfs-pagesetup.xsl @@ -4,21 +4,21 @@ 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:attribute-set name="header.content.properties"> <xsl:attribute name="font-family"> <xsl:value-of select="$body.fontset"/> @@ -37,12 +37,12 @@ <xsl:choose> <xsl:when test="$gentext-key = 'book'"/> <xsl:otherwise> - <xsl:call-template name="header.content"/> + <xsl:call-template name="header.content"/> </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> @@ -71,7 +71,7 @@ </fo:block> </xsl:template> - <!-- Margins --> + <!-- Margins --> <xsl:param name="page.margin.inner">0.75in</xsl:param> <xsl:param name="page.margin.outer">0.75in</xsl:param> <xsl:param name="title.margin.left">-1pc</xsl:param> @@ -102,15 +102,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> |