Re: text-decoration in page-number-citation

2005-03-03 Thread Jeremias Maerki
I'm sure you're using the right syntax, but text-decoration has not been
implemented for page-number-citation in FOP 0.20.5. That's something
that is already addressed in the redesign but you will have to live
without this feature for some time I'm afraid.

On 02.03.2005 23:52:09 William Brogden wrote:
>   I am trying to get text-decoration="underline" in a
> page-number-citation to work. I have tried both the
> containing block and the page-number-citation element
> itself. The result inherits the font and color from the
> block but is not underlined.
> 
> Is this a known problem or am I just not using the right syntax?
> Bill


Jeremias Maerki


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



text-decoration in page-number-citation

2005-03-02 Thread William Brogden
 I am trying to get text-decoration="underline" in a
page-number-citation to work. I have tried both the
containing block and the page-number-citation element
itself. The result inherits the font and color from the
block but is not underlined.
Is this a known problem or am I just not using the right syntax?
Bill
--
Java Goodies at http://www.wbrogden.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Page number!! Re: Page header/footer in FOP

2003-11-20 Thread Chris Bowditch
From: "Felice Angemi" <[EMAIL PROTECTED]>
I need to know if i can put in each page (in pdf generated by FOP) the 
number of the current page
wrt the total page of the document!
In poor words i need to put a string with the following format in each 
page:
"Page 2 of N"

This is straight forward. See
http://xml.apache.org/fop/fo.html#fo-total-pages
Chris
_
Find a cheaper internet access deal - choose one to suit you. 
http://www.msn.co.uk/internetaccess

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


Page number!! Re: Page header/footer in FOP

2003-11-20 Thread Felice Angemi
Hi All,
**(Maybe this is an old question, don't be angry with 
me)*
I need to know if i can put in each page (in pdf generated by FOP) the 
number of the current page
wrt the total page of the document!
In poor words i need to put a string with the following format in each page:
"Page 2 of N"

So the question is, can i know the total page generated before the end of 
the FOP job???

Thanks you all
Felix
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


Re: show page number with current-page-no / total-page-no (ie, 3/10)

2003-07-03 Thread Eddie
You can do it by:
 /  
-Original message-From:Zahidul Islam<[EMAIL PROTECTED]>To:fop-user<[EMAIL PROTECTED]>Date: Wed, 2 Jul 2003 20:28:03 -0700 (PDT)Subject: show page number with current-page-no / total-page-no (ie, 3/10)

hello all
   i want to show the page number in all the pages at the footer. for showing current page number i used . but i want to show the page number in the given format ( current-page-no / total-page-no (ie, 3/10) ). how can i do that. pls help me.
 
zahid


Do you Yahoo!?Free online calendar with sync to Outlook(TM). 


RE: show page number with current-page-no / total-page-no (ie, 3/10)

2003-07-03 Thread Victor Mote
Zahidul Islam wrote:

< Start >
   i want to show the page number in all the pages at the footer.
for showing current page number i used . but i want to show
the page number in the given format ( current-page-no / total-page-no (ie,
3/10) ). how can i do that. pls help me.
< End >

See:
http://xml.apache.org/fop/fo.html#fo-total-pages

Victor Mote


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



Re: show page number with current-page-no / total-page-no (ie, 3/10)

2003-07-03 Thread Sherlane Lam

You can try to use  tag.



--- Zahidul Islam <[EMAIL PROTECTED]> wrote:
> hello all
>i want to show the page number in all the
> pages at the footer. for showing current page number
> i used . but i want to show the
> page number in the given format ( current-page-no /
> total-page-no (ie, 3/10) ). how can i do that. pls
> help me.
>  
> zahid
> 
> 
> -
> Do you Yahoo!?
> Free online calendar with sync to Outlook(TM).


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



show page number with current-page-no / total-page-no (ie, 3/10)

2003-07-03 Thread Zahidul Islam
hello all
   i want to show the page number in all the pages at the footer. for showing current page number i used . but i want to show the page number in the given format ( current-page-no / total-page-no (ie, 3/10) ). how can i do that. pls help me.
 
zahid
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Re: AW: Problem with layout of page-number-citation

2003-05-27 Thread J.Pietschmann
Mark Baier wrote:
here is the fo-file to reproduce the problem with the page-number-citation.
I normally use a special font for a company logo which i don't provide, but 
without it
the problem is reproducable nevertheless.
Tracked down: It's a problem with recalculating the
width while resolving the page-number-citation.
J.Pietschmann

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


AW: Problem with layout of page-number-citation

2003-05-26 Thread Mark Baier
Hi,

here is the fo-file to reproduce the problem with the page-number-citation.
I normally use a special font for a company logo which i don't provide, but 
without it
the problem is reproducable nevertheless.

Thanks in advance,

Mark 


Mark Baier wrote:
> i'm using fop0.20.5.rc3a and the layout of a line containing a page number in 
> the style Page 1/20 is now
> improved highly.
> My problem is that on the last generated page the text Page 20/20 is moved by 
> 0.2cm to the right.
> On every other page the label is printed with the new release perfectly.

Can you reduce the file to a one or two page sample and post the
FO code to the list?

J.Pietschmann



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



problem.fo
Description: problem.fo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with layout of page-number-citation

2003-05-24 Thread J.Pietschmann
Peter B. West wrote:
It's possible that the transition from the teen numbers to '20' has 
tripped some layout boundary.
If it's properly right aligned, it should not.
J.Pietschmann

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


Re: Problem with layout of page-number-citation

2003-05-24 Thread Peter B. West
Joerg,
It's possible that the transition from the teen numbers to '20' has 
tripped some layout boundary.

Peter
J.Pietschmann wrote:
Mark Baier wrote:
i'm using fop0.20.5.rc3a and the layout of a line containing a page 
number in the style Page 1/20 is now
improved highly.
My problem is that on the last generated page the text Page 20/20 is 
moved by 0.2cm to the right.
On every other page the label is printed with the new release perfectly.

Can you reduce the file to a one or two page sample and post the
FO code to the list?
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Peter B. West  http://www.powerup.com.au/~pbwest/resume.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Problem with layout of page-number-citation

2003-05-23 Thread J.Pietschmann
Mark Baier wrote:
i'm using fop0.20.5.rc3a and the layout of a line containing a page number in 
the style Page 1/20 is now
improved highly.
My problem is that on the last generated page the text Page 20/20 is moved by 
0.2cm to the right.
On every other page the label is printed with the new release perfectly.
Can you reduce the file to a one or two page sample and post the
FO code to the list?
J.Pietschmann

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


Problem with layout of page-number-citation

