I have solve it my self
 
Set orphans and widows to unnatural high values on the list-block element does the job.
 
I'm sorry for the disturbance.
 
Best regards
Henrik
 
 
From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com] On Behalf Of Ryom, Henrik (Forlaget)
Sent: 21. januar 2009 12:15
To: xep-support@renderx.com
Subject: [xep-support] list-block and page breaks
 
Hi,
 
How do I prevent a list-block or rather a list-item-body which renders in eg. 4 lines to break at the (natural) page-break?
I have tried different combinations of keep-with-next/keep-together.within-page and a relative high number in orphans and widows without result.
 
 
  <fo:block xsl:use-attribute-sets="N3-N7-O" id="{generate-id(.)}">
      <fo:marker marker-class-name="N3-header-text">
        <xsl:value-of select="$head-label"/>
      </fo:marker>
      <fo:list-block keep-with-next.within-page="always">  
        <fo:list-item>
          <fo:list-item-label start-indent="0mm" end-indent="{$heading-item-label-end-indent}">
            <fo:block>
              <xsl:value-of select="$head-label"/>
            </fo:block>
          </fo:list-item-label>
          <fo:list-item-body start-indent="{$heading-item-body-start-indent}">
            <fo:block keep-with-next.within-page="always">
              <xsl:value-of select="$head-text"/>
            </fo:block>
          </fo:list-item-body>
        </fo:list-item>
      </fo:list-block>
    </fo:block>
 
<xsl:attribute-set name="N3-N7-O" use-attribute-sets="dk-hyph broedtekst">
    <xsl:attribute name="font-size">10pt</xsl:attribute>
    <xsl:attribute name="line-height">12pt</xsl:attribute>
    <xsl:attribute name="font-weight">bold</xsl:attribute>
    <xsl:attribute name="text-align">start</xsl:attribute>
    <xsl:attribute name="space-before.optimum">5mm</xsl:attribute>
    <xsl:attribute name="space-before.minimum">5mm</xsl:attribute>
    <xsl:attribute name="space-before.maximum">10mm</xsl:attribute>
    <xsl:attribute name="space-after">2mm</xsl:attribute>
    <xsl:attribute name="keep-with-next.within-page">always</xsl:attribute> 
  </xsl:attribute-set>
 
$head-label may be empty
 
Best regards
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Henrik Ryom
Content specialist 
Legal, Tax & Accounting
Thomson Reuters 
Thomson Reuters Professional A/S
Nytorv 5, 1450 Copenhagen, Denmark
Phone: +(45) 33740717
henrik.ryom@thomsonreuters.com <mailto:henrik.ryom@thomsonreuters.com> 
www.thomsonreuters.dk <http://www.thomsonreuters.dk> 
Forlaget Thomson A/S har skiftet navn til Thomson Reuters Professional A/S. 
Vi indgår nu i den globale informationskoncern Thomson Reuters, som er verdens førende 
udbyder af intelligent information. Vi kombinerer innovativ teknologi med faglig ekspertise 
og giver derved vores kunder intelligent viden om jura, skat, revision mm. 
Besøg os på www.thomsonreuters.dk <http://www.thomsonreuters.dk>  og www.thomsonreuters.com <http://www.thomsonreuters.com> 
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed Jan 21 04:50:58 2009
This archive was generated by hypermail 2.1.8 : Wed Jan 21 2009 - 04:51:04 PST