RE: When a page is not a page

2002-04-01 Thread Matthew L. Avizinis
Right.  So, you'll end up with NaN, which is what I get when I attempted
this before brain was engaged.

> -Original Message-
> From: J.Pietschmann [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 31, 2002 5:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: When a page is not a page
>
>
> Matthew L. Avizinis wrote:
> > Nope.  Neither will work.  Sorry.  That's what I get for speaking b4
> > thinking.
> > Where's the variable going to get it's value from?  Certainly
> not from the
> >  instruction -- that's for the FOP processor to
> use not the
> > XSLT processor.  You'll get NaN.
>
> No. The value is an RTF with a fo:page-number element as
> its only node below the root.
>
> J.Pietschmann



Re: When a page is not a page

2002-04-01 Thread Patrick Andries
What is the status of the orphan and widow control?
If this is not yet implemented, have we got any timeline? How complex 
could it be to implement for a seasoned developer (in man days)? When is 
the next release of FOP scheduled?

Thanks
Patrick


Re: When a page is not a page

2002-03-31 Thread J.Pietschmann
Matthew L. Avizinis wrote:
Nope.  Neither will work.  Sorry.  That's what I get for speaking b4
thinking.
Where's the variable going to get it's value from?  Certainly not from the
 instruction -- that's for the FOP processor to use not the
XSLT processor.  You'll get NaN.
No. The value is an RTF with a fo:page-number element as
its only node below the root.
J.Pietschmann


Re: When a page is not a page

2002-03-30 Thread Wayne Elliott
Well here's the thing I guess. I think it is a significant
ommision that the FOP spec fails to supported paper that can
be folded, even if this sort of paper is no longer in vogue.
Still this is the case in point.

Now if I were in the business of making W3C recommendations
(i.e teaching my grandmother to suck eggs) I migght (at this
juncture in my infant learning curve) suggest

1) deprecating
<[fo:]page-number/>
  in favour of
<[fo:]page-pseudo-number/>
  or
<[fo:]page-not-really-a-number-just-pretending/>

2) reworking <[fo:]page-number/> to return (I don't know, maybe)
   a  _number_.

3) introduce fo:column-number, span-number, flow-number and
   wing-number (which would all return _numbers_) - the latter
   being most useful in annotating paper planes.

4) introducing
 <[fo:]page-number-enhanced/>
   which would include the more common use atrributes like

 linear-function-to apply_to_number="2x-1"
 

 base-of-numeric-system="5"
 

 angle-in-degrees-to rotate-number-by="90"
 

(Notice I have correctly avoided any hint of "terseness" in my
naming conventions.)

Can anyone think of any other useful enhancements?

Well I guess its back to the drawing board for now.

WPE (tongue in cheek)

P.S
How may FOP programmers does it take to change a lightbulb?
Only one, however please note that  does not
actually return any light, but does a neat light shade.


- Original Message -
From: "Arved Sandstrom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 30, 2002 10:47 AM
Subject: RE: When a page is not a page