2003-05-23 Thread Mark Baier
Hi all,

i'm using fop0.20.5.rc3a and the layout of a line containing a page number in 
the style Page 1/20 is now
improved highly.
My problem is that on the last generated page the text Page 20/20 is moved by 
0.2cm to the right.
On every other page the label is printed with the new release perfectly.
Does someone know a workaround for this problem ???

Greets,

Mark

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



Re: RE : page-number

2003-05-15 Thread J.Pietschmann
Philippe PITHON wrote:
But I can’t play with page sequence !
I would like to carry out a initial-page-number=0 in a template
You seem to lack imagination, as well as proper nomenclature.
An initial page number can *only* be set on a fo:page-sequence.
There is no way to do this on any other FO. Furthermore there
is no other way to force the page counter to a specific value.
Your somewhat terse problem description indicates that you don't
know how to code the start of a new page sequence in XSLT. I
guess you have a grouping problem
 http://www.jenitennison.com/xslt/grouping
If you supply a more complete description of your original problem
someone might supply more hints.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE : page-number

2003-05-15 Thread Philippe PITHON









Hello !

But I can’t play
with page sequence !

I would like to carry out
a initial-page-number=0 in a template

 

 

-Message d'origine-
De : Oscar Schoof
[mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 14 mai 2003
16:22
À : [EMAIL PROTECTED]
Objet : Re: page-number

 

Start a new page sequence
like:

 





can we initialize the number of page to 0 at page break?

 



 






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

Re: page-number

2003-05-14 Thread Oscar Schoof




Start a new page sequence like:

 

  
  can
we initialize the number of page to 0 at page break?
  
  
  
  






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



page-number

2003-05-14 Thread Philippe PITHON








Hello :

 

can we initialize the
number of page to 0 at page break?

 <fo:block break-after="page"/>

 

explanation :

 

in my xsl treatment, I
included the option: page-number 

and I would like in the
5th page classification sets out again to zero

is this possible?

 








RE: Page number--Correction

2003-04-08 Thread Koes, Derrick

Correction:

Add  as the LAST child of , don't wrap
everything.  My apologies.



-Original Message-
From: Koes, Derrick 
Sent: Tuesday, April 08, 2003 1:43 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Page number



Remove child  from the  parent.
Add  to parent  as the one and only child
(encompasses every other child that is currently in fo:flow).  Add the end
tag for the fo:block just before the .

BTW, this is an FAQ.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 08, 2003 1:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Page number


Here is the error

org.apache.fop.apps.FOPException: The id "last-page" already exists in this
document
  at
org.apache.fop.datatypes.IDReferences.createID(IDReferences.java:77)
  at org.apache.fop.fo.flow.Block.layout(Block.java:148)
  at org.apache.fop.fo.flow.StaticContent.layout(StaticContent.java:73)
  at
org.apache.fop.fo.pagination.PageSequence.layoutStaticContent(PageSequence.j
ava:428)
  at
org.apache.fop.fo.pagination.PageSequence.formatStaticContent(PageSequence.j
ava:392)
  at
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:358)
  at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:290)
  at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:218)
  at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
  at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
  at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown

Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
  at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  at org.apache.fop.apps.Driver.render(Driver.java:457)

Here is the style sheet

http://www.w3.org/1999/XSL/Transform"; xmlns:fo
="http://www.w3.org/1999/XSL/Format"; exclude-result-prefixes="fo">
  
  
  
  
  
http://www.w3.org/1999/XSL/Format";>
  

 

   
  

  
  

  
 

 



  page
 of








 


 

 
 





   
 


  
  
 
 

   

  

  



  

  
  
  
  
  


  

  

  
  

  

  










"Partridge, Michael" <[EMAIL PROTECTED]> on 04/08/2003 12:03:36
PM

Please respond to [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:
Subject:RE: Page number


Exactly what happens when you try that? Do you get a compiler error or a
transformer error? Also, please post your stylesheet so we can look at
it. Thanks.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: Page number



Hai,

I am tryinf to print page # in the format  1 0f 12.
I included the following tags it does not work.



and the tag
  @ the end of follow.

Could anyone pls help, in getting page number in the above mentioned
format.

Thanks
Vikram



-
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]










-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive tran

Re: Page number

2003-04-08 Thread Clay Leeds
Vikram,

I've modified your xsl-fo with two main fixes. I don't have time to test
it, but here're the changes:

1. If I recall, since xsl:include documents are treated almost as
"equals" with the parent xsl:document, the xsl:include must be the first
child of xsl:stylesheet.

2. The  must be the last thing in the fo:flow
section. That way, when you call it with:


  
Page  of 
  


It'll be able to calculate the page-number-citation value.

3. You're receiving the error, because you've placed  in the region-after which is repeated on *every* page.
Move it to the end of the fo:flow section, and you're set!

Good luck!


http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format"; exclude-result-prefixes="fo">
  
  
  
  
  
  
http://www.w3.org/1999/XSL/Format";>
  

 

   
  

  
  

  
 

 



  page
 of 






 


 

 
 





   
 

>

  
  
 
 

   

  

  



  

  
  
  
  
  


  

  

  
  

  


-- 
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


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



RE: Page number

2003-04-08 Thread Koes, Derrick


Remove child  from the  parent.
Add  to parent  as the one and only child
(encompasses every other child that is currently in fo:flow).  Add the end
tag for the fo:block just before the .

BTW, this is an FAQ.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 08, 2003 1:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Page number


Here is the error

org.apache.fop.apps.FOPException: The id "last-page" already exists in this
document
  at
org.apache.fop.datatypes.IDReferences.createID(IDReferences.java:77)
  at org.apache.fop.fo.flow.Block.layout(Block.java:148)
  at org.apache.fop.fo.flow.StaticContent.layout(StaticContent.java:73)
  at
org.apache.fop.fo.pagination.PageSequence.layoutStaticContent(PageSequence.j
ava:428)
  at
org.apache.fop.fo.pagination.PageSequence.formatStaticContent(PageSequence.j
ava:392)
  at
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:358)
  at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:290)
  at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:218)
  at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
  at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
  at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown

Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
  at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  at org.apache.fop.apps.Driver.render(Driver.java:457)

Here is the style sheet

http://www.w3.org/1999/XSL/Transform"; xmlns:fo
="http://www.w3.org/1999/XSL/Format"; exclude-result-prefixes="fo">
  
  
  
  
  
http://www.w3.org/1999/XSL/Format";>
  

 

   
  

  
  

  
 

 



  page
 of








 


 

 
 





   
 


  
  
 
 

   

  

  



  

  
  
  
  
  


  

  

  
  

  

  










