[xep-support] keep-with-next not working

Cutter cutter1994 at gmail.com
Fri Jun 27 06:57:34 PDT 2008


Frank,

I'm not sure what you exactly want to do but if you want the content "3.1
Inleiding" to be a text heading (not within the pink box) like "3.2 Eisen"
then check the fo:block-container on line 48 (in <fo:flow
flow-name="xsl-region-body">).  In your FO the block-container is empty
which is invalid.  If you enclose the following blocks in the
block-container (as below) the output is as attached.

Of course, I could be very off base as to the desired outcome.  If that's
the case then provide us with more details.

--Cutter

<fo:block-container span="all" width="180mm"
				break-before="odd-page"
keep-with-next="always"
				text-indent="11mm"
	
background-color="rgb-icc(0,0,0,#CMYK,0,0.3,0,0)"
				height="6.60in"> 
			<fo:block id="IDANM2Y" space-after="11pt"
font-size="14pt"
				font-weight="bold"
				color="rgb-icc(0,0,0,#CMYK,0,  1,0,0)"
				line-height="14pt"
				keep-with-next.within-column="always">
				<fo:list-block
	
provisional-distance-between-starts="9mm"
					provisional-label-separation="2mm">
					<fo:list-item>
						<fo:list-item-label
end-indent="label-end()">
							<fo:block
text-indent="0mm">3.1
							</fo:block>
						</fo:list-item-label>
						<fo:list-item-body
start-indent="body-start()">
							<fo:block
start-indent="10mm"
	
>Inleiding</fo:block>
						</fo:list-item-body>
					</fo:list-item>
				</fo:list-block>
			</fo:block>
			</fo:block-container>


> -----Original Message-----
> From: owner-xep-support at renderx.com [mailto:owner-xep-
> support at renderx.com] On Behalf Of Frank Weenink
> Sent: Friday, June 27, 2008 8:31 AM
> To: xep-support at renderx.com
> Subject: [xep-support] keep-with-next not working
> 
> Dear xep-support,
> 
> I have some trouble keeping a heading with the text. I've attached a
> sample PDF and FO. I cannot find the reason why this failes. Does
> anyone see what is causing the failure?
> 
> Regards,
> 
> Frank
> 
> 
> 
> 
> 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 270.4.1/1518 - Release Date:
> 6/25/2008 9:46 AM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keeps-failure (2).pdf
Type: application/pdf
Size: 8810 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20080627/3f9da834/attachment.pdf>


More information about the Xep-support mailing list