xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christiane Fritze <fri...@bbaw.de>
Subject Re: page sequencing for parallel print
Date Tue, 07 Mar 2006 10:33:11 GMT

thank you for your informations. I already looked at the XSL 1.1 
but I think the flow-map too will not work in my case because I need 
some page
related fo functions like page number, running headers etc...

So I will have a look at the PDF post processors.

Will the next FOP follow the new XSL 1.1 candidate recommendation?


Jeremias Maerki schrieb:

>Hmm, I don't think that will help Christiane. This doesn't allow you to
>alternate between two flows. XSL 1.0 only supports one flow per
>page-sequence. Maybe the flow maps in the upcoming XSL 1.1 might help.
>But these are not supported by FOP, yet.
>My suggestion is to render the two editions after each other in two
>separate page-sequences and then using a PDF post-processor [1] to
>rearrange the page order inside the document.
>[1] http://xmlgraphics.apache.org/fop/resources.html#products-pdf
>On 07.03.2006 00:54:27 Karl Roberts wrote:
>>Check out http://xmlgraphics.apache.org/fop/fo.html#fo-oddeven 
>>It'll show you how (basically you set up a <fo:page-sequence-master
>>master-name="parallel"/> that contains
>><fo:repeatable-page-master-alternatives>'s for your left and right hand
>><fo:simple-page-master> then make your <fo:page-sequence
>>-----Original Message-----
>>From: Christiane Fritze [mailto:fritze@bbaw.de] 
>>Sent: Tuesday, 7 March 2006 3:54 AM
>>To: fop-users@xmlgraphics.apache.org
>>Subject: page sequencing for parallel print
>>Hi all,
>>for a parallel printed edition I need two different transformations of
>>the same xml-document, which is easily made by means of the 'mode' 
>>Parallel printed means that one version of the text has to be on all odd
>>pages, the other version on all even pages (if you need see below).
>>If two <fo:flow>s in <fo:page-sequence>s were allowed, I could have
>>somthing like this:
>><fo:page-sequence master-reference="allPages" force-page-count="auto" format="1">
>> ...
>> <fo:flow flow-name="bodyPageRight">
>>   <xsl:apply-templates mode="right">
>> </fo flow>
>> <fo:flow flow-name="bodyPageLeft">
>>    <xsl:apply-templates mode="left">
>>  </fo flow>
>>So I need two <fo:page-sequence>s (for the complete strucure of my
>>fo.xsl see below).
>>But how do I have to handle the <fo:page-sequence-master>s to get an
>>page-alternately rendered text?
>>| page 1                 |                    page 2 |
>>|                        |                           |
>>| text version one text  |  same text version two sa | version one text 
>>| vers  |  me text version two same |
>>| ion one text version   |  text version two same te |
>>| one text version one   |  xt version two same text |
>>| text version one text  |  version two same text ve |
>>| page 3                 |                    page 4 |
>>|                        |                           |
>>| version one text vers  |  rsion two same text vers |
>>| ion one text version   |  ion two same text versio |
>>| one text version one   |  n two same text version  |
>>| text version one text  |  two same text version tw | version one text 
>>| vers  |  o same text version two  |
>>and so on...
>>I use FOP 0.91 beta.
>>Thank you in advance for any help.
>Jeremias Maerki
>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message