"Partridge, Michael" <[EMAIL PROTECTED]> on 04/08/2003 12:03:36
PM

Please respond to [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:
Subject:RE: Page number


Exactly what happens when you try that? Do you get a compiler error or a
transformer error? Also, please post your stylesheet so we can look at
it. Thanks.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: Page number



Hai,

I am tryinf to print page # in the format  1 0f 12.
I included the following tags it does not work.



and the tag
  @ the end of follow.

Could anyone pls help, in getting page number in the above mentioned
format.

Thanks
Vikram



-
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]










-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

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



RE: Page number

2003-04-08 Thread vikram . x . kondadasula

Here is the error

org.apache.fop.apps.FOPException: The id "last-page" already exists in this
document
  at
org.apache.fop.datatypes.IDReferences.createID(IDReferences.java:77)
  at org.apache.fop.fo.flow.Block.layout(Block.java:148)
  at org.apache.fop.fo.flow.StaticContent.layout(StaticContent.java:73)
  at
org.apache.fop.fo.pagination.PageSequence.layoutStaticContent(PageSequence.java:428)
  at
org.apache.fop.fo.pagination.PageSequence.formatStaticContent(PageSequence.java:392)
  at
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:358)
  at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:290)
  at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:218)
  at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
  at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
  at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
  at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  at org.apache.fop.apps.Driver.render(Driver.java:457)

Here is the style sheet

http://www.w3.org/1999/XSL/Transform"; xmlns:fo
="http://www.w3.org/1999/XSL/Format"; exclude-result-prefixes="fo">
  
  
  
  
  
http://www.w3.org/1999/XSL/Format";>
  

 

   
  

  
  

  
 

 



  page
 of








 


 

 
 





   
 


  
  
 
 

   

  

  



  

  
  
  
  
  


  

  

  
  

  

  










"Partridge, Michael" <[EMAIL PROTECTED]> on 04/08/2003 12:03:36
PM

Please respond to [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:
Subject:RE: Page number


Exactly what happens when you try that? Do you get a compiler error or a
transformer error? Also, please post your stylesheet so we can look at
it. Thanks.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: Page number



Hai,

I am tryinf to print page # in the format  1 0f 12.
I included the following tags it does not work.



and the tag
  @ the end of follow.

Could anyone pls help, in getting page number in the above mentioned
format.

Thanks
Vikram



-
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]










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



RE: Page number

2003-04-08 Thread Partridge, Michael
Exactly what happens when you try that? Do you get a compiler error or a
transformer error? Also, please post your stylesheet so we can look at
it. Thanks.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 08, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: Page number



Hai,

I am tryinf to print page # in the format  1 0f 12.
I included the following tags it does not work.



and the tag
  @ the end of follow.

Could anyone pls help, in getting page number in the above mentioned
format.

Thanks
Vikram



-
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]



Page number

2003-04-08 Thread vikram . x . kondadasula

Hai,

I am tryinf to print page # in the format  1 0f 12.
I included the following tags it does not work.



and the tag
  @ the end of follow.

Could anyone pls help, in getting page number in the above mentioned
format.

Thanks
Vikram



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



Re: fix for page number alignment in TOC

2003-04-02 Thread Jeremias Maerki
Hmm, yes. See the download page I mentioned: 
http://xml.apache.org/fop/download.html
The tag is: fop-0_20_2-maintain

On 01.04.2003 23:29:15 Afshartous, Nick wrote:
> > -Original Message-
> > From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
>  
> > You're out of luck. The snapshots represent the development 
> > code for the
> > upcoming FOP 1.0. You need to download the code from CVS. 
> 
> Thanks, I downloaded the latest code from CVS and got the same
> error.  Should I be referencing a tag/version ?


Jeremias Maerki


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



fix for page number alignment in TOC

2003-04-01 Thread Afshartous, Nick
Title: fix for  page number alignment in TOC







> -Original Message-
> From: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
 
> You're out of luck. The snapshots represent the development 
> code for the
> upcoming FOP 1.0. You need to download the code from CVS. 


Thanks, I downloaded the latest code from CVS and got the same
error.  Should I be referencing a tag/version ?


   Nick




> On 01.04.2003 21:36:52 Afshartous, Nick wrote:
> > 
> > > Afshartous, Nick wrote:
> > > > I know that the issue of right-justifying 
> > > > page numbers in a TOC is a documented 
> > > > limitation
> > > > 
> > > > http://xml.apache.org/fop/faq.html#page_number_align
> > > > 
> > > > but I was wondering if anyone has managed to work
> > > > around this.  In other words has anyone found
> > > > a technique for making the page numbers
> > > > look right-justified in a TOC ?  Thanks 
> > > > for any info.
> > 
> > > From: J.Pietschmann [mailto:[EMAIL PROTECTED]] 
> > > This is fixed in CVS.
> > 
> > I built a JAR using xml-fop_20030401173520.tar.gz
> > but then got the exception below.  The only change
> > was to add the call to Driver.initialize)).
> > 
> > This error did not occur with fop-0.20.4.jar.   
> > 
> > Please advise, thanks.
> > 
> > Nick
> > 
> > java.lang.NullPointerException
> >     at 
> org.apache.fop.pdf.PDFDocument.outputHeader(PDFDocument.java:849)
> >     at
> > 
> org.apache.fop.render.pdf.PDFRenderer.startRenderer(PDFRendere
> r.java:297)
> >     at
> > 
> org.apache.fop.apps.LayoutHandler.startDocument(LayoutHandler.
> java:182)
> >     at
> > 
> org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:182)
> >     at
> > org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:459)
> >     at org.apache.fop.apps.Driver.render(Driver.java:617)
> >     at org.apache.fop.apps.Driver.run(Driver.java:664)
> >     at com.proactcorp.docgen.DocGen.fo2pdf(DocGen.java:98)
> >     at com.proactcorp.docgen.DocGen.main(DocGen.java:74)
> > Exception in thread "main" 
> > 
> > 
> >  private static ByteArrayOutputStream fo2pdf(Document foDocument) {
> > 
> > DocumentInputSource fopInputSource = new 
> DocumentInputSource(
> >  
> foDocument);
> > ByteArrayOutputStream out = new 
> ByteArrayOutputStream();    
> > Driver driver = new Driver(fopInputSource, out);
> > driver.initialize();
> > driver.setRenderer(Driver.RENDER_PDF);
> > 
> > try {
> >    
> > driver.run();
> > 
> > }
> > catch (java.io.IOException e) {
> > System.out.println("DocGen: IOException");
> > }
> > catch (org.apache.fop.apps.FOPException e) {
> > System.out.println("DocGen: FOPException");
> > }
> > 
> > return out;
> > 
> > }
> 
> 
> 
> Jeremias Maerki
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 





