You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Philip V <ph...@verizon.net> on 2008/10/06 13:44:01 UTC
Layout Question -
Hi,
I have a requirement to do the following:
Text will be on the right-hand pages (even) with supporting illustration on
the facing left-hand pages (odd).
Is this possible using xsl-fo? I am generating the FO from xslt. Text and
graphics can be just about any where in the markup, so I am having trouble
trying to figure this out.
Thanks in advance,
Phil
--
View this message in context: http://www.nabble.com/Layout-Question---tp19836323p19836323.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Layout Question -
Posted by Philip V <ph...@verizon.net>.
Hi Max,
Sorry for the delay. I thought the thread was dead. Below are my answers:
- Do you want to "anchor" images at the same position as the text? - no
- Or do you just want to make sure that images are on one page and text
is on the other page? - yes
- Do you have example markup? - I would have to make some. My dtd is huge
and the FO is also.
Thanks,
--
View this message in context: http://www.nabble.com/Layout-Question---tp19836323p20015948.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Layout Question -
Posted by Maximilian Gaerber <ma...@infolox.de>.
Hi Guys,
I might be missing the point here but what are your exact requirements?
- Do you want to "anchor" images at the same position as the text?
- Or do you just want to make sure that images are on one page and text
is on the other page?
- Do you have example markup?
Regards,
Max
Philip V schrieb:
> Thanks Vincent,
>
> "BTW, right-hand pages are odd and left-hand pages even" - Thanks for the
> correction.
>
> I might be chasing my tail here. Even if fo:flow-map was implemented, I
> don't think I could do this dynamically.
>
> Thanks,
>
>
>
> Vincent Hennebert-2 wrote:
>
>> Hi Phil,
>>
>> Philip V wrote:
>>
>>> Hi,
>>>
>>> I have a requirement to do the following:
>>>
>>> Text will be on the right-hand pages (even) with supporting illustration
>>> on
>>> the facing left-hand pages (odd).
>>>
>> (BTW, right-hand pages are odd and left-hand pages even.)
>>
>>
>>
>>> Is this possible using xsl-fo? I am generating the FO from xslt. Text and
>>> graphics can be just about any where in the markup, so I am having
>>> trouble
>>> trying to figure this out.
>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Layout Question -
Posted by Philip V <ph...@verizon.net>.
Thanks Vincent,
"BTW, right-hand pages are odd and left-hand pages even" - Thanks for the
correction.
I might be chasing my tail here. Even if fo:flow-map was implemented, I
don't think I could do this dynamically.
Thanks,
Vincent Hennebert-2 wrote:
>
> Hi Phil,
>
> Philip V wrote:
>> Hi,
>>
>> I have a requirement to do the following:
>>
>> Text will be on the right-hand pages (even) with supporting illustration
>> on
>> the facing left-hand pages (odd).
>
> (BTW, right-hand pages are odd and left-hand pages even.)
>
>
>> Is this possible using xsl-fo? I am generating the FO from xslt. Text and
>> graphics can be just about any where in the markup, so I am having
>> trouble
>> trying to figure this out.
>
> Sorry, I don’t think there is any possibility to do that at the moment.
> It might be possible to use the fo:flow-map feature of XSL-FO 1.1. You
> would for instance map the text to region-end and the graphics to
> region-start. Then you would use a sequence of page-masters
> alternatively missing a specification for the corresponding region: the
> page-master for even pages would have no region-end, and for odd pages
> no region-start. Then you would have 2 fo:flows: one for text, flowing
> on region-ends and one for graphics, flowing on region-starts. With the
> effect that each type of content would flow only on every other page.
> The reason for using region-start and region-end is that, contrary to
> region-body, they are optional and may not be specified on
> a page-master. region-body would not be used here.
>
> But: I’m not even sure how a missing region-part on a page should be
> handled (wait for the next page or throw an error); I’m not sure
> I understood the XSL-FO spec correctly; flow-map is not yet implemented
> in FOP; and I don’t know how the XSLT to produce that would look like...
>
>
> Vincent
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Layout-Question---tp19836323p19876008.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Layout Question -
Posted by Vincent Hennebert <vh...@gmail.com>.
Hi Phil,
Philip V wrote:
> Hi,
>
> I have a requirement to do the following:
>
> Text will be on the right-hand pages (even) with supporting illustration on
> the facing left-hand pages (odd).
(BTW, right-hand pages are odd and left-hand pages even.)
> Is this possible using xsl-fo? I am generating the FO from xslt. Text and
> graphics can be just about any where in the markup, so I am having trouble
> trying to figure this out.
Sorry, I don’t think there is any possibility to do that at the moment.
It might be possible to use the fo:flow-map feature of XSL-FO 1.1. You
would for instance map the text to region-end and the graphics to
region-start. Then you would use a sequence of page-masters
alternatively missing a specification for the corresponding region: the
page-master for even pages would have no region-end, and for odd pages
no region-start. Then you would have 2 fo:flows: one for text, flowing
on region-ends and one for graphics, flowing on region-starts. With the
effect that each type of content would flow only on every other page.
The reason for using region-start and region-end is that, contrary to
region-body, they are optional and may not be specified on
a page-master. region-body would not be used here.
But: I’m not even sure how a missing region-part on a page should be
handled (wait for the next page or throw an error); I’m not sure
I understood the XSL-FO spec correctly; flow-map is not yet implemented
in FOP; and I don’t know how the XSLT to produce that would look like...
Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org