> Here is the thing. XSLT and XSL-FO are independent. XSL-FO has no more
> special meaning to XSLT than does MathML or DocBook or SVG. XSLT
understands
> its own elements (including extensions of course). It understands no
others.
>
>  (or as Ken Holman points out,  in the
> http://www.w3.org/1999/XSL/Format namespace, since we may assign any
prefix
> we like, or none) is not acted on by the XSL-FO formatter to produce a
> number until after XSLT is done. Period.
>
> And note that  never actually _is_ a number, and in fact
> the formatter is not required to even generate a stringified page-number.
>
> This is what the XSL Recommendation allows or does not allow you to do. If
> you feel that there is a compelling use case for being able to do what you
> want to do, I'd suggest writing it up and submitting it to the
> [EMAIL PROTECTED] list.
>
> Hope this clears things up.
>
> Regards,
> Arved Sandstrom
>
> -Original Message-
> From: Wayne Elliott [mailto:[EMAIL PROTECTED]
> Sent: March 29, 2002 10:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: When a page is not a page
>
>
> Thanks for the tips guys. However  does
> not like being treated like a number, as it does not assign
> to a variable numerically. This was surprising. The following
> snippet
>
>  
> - 
> -  
>
> -  
> - 
> - 
> - 
> - 
>   
>
> produces the following output
>
> On page (sheet) 1.
>
> - 1 - - NaN - NaN - - NaN - 1
>
> On sheet 2.
>
> - 2 - - NaN - NaN - - NaN - 1
>
> i.e On sheet n.
>
> - n - - NaN - NaN - - NaN - 1
>
> Expected for sheet n was
>
> - n - n - 2n - 2n - 2n? - 2n+1- 1?
>
> Not sure why page-number behaves non-numerically. Perhaps it
> is something to do with the number formatting, e.g 1 = i = a
> etc. Perhaps there is a low level function that can extract
> the number part from fo:page-number?
>
> What I really need is a way of determining the number of the
> current column, based on column count and page number,but
> this also eludes me.
>
> WPE
>
> - Original Message -
> From: "Matthew L. Avizinis" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 30, 2002 9:42 AM
> Subject: RE: When a page is not a page
>
>
> > I believe this will not work as Wayne intends.
> > Page numbers will be generated sequentially starting with the
> > initial-page-number.
> > So, this might work better:
> >
> > 
> >
> > then
> >
> > 
> >
> > then
> >
> > Then  for the left page
> > number
> > and  for the right page
> > number
> > hth,
> >
> >Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
> > Gleim Publications, Inc.
> >4201 NW 95th Blvd.
> >  Gainesville, FL 32606
> > (352)-375-0772 ext. 101
> >   www.gleim.com <http://www.gleim.com>
> >
> >
> > > -Original Message-

RE: When a page is not a page

2002-03-30 Thread Matthew L. Avizinis
Precisely.  I thought I just said that.  You're just more eloquent... :-)

> -Original Message-
> From: Arved Sandstrom [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 29, 2002 9:48 PM
> To: [EMAIL PROTECTED]
> Subject: RE: When a page is not a page
>
>
> Here is the thing. XSLT and XSL-FO are independent. XSL-FO has no more
> special meaning to XSLT than does MathML or DocBook or SVG. XSLT
> understands
> its own elements (including extensions of course). It understands
> no others.
>
>  (or as Ken Holman points out,  in the
> http://www.w3.org/1999/XSL/Format namespace, since we may assign
> any prefix
> we like, or none) is not acted on by the XSL-FO formatter to produce a
> number until after XSLT is done. Period.
>
> And note that  never actually _is_ a number, and in fact
> the formatter is not required to even generate a stringified page-number.
>
> This is what the XSL Recommendation allows or does not allow you to do. If
> you feel that there is a compelling use case for being able to do what you
> want to do, I'd suggest writing it up and submitting it to the
> [EMAIL PROTECTED] list.
>
> Hope this clears things up.
>
> Regards,
> Arved Sandstrom
>
> -Original Message-
> From: Wayne Elliott [mailto:[EMAIL PROTECTED]
> Sent: March 29, 2002 10:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: When a page is not a page
>
>
> Thanks for the tips guys. However  does
> not like being treated like a number, as it does not assign
> to a variable numerically. This was surprising. The following
> snippet
>
>  
> - 
> -  
>
> -  
> - 
> - 
> - 
> - 
>   
>
> produces the following output
>
> On page (sheet) 1.
>
> - 1 - - NaN - NaN - - NaN - 1
>
> On sheet 2.
>
> - 2 - - NaN - NaN - - NaN - 1
>
> i.e On sheet n.
>
> - n - - NaN - NaN - - NaN - 1
>
> Expected for sheet n was
>
> - n - n - 2n - 2n - 2n? - 2n+1- 1?
>
> Not sure why page-number behaves non-numerically. Perhaps it
> is something to do with the number formatting, e.g 1 = i = a
> etc. Perhaps there is a low level function that can extract
> the number part from fo:page-number?
>
> What I really need is a way of determining the number of the
> current column, based on column count and page number,but
> this also eludes me.
>
> WPE
>
> - Original Message -
> From: "Matthew L. Avizinis" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 30, 2002 9:42 AM
> Subject: RE: When a page is not a page
>
>
> > I believe this will not work as Wayne intends.
> > Page numbers will be generated sequentially starting with the
> > initial-page-number.
> > So, this might work better:
> >
> > 
> >
> > then
> >
> > 
> >
> > then
> >
> > Then  for the left page
> > number
> > and  for the right page
> > number
> > hth,
> >
> >    Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
> > Gleim Publications, Inc.
> >4201 NW 95th Blvd.
> >  Gainesville, FL 32606
> > (352)-375-0772 ext. 101
> >   www.gleim.com <http://www.gleim.com>
> >
> >
> > > -Original Message-
> > > From: David Wood [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, March 29, 2002 8:03 PM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: Re: When a page is not a page
> > >
> > >
> > > Just speculating, but have you tried putting the page-number
> > > element inside
> > > a variable?
> > >
> > > i.e.:
> > >
> > > 
> > >
> > > Then , etc...
> > >
> > > I haven't tried this, but it's just what pops into my head...
> > >
> > > -David
> > >
> > > At 08:44 AM 3/30/2002 +0800, Wayne Elliott wrote:
> > > >A picture paints a thousand words...
> > > >
> > > >   ---
> > > >  | ... : ..  |
> > > >  | ... : ..  |
> > > >  | ... : ..  |
> > > >  | ... : ..  |
> > > >  | ... : ..  |
> > > >  | ... : ..  |
> > > >  | ... : ..  |
> > > >  | ... : ..  |
> > > >  | ... : ..  |
> > > >  | ... : ..

Re: When a page is not a page

2002-03-30 Thread Tim Landscheidt
Wayne Elliott <[EMAIL PROTECTED]> writes:

> [...]
> Perhaps I am wrong in my approach and there is a way of
> specifying two page regions per page/sheet, but I have
> not found it yet.

I would choose a totally different approach: Layout your
book with one page per page (:-)) and post-process the PDF
(oder Postscript) with another tool. For this particular
problem, there are many, very mature tools "ready to use".

  You also gain the advantage that if you circulate the PDF
or Postscript file, the user can read your document "page
per page" and isn't irritated why the command "Go to page
#7" takes him to page #12.

Tim


RE: When a page is not a page

2002-03-30 Thread Arved Sandstrom
Here is the thing. XSLT and XSL-FO are independent. XSL-FO has no more
special meaning to XSLT than does MathML or DocBook or SVG. XSLT understands
its own elements (including extensions of course). It understands no others.

 (or as Ken Holman points out,  in the
http://www.w3.org/1999/XSL/Format namespace, since we may assign any prefix
we like, or none) is not acted on by the XSL-FO formatter to produce a
number until after XSLT is done. Period.

And note that  never actually _is_ a number, and in fact
the formatter is not required to even generate a stringified page-number.

This is what the XSL Recommendation allows or does not allow you to do. If
you feel that there is a compelling use case for being able to do what you
want to do, I'd suggest writing it up and submitting it to the
[EMAIL PROTECTED] list.

Hope this clears things up.

Regards,
Arved Sandstrom

-Original Message-
From: Wayne Elliott [mailto:[EMAIL PROTECTED]
Sent: March 29, 2002 10:15 PM
To: [EMAIL PROTECTED]
Subject: Re: When a page is not a page


Thanks for the tips guys. However  does
not like being treated like a number, as it does not assign
to a variable numerically. This was surprising. The following
snippet

 
- 
-  
   
-  
- 
- 
- 
- 
  

produces the following output

On page (sheet) 1.

- 1 - - NaN - NaN - - NaN - 1

On sheet 2.

- 2 - - NaN - NaN - - NaN - 1

i.e On sheet n.

- n - - NaN - NaN - - NaN - 1

Expected for sheet n was

- n - n - 2n - 2n - 2n? - 2n+1- 1?

Not sure why page-number behaves non-numerically. Perhaps it
is something to do with the number formatting, e.g 1 = i = a
etc. Perhaps there is a low level function that can extract
the number part from fo:page-number?

What I really need is a way of determining the number of the
current column, based on column count and page number,but
this also eludes me.

WPE

- Original Message -
From: "Matthew L. Avizinis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 30, 2002 9:42 AM
Subject: RE: When a page is not a page


> I believe this will not work as Wayne intends.
> Page numbers will be generated sequentially starting with the
> initial-page-number.
> So, this might work better:
>
> 
>
> then
>
> 
>
> then
>
> Then  for the left page
> number
> and  for the right page
> number
> hth,
>
>Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
> Gleim Publications, Inc.
>4201 NW 95th Blvd.
>  Gainesville, FL 32606
> (352)-375-0772 ext. 101
>   www.gleim.com <http://www.gleim.com>
>
>
> > -Original Message-
> > From: David Wood [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 29, 2002 8:03 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: When a page is not a page
> >
> >
> > Just speculating, but have you tried putting the page-number
> > element inside
> > a variable?
> >
> > i.e.:
> >
> > 
> >
> > Then , etc...
> >
> > I haven't tried this, but it's just what pops into my head...
> >
> > -David
> >
> > At 08:44 AM 3/30/2002 +0800, Wayne Elliott wrote:
> > >A picture paints a thousand words...
> > >
> > >   ---
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  |1:2|
> > >   ---
> > >
> > >The picture above represents a single sheet of A4 (Letter)
> > >paper. However it also represents two pages in a book, and
> > >if the page is folded down the dotted line it even starts to
> > >look like a book. My problem is this; I need the page number
> > >sequence as displayed in the  picture - ie. 2 pages per page (sheet)
> > >
> > >I have no trouble laying out the text flow correctly using
> > >stuff like
> > >
> > >  > >page-height="{$pageheight}mm"
> > >page-width="{$pagewidth}mm"
> > >  

Re: When a page is not a page

2002-03-30 Thread Wayne Elliott
Thanks for the tips guys. However  does
not like being treated like a number, as it does not assign
to a variable numerically. This was surprising. The following 
snippet 

 
- 
-   
   
-  
- 
- 
- 
- 
  

produces the following output

On page (sheet) 1.

- 1 - - NaN - NaN - - NaN - 1

On sheet 2.

- 2 - - NaN - NaN - - NaN - 1

i.e On sheet n.

- n - - NaN - NaN - - NaN - 1

Expected for sheet n was 

- n - n - 2n - 2n - 2n? - 2n+1- 1?

Not sure why page-number behaves non-numerically. Perhaps it 
is something to do with the number formatting, e.g 1 = i = a
etc. Perhaps there is a low level function that can extract 
the number part from fo:page-number? 

What I really need is a way of determining the number of the 
current column, based on column count and page number,but 
this also eludes me.

WPE

- Original Message - 
From: "Matthew L. Avizinis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 30, 2002 9:42 AM
Subject: RE: When a page is not a page


> I believe this will not work as Wayne intends.
> Page numbers will be generated sequentially starting with the
> initial-page-number.
> So, this might work better:
> 
> 
> 
> then
> 
> 
> 
> then
> 
> Then  for the left page
> number
> and  for the right page
> number
> hth,
> 
>Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
> Gleim Publications, Inc.
>4201 NW 95th Blvd.
>  Gainesville, FL 32606
> (352)-375-0772 ext. 101
>   www.gleim.com <http://www.gleim.com>
> 
> 
> > -Original Message-
> > From: David Wood [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 29, 2002 8:03 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: When a page is not a page
> >
> >
> > Just speculating, but have you tried putting the page-number
> > element inside
> > a variable?
> >
> > i.e.:
> >
> > 
> >
> > Then , etc...
> >
> > I haven't tried this, but it's just what pops into my head...
> >
> > -David
> >
> > At 08:44 AM 3/30/2002 +0800, Wayne Elliott wrote:
> > >A picture paints a thousand words...
> > >
> > >   ---
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  |1:2|
> > >   ---
> > >
> > >The picture above represents a single sheet of A4 (Letter)
> > >paper. However it also represents two pages in a book, and
> > >if the page is folded down the dotted line it even starts to
> > >look like a book. My problem is this; I need the page number
> > >sequence as displayed in the  picture - ie. 2 pages per page (sheet)
> > >
> > >I have no trouble laying out the text flow correctly using
> > >stuff like
> > >
> > >  > >page-height="{$pageheight}mm"
> > >page-width="{$pagewidth}mm"
> > >margin-left="{$marginleft}mm"
> > >margin-right="{$marginright}mm"
> > >margin-top="{$margintop}mm"
> > >margin-bottom="{$marginbottom}mm">
> > >
> > >   
> > >
> > >   
> > >
> > >
> > >> >   margin-bottom="10mm"
> > >   column-count="2"
> > >   column-gap="20mm"/>
> > >
> > >
> > >
> > > 
> > >
> > >and I defined a static region for the page number values
> > >using the following
> > >
> > >> >  font-family="serif"
> > >  font-size="9pt">
> > >
> > > 
> > >   
> > >   
> > >   
> > > 
> > >   
> > > 
> > >
> > >  
> > >   
> > >   
> > > 
> > >
> > >  
> > >   
> > > 
> > >   
> > > 
> > >
> > >   
> > >
> > >but I do not know how to get the  to play
> > >the game and give me more than one page number per page.
> > >
> > >Perhaps I am wrong in my approach and there is a way of
> > >specifying two page regions per page/sheet, but I have
> > >not found it yet.
> > >
> > >Any ideas?
> > >
> > >WPE
> 
> 


RE: When a page is not a page

2002-03-30 Thread Matthew L. Avizinis
Nope.  Neither will work.  Sorry.  That's what I get for speaking b4
thinking.
Where's the variable going to get it's value from?  Certainly not from the
 instruction -- that's for the FOP processor to use not the
XSLT processor.  You'll get NaN.

> -Original Message-
> From: Matthew L. Avizinis [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 29, 2002 8:43 PM
> To: [EMAIL PROTECTED]
> Subject: RE: When a page is not a page
>
>
> I believe this will not work as Wayne intends.
> Page numbers will be generated sequentially starting with the
> initial-page-number.
> So, this might work better:
>
> 
>
> then
>
> 
>
> then
>
> Then  for the left page
> number
> and  for the right page
> number
> hth,
>
>Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
> Gleim Publications, Inc.
>4201 NW 95th Blvd.
>  Gainesville, FL 32606
> (352)-375-0772 ext. 101
>   www.gleim.com <http://www.gleim.com>
>
>
> > -Original Message-
> > From: David Wood [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 29, 2002 8:03 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: When a page is not a page
> >
> >
> > Just speculating, but have you tried putting the page-number
> > element inside
> > a variable?
> >
> > i.e.:
> >
> > 
> >
> > Then , etc...
> >
> > I haven't tried this, but it's just what pops into my head...
> >
> > -David
> >
> > At 08:44 AM 3/30/2002 +0800, Wayne Elliott wrote:
> > >A picture paints a thousand words...
> > >
> > >   ---
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  | ... : ..  |
> > >  |1:2|
> > >   ---
> > >
> > >The picture above represents a single sheet of A4 (Letter)
> > >paper. However it also represents two pages in a book, and
> > >if the page is folded down the dotted line it even starts to
> > >look like a book. My problem is this; I need the page number
> > >sequence as displayed in the  picture - ie. 2 pages per page (sheet)
> > >
> > >I have no trouble laying out the text flow correctly using
> > >stuff like
> > >
> > >  > >page-height="{$pageheight}mm"
> > >page-width="{$pagewidth}mm"
> > >margin-left="{$marginleft}mm"
> > >margin-right="{$marginright}mm"
> > >margin-top="{$margintop}mm"
> > >margin-bottom="{$marginbottom}mm">
> > >
> > >   
> > >
> > >   
> > >
> > >
> > >> >   margin-bottom="10mm"
> > >   column-count="2"
> > >   column-gap="20mm"/>
> > >
> > >
> > >
> > > 
> > >
> > >and I defined a static region for the page number values
> > >using the following
> > >
> > >> >  font-family="serif"
> > >  font-size="9pt">
> > >
> > > 
> > >   
> > >   
> > >   
> > > 
> > >   
> > > 
> > >
> > >  
> > >   
> > >   
> > > 
> > >
> > >  
> > >   
> > > 
> > >   
> > > 
> > >
> > >   
> > >
> > >but I do not know how to get the  to play
> > >the game and give me more than one page number per page.
> > >
> > >Perhaps I am wrong in my approach and there is a way of
> > >specifying two page regions per page/sheet, but I have
> > >not found it yet.
> > >
> > >Any ideas?
> > >
> > >WPE



RE: When a page is not a page

2002-03-30 Thread Matthew L. Avizinis
I believe this will not work as Wayne intends.
Page numbers will be generated sequentially starting with the
initial-page-number.
So, this might work better:



then



then

Then  for the left page
number
and  for the right page
number
hth,

   Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
Gleim Publications, Inc.
   4201 NW 95th Blvd.
 Gainesville, FL 32606
(352)-375-0772 ext. 101
  www.gleim.com <http://www.gleim.com>


> -Original Message-
> From: David Wood [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 29, 2002 8:03 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: When a page is not a page
>
>
> Just speculating, but have you tried putting the page-number
> element inside
> a variable?
>
> i.e.:
>
> 
>
> Then , etc...
>
> I haven't tried this, but it's just what pops into my head...
>
> -David
>
> At 08:44 AM 3/30/2002 +0800, Wayne Elliott wrote:
> >A picture paints a thousand words...
> >
> >   ---
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  | ... : ..  |
> >  |1:2|
> >   ---
> >
> >The picture above represents a single sheet of A4 (Letter)
> >paper. However it also represents two pages in a book, and
> >if the page is folded down the dotted line it even starts to
> >look like a book. My problem is this; I need the page number
> >sequence as displayed in the  picture - ie. 2 pages per page (sheet)
> >
> >I have no trouble laying out the text flow correctly using
> >stuff like
> >
> >  >page-height="{$pageheight}mm"
> >page-width="{$pagewidth}mm"
> >margin-left="{$marginleft}mm"
> >margin-right="{$marginright}mm"
> >margin-top="{$margintop}mm"
> >margin-bottom="{$marginbottom}mm">
> >
> >   
> >
> >   
> >
> >
> >>   margin-bottom="10mm"
> >   column-count="2"
> >   column-gap="20mm"/>
> >
> >
> >
> > 
> >
> >and I defined a static region for the page number values
> >using the following
> >
> >>  font-family="serif"
> >  font-size="9pt">
> >
> > 
> >   
> >   
> >   
> > 
> >   
> > 
> >
> >  
> >   
> >   
> > 
> >
> >  
> >   
> > 
> >   
> > 
> >
> >   
> >
> >but I do not know how to get the  to play
> >the game and give me more than one page number per page.
> >
> >Perhaps I am wrong in my approach and there is a way of
> >specifying two page regions per page/sheet, but I have
> >not found it yet.
> >
> >Any ideas?
> >
> >WPE



Re: When a page is not a page

2002-03-30 Thread David Wood
Just speculating, but have you tried putting the page-number element inside 
a variable?

i.e.:

Then , etc...
I haven't tried this, but it's just what pops into my head...
-David
At 08:44 AM 3/30/2002 +0800, Wayne Elliott wrote:
A picture paints a thousand words...
  ---
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 | ... : ..  |
 |1:2|
  ---
The picture above represents a single sheet of A4 (Letter)
paper. However it also represents two pages in a book, and
if the page is folded down the dotted line it even starts to
look like a book. My problem is this; I need the page number
sequence as displayed in the  picture - ie. 2 pages per page (sheet)
I have no trouble laying out the text flow correctly using
stuff like

  
  
  


and I defined a static region for the page number values
using the following
  

  
  
  

  

   
 
  
  

   
 
  

  

  
but I do not know how to get the  to play
the game and give me more than one page number per page.
Perhaps I am wrong in my approach and there is a way of
specifying two page regions per page/sheet, but I have
not found it yet.
Any ideas?
WPE