Changeset 8137

Show
Ignore:
Timestamp:
05/18/07 13:01:50 (2 years ago)
Author:
manuel
Message:

Put partintro on a new page.
Removed a unneeded template call.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/new-xsl/pdf/lfs-pagesetup.xsl

    r8104 r8137  
    9797  </xsl:attribute-set> 
    9898 
     99    <!-- part/partintro: 
     100           Be sure that partintro is on a new page. --> 
     101    <!-- The original template is in {docbook-xsl}/fo/divisions.xsl --> 
     102  <xsl:template match="part/partintro"> 
     103    <xsl:apply-templates select=".." mode="part.titlepage.mode"> 
     104      <xsl:with-param name="additional.content"> 
     105        <fo:block break-before="page"/> 
     106        <xsl:if test="title"> 
     107          <xsl:call-template name="partintro.titlepage"/> 
     108        </xsl:if> 
     109        <xsl:apply-templates/> 
     110      </xsl:with-param> 
     111    </xsl:apply-templates> 
     112    <xsl:call-template name="generate.part.toc"> 
     113      <xsl:with-param name="part" select=".."/> 
     114    </xsl:call-template> 
     115  </xsl:template> 
     116 
    99117    <!-- book title: 
    100118          Centered the title and removed unused code. 
    101           Added missing revhistory support. --> 
     119          Added missing revhistory support. 
     120          Removed book.titlepage.separator. --> 
    102121    <!-- The original template is in {docbook-xsl}/fo/titlepage.templates.xsl --> 
    103122  <xsl:template name="book.titlepage"> 
     
    113132                             select="bookinfo/revhistory"/> 
    114133      </fo:block> 
    115       <xsl:call-template name="book.titlepage.separator"/> 
    116     </fo:block> 
    117   </xsl:template> 
    118  
    119     <!-- book title separator: 
    120            Drop a blank page after book title. --> 
    121     <!-- The original template is in {docbook-xsl}/fo/titlepage.templates.xsl --> 
    122   <xsl:template name="book.titlepage.separator"/> 
     134    </fo:block> 
     135  </xsl:template> 
    123136 
    124137    <!-- part title: 
     
    172185   <!-- header.table: 
    173186          Re-made template to not generate a fo:table in the header, 
    174           allowing a more simple header.content custonization. --> 
     187          allowing a more simple header.content customization. --> 
    175188    <!-- The original template is in {docbook-xsl}/fo/pagesetup.xsl --> 
    176189  <xsl:template name="header.table">