Re: [xsl] [FO] image on even, table on odd, repeating image if the table is more than one page

Subject: Re: [xsl] [FO] image on even, table on odd, repeating image if the table is more than one page
From: Geert Bormans <geert@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Jul 2012 20:58:19 +0200
well, I have a bunch of sections in a book,
each section has one partlist (= one table)
and each partlist (table) has exactly one image with it
The image the table and some titles is all there is to a section

A section needs an even number of pages,
starting with the image on the even page and the table on the odd page
if the table overflows to the next page, it needs to flow over to the next odd page,
and I need the image to repeat on the even page in between


I can figure out what the image is when the section starts,
so indeed I believe that Kens approach will likely work

I started implementing this but got stuck on step one,
it seems FOP doesn't like the way I force the even page to be empty
so I would indeed appreciate some code

thanks

Geert



At 18:42 11/07/2012, you wrote:
At 2012-07-11 11:31 -0500, Michael.Hahn@xxxxxxxxxxxxxxxxxxx wrote:
What about creating a header area on the even pages to allow both the real
header and the image?  The OP's original question specified one image per
table, so a reference to the url() could specify the image associated with
the table.  (We do something similar with "This page intentionally left
blank" centered on the blank pages.)

Yes, that is what I implied in my step (2) ... both the header and the body would be shown on the even pages using an absolutely-positioned block container.


But I missed that it was only a single image per table! If that is true, then I think my scheme would work just fine. And we can then exploit blank pages rather than a page sequence.

Geert, before I take the time to create a mockup, can you confirm, please, that there is only a single image associated with each table, and that the table needs to start at the top of the "next" odd page (with the image shown on the preceding even pages for each page of the table)?

If so, I think this can be done.

. . . . . . . . . . . Ken


-- Public XSLT, XSL-FO, UBL and code list classes in Europe -- Oct 2012 Contact us for world-wide XML consulting and instructor-led training Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal

Current Thread