OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] Selective pagebreaks


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:macana@macana-es.com] 
Sent: Tuesday, July 24, 2007 1:47 PM
To: docbook-apps@lists.oasis-open.org
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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]