Re: page number alignment in TOC

2003-04-01 Thread Jeremias Maerki
You're out of luck. The snapshots represent the development code for the
upcoming FOP 1.0. You need to download the code from CVS. I've just
updated the information on the download page, but it'll take a while
until the changes will be online.

On 01.04.2003 21:36:52 Afshartous, Nick wrote:
> 
> > Afshartous, Nick wrote:
> > > I know that the issue of right-justifying 
> > > page numbers in a TOC is a documented 
> > > limitation
> > > 
> > > http://xml.apache.org/fop/faq.html#page_number_align
> > > 
> > > but I was wondering if anyone has managed to work
> > > around this.  In other words has anyone found
> > > a technique for making the page numbers
> > > look right-justified in a TOC ?  Thanks 
> > > for any info.
> 
> > From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
> > This is fixed in CVS.
> 
> I built a JAR using xml-fop_20030401173520.tar.gz
> but then got the exception below.  The only change
> was to add the call to Driver.initialize)).
> 
> This error did not occur with fop-0.20.4.jar.   
> 
> Please advise, thanks.
> 
> Nick
> 
> java.lang.NullPointerException
>   at org.apache.fop.pdf.PDFDocument.outputHeader(PDFDocument.java:849)
>   at
> org.apache.fop.render.pdf.PDFRenderer.startRenderer(PDFRenderer.java:297)
>   at
> org.apache.fop.apps.LayoutHandler.startDocument(LayoutHandler.java:182)
>   at
> org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:182)
>   at
> org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:459)
>   at org.apache.fop.apps.Driver.render(Driver.java:617)
>   at org.apache.fop.apps.Driver.run(Driver.java:664)
>   at com.proactcorp.docgen.DocGen.fo2pdf(DocGen.java:98)
>   at com.proactcorp.docgen.DocGen.main(DocGen.java:74)
> Exception in thread "main" 
> 
> 
>  private static ByteArrayOutputStream fo2pdf(Document foDocument) {
> 
> DocumentInputSource fopInputSource = new DocumentInputSource(
>  foDocument);
> ByteArrayOutputStream out = new ByteArrayOutputStream();
> Driver driver = new Driver(fopInputSource, out);
> driver.initialize();
> driver.setRenderer(Driver.RENDER_PDF);
> 
> try {
>
> driver.run();
> 
> }
> catch (java.io.IOException e) {
> System.out.println("DocGen: IOException");
> }
> catch (org.apache.fop.apps.FOPException e) {
> System.out.println("DocGen: FOPException");
> }
> 
> return out;
> 
> }



Jeremias Maerki


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



RE: page number alignment in TOC

2003-04-01 Thread Afshartous, Nick
Title: RE: page number alignment in TOC






> Afshartous, Nick wrote:
> > I know that the issue of right-justifying 
> > page numbers in a TOC is a documented 
> > limitation
> > 
> > http://xml.apache.org/fop/faq.html#page_number_align
> > 
> > but I was wondering if anyone has managed to work
> > around this.  In other words has anyone found
> > a technique for making the page numbers
> > look right-justified in a TOC ?  Thanks 
> > for any info.


> From: J.Pietschmann [mailto:[EMAIL PROTECTED]] 
> This is fixed in CVS.


I built a JAR using xml-fop_20030401173520.tar.gz
but then got the exception below.  The only change
was to add the call to Driver.initialize)).


This error did not occur with fop-0.20.4.jar.   


Please advise, thanks.


    Nick


java.lang.NullPointerException
    at org.apache.fop.pdf.PDFDocument.outputHeader(PDFDocument.java:849)
    at org.apache.fop.render.pdf.PDFRenderer.startRenderer(PDFRenderer.java:297)
    at org.apache.fop.apps.LayoutHandler.startDocument(LayoutHandler.java:182)
    at org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:182)
    at org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:459)
    at org.apache.fop.apps.Driver.render(Driver.java:617)
    at org.apache.fop.apps.Driver.run(Driver.java:664)
    at com.proactcorp.docgen.DocGen.fo2pdf(DocGen.java:98)
    at com.proactcorp.docgen.DocGen.main(DocGen.java:74)
Exception in thread "main" 



 private static ByteArrayOutputStream fo2pdf(Document foDocument) {


    DocumentInputSource fopInputSource = new DocumentInputSource(
 foDocument);
    ByteArrayOutputStream out = new ByteArrayOutputStream();    
    Driver driver = new Driver(fopInputSource, out);
    driver.initialize();
    driver.setRenderer(Driver.RENDER_PDF);
    
    try {
   
    driver.run();


    }
    catch (java.io.IOException e) {
    System.out.println("DocGen: IOException");
    }
    catch (org.apache.fop.apps.FOPException e) {
    System.out.println("DocGen: FOPException");
    }


    return out;
    
    }





Re: page number alignment in TOC

2003-03-30 Thread J.Pietschmann
Afshartous, Nick wrote:
 
I know that the issue of right-justifying 
page numbers in a TOC is a documented 
limitation

http://xml.apache.org/fop/faq.html#page_number_align
but I was wondering if anyone has managed to work
around this.  In other words has anyone found
a technique for making the page numbers
look right-justified in a TOC ?  Thanks 
for any info.
This is fixed in CVS.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


page number alignment in TOC

2003-03-28 Thread Afshartous, Nick
Title: page number alignment in TOC





 
I know that the issue of right-justifying 
page numbers in a TOC is a documented 
limitation


    http://xml.apache.org/fop/faq.html#page_number_align


but I was wondering if anyone has managed to work
around this.  In other words has anyone found
a technique for making the page numbers
look right-justified in a TOC ?  Thanks 
for any info.


    Nick





AW: initial-page-number; several page-sequences

2003-03-21 Thread Mark Baier
Oh,

shame on me, i should had checked the faq first.
Thank you very much and a great weekend to all,

Mark

-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. März 2003 11:56
An: [EMAIL PROTECTED]
Betreff: Re: initial-page-number; several page-sequences


FAQ:
http://xml.apache.org/fop/faq.html#blank_page_between_page_sequences

On 21.03.2003 11:49:49 Mark Baier wrote:
> i'm producing two page-sequences, one for the table of contents and one
> for the main report.
> The toc page-sequence should be numbered by roman numbers like I, II and so 
> on.
>  format="I">
> 
> The main report page-sequence should be numbered by numbers like 1, 2, 3 and 
> so on.
>  format="1" initial-page-number="1">
> 
> 
> The problem now is that the toc page sequence always produces an empty second 
> page which
> is not very useful ;-)


