Re: FO - Force Pages on same spread

2005-08-22 Thread Chris Bowditch

Prakash R wrote:


Let me try to explain this with an example.

I have a document which has say 10 pages. Within this
document somewhere in between I have 2 pages(page
number not known until the PDF is generated) which are
consecutive and are someway related. So I would like
for these two pages to be side-by-side (on 2 different
pages) as when you open a book i.e. first page is on
left and second page on right (even followed by odd)
in the generated PDF. 


If by virtue of the XML the first page ends up being
on the right, I want to force a blank page before so
that the first page comes on the left which will
automatically lay the second page on the right (making
these 2 pages side-by-side).

Hope this clarifies my requirement.


Yes. Put break-before="odd" on the block that starts the content of the 
two pages.


Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FO - Force Pages on same spread

2005-08-22 Thread Prakash R
Let me try to explain this with an example.

I have a document which has say 10 pages. Within this
document somewhere in between I have 2 pages(page
number not known until the PDF is generated) which are
consecutive and are someway related. So I would like
for these two pages to be side-by-side (on 2 different
pages) as when you open a book i.e. first page is on
left and second page on right (even followed by odd)
in the generated PDF. 

If by virtue of the XML the first page ends up being
on the right, I want to force a blank page before so
that the first page comes on the left which will
automatically lay the second page on the right (making
these 2 pages side-by-side).

Hope this clarifies my requirement.

Thank you.
Prakash

--- Jeremias Maerki <[EMAIL PROTECTED]> wrote:

> I'm still not sure I understand you correctly, but
> then I think you need
> to look at fo:conditional-page-master-reference
> which allows you to
> specify separate simple-page-masters for odd and
> even pages.
>
http://www.w3.org/TR/xsl/slice6.html#fo_conditional-page-master-reference
> 
> http://www.dpawson.co.uk/xsl/sect3/evenodd.html
> 
> On 22.08.2005 15:34:24 Prakash R wrote:
> > I meant putting the two pages on two different
> pages
> > but making sure they are side by side like when
> you
> > open the book you can see the pages side by
> side(i.e.
> > on the same spread).
> > 
> > Thank you.
> > Prakash
> > 
> > --- Jeremias Maerki <[EMAIL PROTECTED]>
> wrote:
> > 
> > > Are you talking about imposition (two-up)?
> Putting
> > > two pages besides
> > > each other on one piece of paper? FOP can't do
> that,
> > > yet. You'd have to
> > > use a third-party tool to do that.
> > > 
> > > On 20.08.2005 06:44:20 Prakash R wrote:
> > > > Hi,
> > > > 
> > > > I'm preparing a FO document in order to
> generate a
> > > > catalog book. I would like to have two pages
> > > together
> > > > such that they are on the same spread i.e. if
> the
> > > > first page is an even page(left) then the next
> > > would
> > > > be the following odd pages(right) making it on
> the
> > > > same spread. On the other hand if the first
> page
> > > falls
> > > > on an odd page(right), I would like to force a
> > > blank
> > > > page and start it as an even page(left) so
> that
> > > the
> > > > second page is an odd page(right) making it on
> the
> > > > same spread.
> > > > 
> > > > How can I achieve this? Any ideas would be
> greatly
> > > > appreciated.
> 
> 
> Jeremias Maerki
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: FO - Force Pages on same spread

2005-08-22 Thread Prakash R
No. I have two pages within my document(which has
pages preceding and following these pages) and I need
to make sure they end up side by side pages (as when
you open the book the two pages are next to each other
rather than having to turn pages). 

The first of these 2 pages needs to be on the left and
the second of these 2 pages on the right. In case the
first page ends up on the right then a blank page
needs to be inserted and the first page needs to be
forced to start on the left so that the second page
ends up on its side.

Hope that is clear.

Thank you.
Prakash

--- Rymasz Jacky <[EMAIL PROTECTED]> wrote:

> Do you mean using this property of fo:page-sequence:
>  force-page-count="end-on-even"
> 
> This will give you a blank page at the end of your
> page sequence if the last page is odd... Making you
> last page even and blank.
> 
> Is that what you're looking for?
> 
> Jack
> 
> -Message d'origine-
> De : Prakash R [mailto:[EMAIL PROTECTED] 
> Envoyé : lundi 22 août 2005 15:34
> À : fop-users@xmlgraphics.apache.org
> Objet : Re: FO - Force Pages on same spread
> 
> I meant putting the two pages on two different pages
> but making sure they are side by side like when you
> open the book you can see the pages side by
> side(i.e.
> on the same spread).
> 
> Thank you.
> Prakash
> 
> --- Jeremias Maerki <[EMAIL PROTECTED]>
> wrote:
> 
> > Are you talking about imposition (two-up)? Putting
> two pages besides 
> > each other on one piece of paper? FOP can't do
> that, yet. You'd have 
> > to use a third-party tool to do that.
> > 
> > On 20.08.2005 06:44:20 Prakash R wrote:
> > > Hi,
> > > 
> > > I'm preparing a FO document in order to generate
> a catalog book. I 
> > > would like to have two pages
> > together
> > > such that they are on the same spread i.e. if
> the first page is an 
> > > even page(left) then the next
> > would
> > > be the following odd pages(right) making it on
> the same spread. On 
> > > the other hand if the first page
> > falls
> > > on an odd page(right), I would like to force a
> > blank
> > > page and start it as an even page(left) so that
> > the
> > > second page is an odd page(right) making it on
> the same spread.
> > > 
> > > How can I achieve this? Any ideas would be
> greatly appreciated.
> > 
> > 
> > 
> > Jeremias Maerki
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>   
> 
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs 
>  
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FO - Force Pages on same spread

2005-08-22 Thread Jeremias Maerki
I'm still not sure I understand you correctly, but then I think you need
to look at fo:conditional-page-master-reference which allows you to
specify separate simple-page-masters for odd and even pages.
http://www.w3.org/TR/xsl/slice6.html#fo_conditional-page-master-reference

http://www.dpawson.co.uk/xsl/sect3/evenodd.html

On 22.08.2005 15:34:24 Prakash R wrote:
> I meant putting the two pages on two different pages
> but making sure they are side by side like when you
> open the book you can see the pages side by side(i.e.
> on the same spread).
> 
> Thank you.
> Prakash
> 
> --- Jeremias Maerki <[EMAIL PROTECTED]> wrote:
> 
> > Are you talking about imposition (two-up)? Putting
> > two pages besides
> > each other on one piece of paper? FOP can't do that,
> > yet. You'd have to
> > use a third-party tool to do that.
> > 
> > On 20.08.2005 06:44:20 Prakash R wrote:
> > > Hi,
> > > 
> > > I'm preparing a FO document in order to generate a
> > > catalog book. I would like to have two pages
> > together
> > > such that they are on the same spread i.e. if the
> > > first page is an even page(left) then the next
> > would
> > > be the following odd pages(right) making it on the
> > > same spread. On the other hand if the first page
> > falls
> > > on an odd page(right), I would like to force a
> > blank
> > > page and start it as an even page(left) so that
> > the
> > > second page is an odd page(right) making it on the
> > > same spread.
> > > 
> > > How can I achieve this? Any ideas would be greatly
> > > appreciated.


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: FO - Force Pages on same spread

2005-08-22 Thread Rymasz Jacky
Do you mean using this property of fo:page-sequence:
 force-page-count="end-on-even"

This will give you a blank page at the end of your page sequence if the last 
page is odd... Making you last page even and blank.

Is that what you're looking for?

Jack

-Message d'origine-
De : Prakash R [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 22 août 2005 15:34
À : fop-users@xmlgraphics.apache.org
Objet : Re: FO - Force Pages on same spread

I meant putting the two pages on two different pages but making sure they are 
side by side like when you open the book you can see the pages side by side(i.e.
on the same spread).

Thank you.
Prakash

--- Jeremias Maerki <[EMAIL PROTECTED]> wrote:

> Are you talking about imposition (two-up)? Putting two pages besides 
> each other on one piece of paper? FOP can't do that, yet. You'd have 
> to use a third-party tool to do that.
> 
> On 20.08.2005 06:44:20 Prakash R wrote:
> > Hi,
> > 
> > I'm preparing a FO document in order to generate a catalog book. I 
> > would like to have two pages
> together
> > such that they are on the same spread i.e. if the first page is an 
> > even page(left) then the next
> would
> > be the following odd pages(right) making it on the same spread. On 
> > the other hand if the first page
> falls
> > on an odd page(right), I would like to force a
> blank
> > page and start it as an even page(left) so that
> the
> > second page is an odd page(right) making it on the same spread.
> > 
> > How can I achieve this? Any ideas would be greatly appreciated.
> 
> 
> 
> Jeremias Maerki
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 





Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FO - Force Pages on same spread

2005-08-22 Thread Prakash R
I meant putting the two pages on two different pages
but making sure they are side by side like when you
open the book you can see the pages side by side(i.e.
on the same spread).

Thank you.
Prakash

--- Jeremias Maerki <[EMAIL PROTECTED]> wrote:

> Are you talking about imposition (two-up)? Putting
> two pages besides
> each other on one piece of paper? FOP can't do that,
> yet. You'd have to
> use a third-party tool to do that.
> 
> On 20.08.2005 06:44:20 Prakash R wrote:
> > Hi,
> > 
> > I'm preparing a FO document in order to generate a
> > catalog book. I would like to have two pages
> together
> > such that they are on the same spread i.e. if the
> > first page is an even page(left) then the next
> would
> > be the following odd pages(right) making it on the
> > same spread. On the other hand if the first page
> falls
> > on an odd page(right), I would like to force a
> blank
> > page and start it as an even page(left) so that
> the
> > second page is an odd page(right) making it on the
> > same spread.
> > 
> > How can I achieve this? Any ideas would be greatly
> > appreciated.
> 
> 
> 
> Jeremias Maerki
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FO - Force Pages on same spread

2005-08-22 Thread Jeremias Maerki
Are you talking about imposition (two-up)? Putting two pages besides
each other on one piece of paper? FOP can't do that, yet. You'd have to
use a third-party tool to do that.

On 20.08.2005 06:44:20 Prakash R wrote:
> Hi,
> 
> I'm preparing a FO document in order to generate a
> catalog book. I would like to have two pages together
> such that they are on the same spread i.e. if the
> first page is an even page(left) then the next would
> be the following odd pages(right) making it on the
> same spread. On the other hand if the first page falls
> on an odd page(right), I would like to force a blank
> page and start it as an even page(left) so that the
> second page is an odd page(right) making it on the
> same spread.
> 
> How can I achieve this? Any ideas would be greatly
> appreciated.



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]