Add blank page number citation to next page

View: New views
4 Messages — Rating Filter:   Alert me  

Add blank page number citation to next page

by bonekrusher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I a have a specification that states:

"A blank page shall be assigned a number, but it will appear on the either the page before or after."

For example:

If page 35 was blank, page 36 page number would be:

36 (Blank 35)

Is there a way to do this with XSLT and FO?

Thanks

Bones

Re: Add blank page number citation to next page

by Bones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi List,

Does anyone have any ideas for my question? This one has me puzzled. Is it possible?

Thanks,

bonekrusher wrote:
Hi,

I a have a specification that states:

"A blank page shall be assigned a number, but it will appear on the either the page before or after."

For example:

If page 35 was blank, page 36 page number would be:

36 (Blank 35)

Is there a way to do this with XSLT and FO?

Thanks

Bones

Re: Add blank page number citation to next page

by Andreas Delmelle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Aug 1, 2008, at 19:19, Bones wrote:

> Does anyone have any ideas for my question? This one has me  
> puzzled. Is it
> possible?

I don't think so.
A fo:page-number-citation requires an area to be on the blank page,  
which would make it not blank...

If useful, the page-number for the preceding page could probably be  
implemented as an extension attribute on fo:page-number, by means of  
which the author would be able to specify an offset (?)

<fo:page-number fox:offset="-1" />

But even then, unless I'm missing something, there would be no way to  
check for the condition of the previous page being blank during  
formatting.


Cheers

Andreas

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


Re: Add blank page number citation to next page

by bonekrusher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Andreas,

That was my conclusion.  I think you are correct, but I needed a second opinion from the list.

Thank you,

Phil


 
Andreas Delmelle-2 wrote:
On Aug 1, 2008, at 19:19, Bones wrote:

> Does anyone have any ideas for my question? This one has me  
> puzzled. Is it
> possible?

I don't think so.
A fo:page-number-citation requires an area to be on the blank page,  
which would make it not blank...

If useful, the page-number for the preceding page could probably be  
implemented as an extension attribute on fo:page-number, by means of  
which the author would be able to specify an offset (?)

<fo:page-number fox:offset="-1" />

But even then, unless I'm missing something, there would be no way to  
check for the condition of the previous page being blank during  
formatting.


Cheers

Andreas

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