Jeremias Maerki


-
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: initial-page-number; several page-sequences

2003-03-21 Thread Jeremias Maerki
FAQ:
http://xml.apache.org/fop/faq.html#blank_page_between_page_sequences

On 21.03.2003 11:49:49 Mark Baier wrote:
> i'm producing two page-sequences, one for the table of contents and one
> for the main report.
> The toc page-sequence should be numbered by roman numbers like I, II and so 
> on.
>  format="I">
> 
> The main report page-sequence should be numbered by numbers like 1, 2, 3 and 
> so on.
>  format="1" initial-page-number="1">
> 
> 
> The problem now is that the toc page sequence always produces an empty second 
> page which
> is not very useful ;-)


Jeremias Maerki


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



initial-page-number; several page-sequences

2003-03-21 Thread Mark Baier
Hello all,

i'm producing two page-sequences, one for the table of contents and one
for the main report.
The toc page-sequence should be numbered by roman numbers like I, II and so on.


The main report page-sequence should be numbered by numbers like 1, 2, 3 and so 
on.



The problem now is that the toc page sequence always produces an empty second 
page which
is not very useful ;-)

This is my layout-master-set 















Any help will be appreciated,

thx in advance,

Mark


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



Re: AW: How do I rest Page Number to 1 for each new section/chapter

2003-02-24 Thread Narinder Garg
hi,
your xsl is wrong..
if iDocSys is the root element try using 
and in the fo:flow element use a simple 

You can refer the following link on xsl transformation...
http://www.ibiblio.org/xml/books/bible2/chapters/ch17.html
cheers
narinder

--- andrew mercer <[EMAIL PROTECTED]> wrote:
> Thanks,
> 
> Tried that but now get the following error when trying to convert the 
> .fo file to a .pdf file using org.apache.fop.apps.Fop:
> 
> fo:flow must contain block level children.
> 
> I have attached my .xsl file (as it is not too long) and left the 
> suggested  in See line 33.
> 
> Any other ideas, or is my xsl wrong!!.
> 
> Thanks Andrew
> 
> XSL FILE:
> 
> 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>xmlns:fo="http://www.w3.org/1999/XSL/Format";>
> 
>
> 
>
>  http://www.w3.org/1999/XSL/Format";>
>
>  page-height="8.0in" page-width="11in"
>margin-bottom="15pt" margin-top="15pt" master-name="odd">
>
>
>
>  
>  page-height="8.0in" page-width="11in"
>margin-bottom="15pt" margin-top="15pt" master-name="even">
>
>
>
>  
> 
>  
>
>   master-reference="even" odd-or-even="even"/>
>
>  
>
> 
>
>   initial-page-number="1"> 
> 
> 
> 
>
>  
>
> 
>  
>
>  
>
> 
>
>  
>
> 
>
>  
> break-after="page">
>  
>
>
>
>
>
>
>
>
> 
>
>  
>
>
>
>  
>Portfolio No
>  
>
>
>   vertical-align="top">
>
>  
>
>
>   vertical-align="top">
>
>  
>
>  
>
>
>
>
>  
>
>  
>
>
>  font-size="8pt"
>font-family="serif"
>line-height="10pt">Page 
>  
>
>  
> 
>  
>
>   text-align="left" vertical-align="middle"
>border-width="1pt" border-color="black">
>File
>  
>
>
>   text-align="left" vertical-align="middle"
>border-width="1pt" border-color="black">
>Drg No
>  
>
>
>   text-align="left" vertical-align="middle"
>border-width="1pt" border-color="black">
>Rev
>  
>
>
>   text-align="left" vertical-align="middle"
>border-width="1pt" border-color="black">
>Title
>  
>
>
>   text-align="left" vertical-align="middle"
>border-width="1pt" border-color="black">
>Type
>  
>
>
>   text-align="left" vertical-align="middle"
>border-width="1pt" border-color="black">
>Status
>  
>
>
>   text-align="left" vertical-align="middle"
>border-width="1pt" border-color="black">
>Unit
>  
>
>
>   text-align="left" vertical-align="middle"
>border-width="1pt" border-color="black">
>Floor
>  
>
>  
>
> 
>
>  
>
>  
>
>  
>  
>  
>  
>  
>  
>  
>  
> 
=== message truncated ===


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Re: AW: How do I rest Page Number to 1 for each new section/chapter

2003-02-24 Thread andrew mercer
Thanks,
Tried that but now get the following error when trying to convert the 
.fo file to a .pdf file using org.apache.fop.apps.Fop:

fo:flow must contain block level children.
I have attached my .xsl file (as it is not too long) and left the 
suggested  in See line 33.

Any other ideas, or is my xsl wrong!!.
Thanks Andrew
XSL FILE:

http://www.w3.org/1999/XSL/Transform";
  xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  
  
http://www.w3.org/1999/XSL/Format";>
  

  
  
  


  
  
  


  

  

  

  
 


  

  

  

  
  

  
  

  

  
  
  
  
  
  
  
  

  

  
  
  

  Portfolio No

  
  

  

  
  

  

  

  
  
  
  

  

  
  

  font-size="8pt"
  font-family="serif"
  line-height="10pt">Page 

  



  

  border-width="1pt" border-color="black">
  File

  
  

  border-width="1pt" border-color="black">
  Drg No

  
  

  border-width="1pt" border-color="black">
  Rev

  
  

  border-width="1pt" border-color="black">
  Title

  
  

  border-width="1pt" border-color="black">
  Type

  
  

  border-width="1pt" border-color="black">
  Status

  
  

  border-width="1pt" border-color="black">
  Unit

  
  

  border-width="1pt" border-color="black">
  Floor

  

  

  

  

  








  


  










  





  

  


  


  


  


  


  


  


  

  

  

  

  

  

  

  


Zieseniß, Markus wrote:
I would put a for-each loop around the main page-sequence like:




Seite ,



        



greetings Markus

