aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/print
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-19 20:16:58 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-19 20:16:58 +0000
commita9e89d0c26b67d4f4ad136be1f701665c7b04c72 (patch)
treedcb6fb3d304753460d6f275ac3e3d9b74a2896a2 /stylesheets/print
parent28501c71298af5866445fa8c8dd6e71f61287271 (diff)
HEAD: StyleSheets - unified the identation to use spaces.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/print')
-rw-r--r--stylesheets/print/lfs-index.xsl18
-rw-r--r--stylesheets/print/lfs-pagesetup.xsl44
2 files changed, 31 insertions, 31 deletions
diff --git a/stylesheets/print/lfs-index.xsl b/stylesheets/print/lfs-index.xsl
index cf216e6b7..7cffd5328 100644
--- a/stylesheets/print/lfs-index.xsl
+++ b/stylesheets/print/lfs-index.xsl
@@ -12,11 +12,11 @@
<!--Title-->
<xsl:template match="index" mode="title.markup">
- <xsl:param name="allow-anchors" select="0"/>
+ <xsl:param name="allow-anchors" select="0"/>
<xsl:text>Index of packages and important installed files</xsl:text>
- </xsl:template>
+ </xsl:template>
- <!-- Divisions-->
+ <!-- Divisions-->
<xsl:template match="indexterm" mode="index-div">
<xsl:param name="scope" select="."/>
<xsl:variable name="key"
@@ -63,17 +63,17 @@
</xsl:if>
</xsl:template>
- <!-- The separator -->
+ <!-- The separator -->
<xsl:template match="indexterm" mode="reference">
<xsl:param name="scope" select="."/>
<xsl:text>: </xsl:text>
- <xsl:call-template name="reference">
+ <xsl:call-template name="reference">
<xsl:with-param name="zones" select="normalize-space(@zone)"/>
<xsl:with-param name="scope" select="$scope"/>
</xsl:call-template>
</xsl:template>
- <!--Bookmarks-->
+ <!--Bookmarks-->
<xsl:template name="reference">
<xsl:param name="scope" select="."/>
<xsl:param name="zones"/>
@@ -95,13 +95,13 @@
</xsl:variable>
<fo:basic-link internal-destination="{$id}">
<xsl:apply-templates select="$target" mode="page.citation">
- <xsl:with-param name="id" select="$id"/>
+ <xsl:with-param name="id" select="$id"/>
</xsl:apply-templates>
</fo:basic-link>
<xsl:text> , </xsl:text>
<fo:basic-link internal-destination="{$id2}">
<xsl:apply-templates select="$target2" mode="page.citation">
- <xsl:with-param name="id" select="$id2"/>
+ <xsl:with-param name="id" select="$id2"/>
</xsl:apply-templates>
</fo:basic-link>
</xsl:when>
@@ -115,7 +115,7 @@
</xsl:variable>
<fo:basic-link internal-destination="{$id}">
<xsl:apply-templates select="$target" mode="page.citation">
- <xsl:with-param name="id" select="$id"/>
+ <xsl:with-param name="id" select="$id"/>
</xsl:apply-templates>
</fo:basic-link>
</xsl:otherwise>
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>