Changeset a9e89d0 for stylesheets/print


Ignore:
Timestamp:
05/19/2004 08:16:58 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
8df9f63
Parents:
28501c7
Message:

HEAD: StyleSheets - unified the identation to use spaces.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
stylesheets/print
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/print/lfs-index.xsl

    r28501c7 ra9e89d0  
    1313    <!--Title-->
    1414  <xsl:template match="index" mode="title.markup">
    15         <xsl:param name="allow-anchors" select="0"/>
     15    <xsl:param name="allow-anchors" select="0"/>
    1616    <xsl:text>Index of packages and important installed files</xsl:text>
    17         </xsl:template>
     17  </xsl:template>
    1818
    19         <!-- Divisions-->
     19    <!-- Divisions-->
    2020  <xsl:template match="indexterm" mode="index-div">
    2121    <xsl:param name="scope" select="."/>
     
    6464  </xsl:template>
    6565
    66         <!-- The separator -->
     66    <!-- The separator -->
    6767  <xsl:template match="indexterm" mode="reference">
    6868    <xsl:param name="scope" select="."/>
    6969    <xsl:text>:   </xsl:text>
    70         <xsl:call-template name="reference">
     70      <xsl:call-template name="reference">
    7171        <xsl:with-param name="zones" select="normalize-space(@zone)"/>
    7272        <xsl:with-param name="scope" select="$scope"/>
     
    7474  </xsl:template>
    7575 
    76         <!--Bookmarks-->
     76    <!--Bookmarks-->
    7777  <xsl:template name="reference">
    7878    <xsl:param name="scope" select="."/>
     
    9696        <fo:basic-link internal-destination="{$id}">
    9797          <xsl:apply-templates select="$target" mode="page.citation">
    98                 <xsl:with-param name="id" select="$id"/>
     98            <xsl:with-param name="id" select="$id"/>
    9999          </xsl:apply-templates>
    100100        </fo:basic-link>
     
    102102        <fo:basic-link internal-destination="{$id2}">
    103103          <xsl:apply-templates select="$target2" mode="page.citation">
    104                 <xsl:with-param name="id" select="$id2"/>
     104            <xsl:with-param name="id" select="$id2"/>
    105105          </xsl:apply-templates>
    106106        </fo:basic-link>
     
    116116        <fo:basic-link internal-destination="{$id}">
    117117          <xsl:apply-templates select="$target" mode="page.citation">
    118                 <xsl:with-param name="id" select="$id"/>
     118            <xsl:with-param name="id" select="$id"/>
    119119          </xsl:apply-templates>
    120120        </fo:basic-link>
  • stylesheets/print/lfs-pagesetup.xsl

    r28501c7 ra9e89d0  
    55                version="1.0">
    66
    7         <!-- Force section1's onto a new page -->
     7    <!-- Force section1's onto a new page -->
    88  <xsl:attribute-set name="section.level1.properties">
    9         <xsl:attribute name="break-after">
    10         <xsl:choose>
    11                         <xsl:when test="not(position()=last())">
    12                 <xsl:text>page</xsl:text>
    13                 </xsl:when>
     9    <xsl:attribute name="break-after">
     10      <xsl:choose>
     11        <xsl:when test="not(position()=last())">
     12          <xsl:text>page</xsl:text>
     13        </xsl:when>
    1414        <xsl:otherwise>
    15                 <xsl:text>auto</xsl:text>
     15          <xsl:text>auto</xsl:text>
    1616        </xsl:otherwise>
    1717      </xsl:choose>
     
    1919  </xsl:attribute-set>
    2020
    21                 <!-- Header -->
     21    <!-- Header -->
    2222  <xsl:template name="header.content">
    23         <xsl:param name="sequence" select="''"/>
    24                 <fo:block>
     23    <xsl:param name="sequence" select="''"/>
     24    <fo:block>
    2525      <xsl:attribute name="text-align">
    2626        <xsl:choose>
     
    3636
    3737  <xsl:template name="header.table">
    38         <xsl:param name="sequence" select="''"/>
     38    <xsl:param name="sequence" select="''"/>
    3939    <xsl:param name="gentext-key" select="''"/>
    4040    <xsl:choose>
    4141      <xsl:when test="$gentext-key = 'book' or $sequence = 'blank'"/>
    4242      <xsl:otherwise>
    43         <xsl:call-template name="header.content">
    44                                         <xsl:with-param name="sequence" select="$sequence"/>
    45                                 </xsl:call-template>
     43        <xsl:call-template name="header.content">
     44          <xsl:with-param name="sequence" select="$sequence"/>
     45        </xsl:call-template>
    4646      </xsl:otherwise>
    4747    </xsl:choose>
    4848  </xsl:template>
    4949
    50                 <!-- Centered titles for book and part -->
     50    <!-- Centered titles for book and part -->
    5151  <xsl:template name="book.titlepage">
    5252    <fo:block space-before="2in">
     
    7777  </xsl:template>
    7878
    79         <!-- Margins -->
     79    <!-- Margins -->
    8080  <xsl:param name="page.margin.inner">1in</xsl:param>
    8181  <xsl:param name="page.margin.outer">0.5in</xsl:param>
     
    108108  </xsl:attribute-set>
    109109
    110         <!-- Others-->
     110    <!-- Others-->
    111111  <xsl:param name="header.rule" select="0"></xsl:param>
    112112  <xsl:param name="footer.rule" select="0"></xsl:param>
    113         <xsl:param name="marker.section.level" select="-1"></xsl:param>
     113  <xsl:param name="marker.section.level" select="-1"></xsl:param>
    114114
    115         <!-- Dropping a blank page -->
    116         <xsl:template name="book.titlepage.separator"/>
     115    <!-- Dropping a blank page -->
     116  <xsl:template name="book.titlepage.separator"/>
    117117
    118         <!-- How render a variablelist -->
    119         <xsl:param name="variablelist.as.blocks" select="1"/>
     118    <!-- How render a variablelist -->
     119  <xsl:param name="variablelist.as.blocks" select="1"/>
    120120
    121121</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.