-Ursprüngliche Nachricht-
Von:andrew mercer [SMTP:[EMAIL PROTECTED]
Gesendet am:Montag, 24. Februar 2003 12:

AW: How do I rest Page Number to 1 for each new section/chapter

2003-02-24 Thread "Zieseniß, Markus"
I would put a for-each loop around the main page-sequence like:








Seite ,














greetings Markus

> -Ursprüngliche Nachricht-
> Von:  andrew mercer [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Montag, 24. Februar 2003 12:15
> An:   [EMAIL PROTECTED]
> Betreff:  How do I rest Page Number to 1 for each new section/chapter
> 
> Hi,
> 
> Sorry if this is in the Archive, I have searched it and the FAQ to no
> avail.
> 
> I am trying to create a pdf file from an xml file that is converted 
> using fop. The layout is based mainly on tables/rows etc.
> 
> I can successfully create the document, however I have many sections 
> within the whole document that need to to be numbered separatley. 
> Therefore at the start of each new section the page number should revert 
> to one and then increment by one for each new page.
> 
> At present the page numbers will keep incrementing from the initial 
> value of one for each new page so they relate to the number of pages for 
> the whole document.
> 
> My xsl document is available if that helps.
> 
> Thanks Andrew Mercer
> -- 
> 
> 
> Andrew Mercer, Sundayta Ltd. http://www.sundayta.com
> iDocSys for Document Management. VisibleResults for Fundraising.
> Development and Hosting of Web Applications and Sites.
> 
> 
> -
> 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]



How do I rest Page Number to 1 for each new section/chapter

2003-02-24 Thread andrew mercer
Hi,
Sorry if this is in the Archive, I have searched it and the FAQ to no avail.
I am trying to create a pdf file from an xml file that is converted 
using fop. The layout is based mainly on tables/rows etc.

I can successfully create the document, however I have many sections 
within the whole document that need to to be numbered separatley. 
Therefore at the start of each new section the page number should revert 
to one and then increment by one for each new page.

At present the page numbers will keep incrementing from the initial 
value of one for each new page so they relate to the number of pages for 
the whole document.

My xsl document is available if that helps.
Thanks Andrew Mercer
--
Andrew Mercer, Sundayta Ltd. http://www.sundayta.com
iDocSys for Document Management. VisibleResults for Fundraising.
Development and Hosting of Web Applications and Sites.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: TOC page number problem

2003-02-24 Thread Doray, Arnold
Date: Fri, 21 Feb 2003 19:36:54 +0100
To:  [EMAIL PROTECTED]
From: "J.Pietschmann" <[EMAIL PROTECTED]>
Subject: Re: TOC page number problem
Message-ID: <[EMAIL PROTECTED]>

>Could you post the FO here? There have been lots of complaints
>about this and related issues, however, they are hard to track
>down without a possiblity to reporduce them.

To get this problem, the FO has to be pretty big, so I'll send it
to you off-list. If anyone else would like a copy please mail
me.

Regards,

Arnold Doray
Fugro GEOS



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



Re: TOC page number problem

2003-02-21 Thread J.Pietschmann
Doray, Arnold wrote:
Hi,
I'm trying to create a TOC for a report, and I've
run into a problem: The page number for the last
entry in the TOC is the same as the previous one,
IF the TOC reaches the bottom of the page. If the TOC
extends over a few pages, this "repeat" occurs 
at the end of each page. All other page numbers in the TOC 
are OK. This problem does not occur if the TOC does not 
reach the end of the page. 

To create the TOC, I've used ,
and the TOC itself is in a . The TOC and the
body of the report reside in different page-sequences.
The actual page numbering in the report's body is OK.
Could you post the FO here? There have been lots of complaints
about this and related issues, however, they are hard to track
down without a possiblity to reporduce them.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: page-number

2003-02-21 Thread Myriam Delperier
you right it was just because I had a break-before="odd-page"
- Original Message -
From: "J.Pietschmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 12:40 AM
Subject: Re: page-number


> Myriam Delperier wrote:
> > i've made an error when i wrote the message i've put it on the third.
> > but it doesn't work.
> > If i don't do anything my page has the number 3
> > and if I put the attribute the page still has the number 3 but i've got
2
> > white pages before : page1 anf page 2
>
> That's odd. Can you post the FO demonstrating the effect, preferably
> trimmed down to a handy file?
>
> J.Pietschmann
>
>
>
> -
> 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]



TOC page number problem

2003-02-21 Thread Doray, Arnold
Hi,

I'm trying to create a TOC for a report, and I've
run into a problem: The page number for the last
entry in the TOC is the same as the previous one,
IF the TOC reaches the bottom of the page. If the TOC
extends over a few pages, this "repeat" occurs 
at the end of each page. All other page numbers in the TOC 
are OK. This problem does not occur if the TOC does not 
reach the end of the page. 

To create the TOC, I've used ,
and the TOC itself is in a . The TOC and the
body of the report reside in different page-sequences.
The actual page numbering in the report's body is OK.

I'd greatly appreciate any pointers.

Arnold Doray
Fugro GEOS

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



Re: page-number

2003-02-20 Thread J.Pietschmann
Myriam Delperier wrote:
i've made an error when i wrote the message i've put it on the third.
but it doesn't work.
If i don't do anything my page has the number 3
and if I put the attribute the page still has the number 3 but i've got 2
white pages before : page1 anf page 2
That's odd. Can you post the FO demonstrating the effect, preferably
trimmed down to a handy file?
J.Pietschmann

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


Re: page-number

2003-02-20 Thread Myriam Delperier
thanks for ou help, I've found by problem ;  i had a break-before="odd-page"
on my fisrt block of the page-sequence :-)



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



Re: page-number

2003-02-20 Thread MARTIN Franck
When you start a new page-sequence the counter goes back to 1 so you don't
need to use any special attribute. Fop should wrn you when there's no more
page-sequence to put the fow content to. are you sure there no warnings or
errors?
You should post a sample of your xsl stylesheet
- Original Message -
From: "Myriam Delperier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 3:25 PM
Subject: Re: page-number


> i've made an error when i wrote the message i've put it on the third.
> but it doesn't work.
> If i don't do anything my page has the number 3
> and if I put the attribute the page still has the number 3 but i've got 2
> white pages before : page1 anf page 2
>
> - Original Message -
> From: "MARTIN Franck" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 20, 2003 3:26 PM
> Subject: Re: page-number
>
>
> > It's not surprising. You should put initial-page-number=1 on the third
> > page-sequence!
> > - Original Message -
> > From: "Myriam Delperier" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, February 20, 2003 3:18 PM
> > Subject: page-number
> >
> >
> > > I've got an  fo document which contains 3 page-sequence, and I'd like
> the
> > > first page of the third-page-sequence to  start with a page number= 1
> even
> > > if it's not the first page of my whole document(because of my 2 others
> > > page-sequences). I've tryed to put on my first page-sequence the
> attribute
> > > initial-page-number=1 but it's ot working as i want
> > > does anybody have an idea of how I could do this?
> > >
> > >
> > >
> > > -
> > > 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]
> >
> >
>
>
>
> -
> 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: page-number

2003-02-20 Thread Myriam Delperier
i've made an error when i wrote the message i've put it on the third.
but it doesn't work.
If i don't do anything my page has the number 3
and if I put the attribute the page still has the number 3 but i've got 2
white pages before : page1 anf page 2

