[xep-support] Re: Unable to prevent background repeat across page/column
kevin at renderx.com
Thu Oct 8 15:18:31 PDT 2015
I believe there is no solution with pure XSL FO. The behavior you describe
is according to the standard.
Your attempt is probably as close as you can get as you have not specified
what the behavior you would expect if it is such that the image would not
fit at the end of the page and yet your rules would allow for the paragraph
to start. If you cannot solve or express that, you cannot even have a
solution as there will always be a case where it does not work.
If you use the XEP Intermediate format and inject the images in the pages
after composition, you can solve "part" of the problem. With this solution,
you could place a rx:pinpoint marker at the place wherever you wished an
image and then output that image in the XEP Intermediate Format only once
for each rx:pinpoint. But you would also need to fully describe what is
intended visual representation at the end of a page/column where the text
fits and the image does not.
From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of
Remko de Hoop
Sent: Thursday, October 08, 2015 8:44 AM
To: xep-support at renderx.com
Subject: [xep-support] Unable to prevent background repeat across
We are having a problem with unwanted repeating of a background image when a
block spans a column or a page. Is there any way to disable this?
The offending block:
The version of xep used: XEP 4.21 build 20121114
For an example of the resulting repeat, see page two of the pdf.
If this block continues in the next column on the page, or just onto the
next page, the background image is repeated. I provided an extremely
simplified stylesheet, datasource and resulting pdf with this e-mail.
I hope anyone can help, we already tried to let the block only wrap the
title and first paragraph instead of all the paragraphs. This reduces the
number of times the problem occurs but does not eliminate it. The generated
pdf will normally contain a multitude of articles so there will always be a
paragraph somewhere that will continue into the next column or page. Thus
for simplification, my example wraps all paragraphs.
If anybody has a solution that prevents the repeating, I would be very happy
to learn how that can be done.
Remko de Hoop
Horlings & Eerbeek Automatisering B.V.
3401 MA IJsselstein
RdHoop at HorlingsEnEerbeek.nl <mailto:RdHoop at HorlingsEnEerbeek.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xep-support