Hmmm, maybe there still is an issue here. I've tried your section template and 
it seems to do what it is told to do. However, the next page is blank and it is 
not marked as a blank page as others usually are. This is also at an end of a 
chapter, so the added page is the filler to make the next chapter start on an 
odd page.

I wonder if this is a two fold issue.

Regards,

Dean Nelson   
Enterprise Electronics Corp




-----Original Message-----
From: M.Canales.es [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 24, 2007 1:47 PM
To: [email protected]
Subject: Re: [docbook-apps] Selective pagebreaks


El Martes, 24 de Julio de 2007 20:39, M.Canales.es escribió:

I'm not very sure about the second test. Maybe this one could be better:

<xsl:attribute-set name="section.properties">
  <xsl:attribute name="break-before">
    <xsl:choose>
       <xsl:when 
            test="preceding-sibling::section[position()=1]/@condition='newpage'
            or 
preceding-sibling::section[position()=1]/*/section[position()=last()]/@condition='newpage'
            or self::section/@condition='newpage'">page</xsl:when>
      <xsl:otherwise>auto</xsl:otherwise>
    </xsl:choose>
  </xsl:attribute>
</xsl:attribute-set> 

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org

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


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

Reply via email to