- Original Message -
From: "MARTIN Franck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 3:26 PM
Subject: Re: page-number


> It's not surprising. You should put initial-page-number=1 on the third
> page-sequence!
> - Original Message -
> From: "Myriam Delperier" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 20, 2003 3:18 PM
> Subject: page-number
>
>
> > I've got an  fo document which contains 3 page-sequence, and I'd like
the
> > first page of the third-page-sequence to  start with a page number= 1
even
> > if it's not the first page of my whole document(because of my 2 others
> > page-sequences). I've tryed to put on my first page-sequence the
attribute
> > initial-page-number=1 but it's ot working as i want
> > does anybody have an idea of how I could do this?
> >
> >
> >
> > -
> > 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]
>
>



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



Re: page-number

2003-02-20 Thread MARTIN Franck
It's not surprising. You should put initial-page-number=1 on the third
page-sequence!
- Original Message -
From: "Myriam Delperier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 3:18 PM
Subject: page-number


> I've got an  fo document which contains 3 page-sequence, and I'd like the
> first page of the third-page-sequence to  start with a page number= 1 even
> if it's not the first page of my whole document(because of my 2 others
> page-sequences). I've tryed to put on my first page-sequence the attribute
> initial-page-number=1 but it's ot working as i want
> does anybody have an idea of how I could do this?
>
>
>
> -
> 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]



page-number

2003-02-20 Thread Myriam Delperier
I've got an  fo document which contains 3 page-sequence, and I'd like the
first page of the third-page-sequence to  start with a page number= 1 even
if it's not the first page of my whole document(because of my 2 others
page-sequences). I've tryed to put on my first page-sequence the attribute
initial-page-number=1 but it's ot working as i want
does anybody have an idea of how I could do this?



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



Re: page-number-citation and text-align="right"

2003-02-07 Thread J.Pietschmann
Stuart McGrigor wrote:
 When using page-number-citation to build table of contents,
text-align="right"
 doesn't line up all the page numbers properly.
FAQ:
 http://xml.apache.org/fop/faq.html#faq-N10255
Also already registered on bugzilla #1130.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: page-number-citation and text-align="right"

2003-02-07 Thread Clay Leeds
I think this has been covered before. As I understand it, right-aligning 
page-number stuff is buggy. It has to do with somehow trying to figure 
out how many digits are _going_ to be in the page-number. Because of 
this, it doesn't work perfectly. As a workaround, I'd recommend placing 
some non-breaking space characters ( ) to the right of your 
page-number-citation(s)--perhaps just one (if that works) or one for 
each digit (if you need more).

Hope this helps!
Stuart McGrigor wrote:
 When using page-number-citation to build table of contents,
text-align="right"
 doesn't line up all the page numbers properly.
 At first I thought it was something wrong in fo:leader but changing to
 tables with border shows the problem is still there.
 Interestingly 0.20.5RC is less wrong than 0.20.4 - but it's still wrong.
 Is this a bug? or have I missed something?
--
Stuart McGrigor
Principal Consultant
Kintore Consulting Ltd.,
P O Box 81, Martinborough,
New Zealand
 
  






  

   
   
 
   
 
 
 
   
 
   
 Chapter
 
 
   
 
 
   
 
   
 
   
 
   
 
   
  
  +---+---+
  |Chapter 1:Fixups   | 3 |
  |Chapter 2:Store Groups | 5 |
  |Chapter 3:Item | 8 |
  |Chapter 4:Item Sub-Types   | 15|
  |Chapter 5:Rentals  | 23|
  |Chapter 6:Sales Tax| 42|
  +---+---+
  
  +---+-+
  |Chapter 1:Fixups   | 3
  |Chapter 2:Store Groups | 5
  |Chapter 3:Item | 8
  |Chapter 4:Item Sub-Types   | 15   Border line down the middle
  |Chapter 5:Rentals  | 23  of 1st digit
  |Chapter 6:Sales Tax| 42   ...
  +---+-+
  
  +---+--+
  |Chapter 1:Fixups   | 3|
  |Chapter 2:Store Groups | 5|
  |Chapter 3:Item | 8|
  |Chapter 4:Item Sub-Types   | 15   Border line down the middle
  |Chapter 5:Rentals  | 23  of 2nd digit
  |Chapter 6:Sales Tax| 42   ...
  +---+--+
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


page-number-citation and text-align="right"

2003-02-07 Thread Stuart McGrigor

 When using page-number-citation to build table of contents,
text-align="right"
 doesn't line up all the page numbers properly.

 At first I thought it was something wrong in fo:leader but changing to
 tables with border shows the problem is still there.

 Interestingly 0.20.5RC is less wrong than 0.20.4 - but it's still wrong.
 Is this a bug? or have I missed something?

--
Stuart McGrigor
Principal Consultant
Kintore Consulting Ltd.,
P O Box 81, Martinborough,
New Zealand


 

  






  



   
   
 

   
 
 
 
   
 
   
 Chapter
 
 
   
 
 
   
 
   
 
   
 
   
 
   


  
  +---+---+
  |Chapter 1:Fixups   | 3 |
  |Chapter 2:Store Groups | 5 |
  |Chapter 3:Item | 8 |
  |Chapter 4:Item Sub-Types   | 15|
  |Chapter 5:Rentals  | 23|
  |Chapter 6:Sales Tax| 42|
  +---+---+


  
  +---+-+
  |Chapter 1:Fixups   | 3
  |Chapter 2:Store Groups | 5
  |Chapter 3:Item | 8
  |Chapter 4:Item Sub-Types   | 15   Border line down the middle
  |Chapter 5:Rentals  | 23  of 1st digit
  |Chapter 6:Sales Tax| 42   ...
  +---+-+

  
  +---+--+
  |Chapter 1:Fixups   | 3|
  |Chapter 2:Store Groups | 5|
  |Chapter 3:Item | 8|
  |Chapter 4:Item Sub-Types   | 15   Border line down the middle
  |Chapter 5:Rentals  | 23  of 2nd digit
  |Chapter 6:Sales Tax| 42   ...
  +---+--+


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



Re: page-number-citation and break-before

2002-06-15 Thread J.Pietschmann
Ralf Steppacher wrote:
 
 
(bonus points for describing what mechanisms are broken
by this approach)
I am sorry, but could you elaborate in that? My English is not that good 
It may give a different result (apart from the
page-number-citation) than
  
...
on some ocasions, in particular if the block has nested
blocks or inlines in the first line which require a
space-before. I'm not sure how often this occurs.
J.Pietschmann



