Re: [xep-support] Flow back to previous page

From: Jost Klopfstein <>
Date: Thu Feb 03 2005 - 10:05:47 PST

Thanks Alexei and David.

This approach is promising, however, I am not sure if the page numbering
will be correct and the TOC / Index will point to the correct pages after
assembling the pages from half A5 sub-pages.
Is it the output generator which inserts the page numbers? Or do I have to
parse in the intermediate format every page and insert new page numbers and
change all the page number references?

Intermediate format
will be assembled into
(p1 + p3)
(p2 + p4)

Cheers, Jost
----- Original Message -----
From: "Alexei Gagarinov" <>
To: <>
Sent: Thursday, February 03, 2005 6:20 AM
Subject: Re: [xep-support] Flow back to previous page

> Hello Jost,
> As David said this is beyond the scope of XSL-FO, but can be done with a
> postprocessing of XEP Output format:
> 1) Define the sample page in FO that has the same height and half-width as
> landscape-oriented A5 (i.e. content of such a page wraps the content of a
> column of landscape-oriented A5).
> 2) Take the XML representation at the output from the formatter, and
> rearrange pages there by using XSLT (2 sample pages should form one
> landscape-oriented A5). Then put the rearranged XEP Output to a generator.
> 3) This logic can be also implemented in pure Java.
> DevKit distribution includes the example (PostProcessing) that
> this technique (make-booklet.xsl &
> I slightly modified that example according to your task. Please find the
> archive attached.
> With best regards,
> Alexei Gagarinov
> RenderX.

(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Thu Feb 3 10:27:40 2005

This archive was generated by hypermail 2.1.8 : Thu Feb 03 2005 - 10:27:40 PST