> -----Original Message-----
> From: [EMAIL PROTECTED] 
> 
> Thanks to Bob's post, my articles now start on the next 
> available page, odd or even.
> 
> Except immediately after the Table of Contents.
> 
> From reading Ch.10 of The Complete Guide this looks like it 
> would be controlled by the 
> 
>       <t:titlepage t:element="table.of.contents" t:wrapper="fo:block">
> 
> element in titlepages.templates.xml; more specifically, by 
> titlepage-separator and titlepage-before children of it. 
> These child elements are empty, yet I still get a blank page 
> after the ToC instead of the first article. 


I think you can fix this by customizing the "force.page.count" template. Add
a condition that applies to the master-reference "lot". Something like this:

<xsl:template name="force.page.count">
  <xsl:param name="element" select="local-name(.)"/>
  <xsl:param name="master-reference" select="''"/>

  <xsl:choose>
    <!-- "lot" is used for all "lists of titles" -->
    <xsl:when test="$double.sided !=0 and $master-reference =
'lot'">no-force</xsl:when>
    
    <!-- double-sided output -->
    <xsl:when test="$double.sided != 0">end-on-even</xsl:when>
    <!-- single-sided output -->
    <xsl:otherwise>no-force</xsl:otherwise>
  </xsl:choose>
</xsl:template>


Mauritz



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to