Re: page-number-citation and break-before

2002-06-14 Thread Ralf Steppacher
I encountered a problem using a break-before="page" in a block that is 
referenced by a page-number-citation in my TOC.
[..]
This is a bug. Use
 
 
as a workaround.
Thanks! That works fine.

(bonus points for describing what mechanisms are broken
by this approach)
I am sorry, but could you elaborate in that? My English is not that good 
... :-(

Thanks for your help.
Ralf


Re: page-number-citation and break-before

2002-06-13 Thread J.Pietschmann
Ralf Steppacher wrote:
I encountered a problem using a break-before="page" in a block that is 
referenced by a page-number-citation in my TOC.
My document contains several chapters and inside every block element 
containing a Headline I set the break-before="page" attribute. These 
blocks are referenced by a page-number-citation and everything works 
fine but for the last chapter where no no page number shows up in my TOC.
If I leave out the break-before or use a break-after="page" in the last 
block of the last but one chapter the page-number is present.

Is this a bug or are there some deeper reasons why the page number can 
not be calculated in the case of the last page enforced by a break-before?
This is a bug. Use
 
 
as a workaround.
(bonus points for describing what mechanisms are broken
by this approach)
J.Pietschmann


page-number-citation and break-before

2002-06-13 Thread Ralf Steppacher
Hi all.
I encountered a problem using a break-before="page" in a block that is 
referenced by a page-number-citation in my TOC.
My document contains several chapters and inside every block element 
containing a Headline I set the break-before="page" attribute. These 
blocks are referenced by a page-number-citation and everything works 
fine but for the last chapter where no no page number shows up in my TOC.
If I leave out the break-before or use a break-after="page" in the last 
block of the last but one chapter the page-number is present.

Is this a bug or are there some deeper reasons why the page number can 
not be calculated in the case of the last page enforced by a break-before?

Thanks in advance.
Ralf Steppacher


Re: first page must have no page number

2002-05-08 Thread J.Pietschmann
Eric Smith wrote:
I tried implementing this with two page-master's but failed- 
could someone please pass me the code to implement this.

http://www.w3.org/1999/XSL/Format";>
  

  
  


  


  


  

  
  

  


  Stuff
  Stuff

  

J.Pietschmann


first page must have no page number

2002-05-08 Thread Eric Smith

I tried implementing this with two page-master's but failed- 
could someone please pass me the code to implement this.

thanx

-- 
Eric Smith 


Re: page-number-citation defect?

2002-04-13 Thread J.Pietschmann
Matthew L. Avizinis wrote:
  I have noticed that a  which refers to a block id
that also has a break-before="page" attribute does not emit a page number if
it's the last block.
...
Is this a defect?
I think so.
You can try to use an empty block for forcing the
page break:
 
   
  
   
   module content
 
If you have a space-before to set, place them carefully.
J.Pietschmann



RE: page-number-citation defect?

2002-04-13 Thread Matthew L. Avizinis
However, if I use a break-after="page" in the previous block instead the
page-number-citation works fine and emits all page numbers as expected.

> -Original Message-
> From: Matthew L. Avizinis [mailto:[EMAIL PROTECTED]
> Sent: Saturday, April 13, 2002 1:09 PM
> To: [EMAIL PROTECTED]
> Subject: page-number-citation defect?
>
>
> Hello all,
>   I have noticed that a  which refers to a block id
> that also has a break-before="page" attribute does not emit a
> page number if
> it's the last block.
>
> 
>
> and
>
> 
>
> Is this a defect?
>
>
> I am basically doing this:
> 
>   
>  
> module
> content
> 
> 
> module content
> 
>   
> 
>
> thanks in advance for suggestions,
>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>



page-number-citation defect?

2002-04-13 Thread Matthew L. Avizinis
Hello all,
  I have noticed that a  which refers to a block id
that also has a break-before="page" attribute does not emit a page number if
it's the last block.



and



Is this a defect?


I am basically doing this:

  
 
module
content


module content

  


thanks in advance for suggestions,
   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>



WG: page-number

2002-04-10 Thread Henrik Holle
hi,

how can i count all pages in my document? i have different "page-sequence
master-reference" but want to something like :" this document has 12 pages".

is it possible?


regards

henrik holle



page-number-citation oddities

2002-04-09 Thread jthaemlitz
I'm having a problem on my index page where the page number does not show
up on the last linked section of an index page.

It's identical code for all the listed items.  They are contained in a
table, which I can send if additional information is needed.  So I have a 2
page index area, the last two page references on each index page don't show
the page number.  Here's the relevant code on the index page.

 Page 


The link to the internal destination works (so the id seems to be ok) .  In
this case the block on page 86 looks like so.
Region
11

The  tag, located in the static "xsl-region-after" does
display the correct page number.

Any ideas of what could cause this type of phenomenon?

Thanks,

JohnPT






odd-and-even pages nothing to do with initial-page-number?

2002-04-04 Thread Sam Prokop
Hi All!

Has odd-and-even pages nothing to do with initial-page-number?
i got the following code, and use fop 0.20.3

... 
---^
^







^^














...

so the page-number should be on the left side on the first page, because
2 is an even-number, but it is on the right!
is this a known bug or am I missing something?

thanx in anticipation

Sam


Re: Table of content with page number

2001-07-12 Thread Jeremias Maerki
> Dear XSL users (sorry to send the mail to fop-dev, but some user questions
> are sent to that list, and as many, I post to the wrong list, but one never
> knows...)

The fop-user list is quite new, so probably people will need some time
to switch over.

> This is easy to create a table of content with chapter or paragraph number
> (well supported as I can yet do that with XSL and my XSL skills). 
> But I plan to put a filler and the true page number of the chapters, etc ...
> and this not so easy.
> 
> I can't use fo:page-number because the value returned is the current page
> number, so it doesn't work.
> 
> Probably a tag exists for doing that, any help or advise will be
> appreciated.

Have a look at the pdfoutline.fo or readme.fo example in
docs/examples/fo. The tags you will need are:
fo:page-number-citation
"id" attribute on fo:block

Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch



Table of content with page number

2001-07-11 Thread GALLO Jean-Claude
Dear XSL users (sorry to send the mail to fop-dev, but some user questions
are sent to that list, and as many, I post to the wrong list, but one never
knows...)

This is easy to create a table of content with chapter or paragraph number
(well supported as I can yet do that with XSL and my XSL skills). 
But I plan to put a filler and the true page number of the chapters, etc ...
and this not so easy.

I can't use fo:page-number because the value returned is the current page
number, so it doesn't work.

Probably a tag exists for doing that, any help or advise will be
appreciated.


Thanks jean claude