Re: Page numbering, FOP version
You can do the page "1/(total nb of pages)" using some "last block reference". I mean you can generate a block with a special id, like "my-very-last-paragraph" within the last page. then, you can use a page-number-citation that refers to your "my-very-last-paragraph" block. as for the last FOP dist, I have the very same question you ask ... where is the last REC dist ? Hope that helps Cyril At 11:46 07/01/2002 -0500, you wrote: >I'm sorry if this topic has been addressed before, but I couldn't find it in >the archives -- can FOP render page numbers as "page 1/(n[total number of >pages])"? > >Also, the index page at xml.apache.org/fop states "The latest version of Fop >is 0.20.2 and it supports the xsl:fo XSL-FO Version 1.0 W3C Recommendation" >(with a link to XSL1.0), but the distribution directory lists the download >as Fop-0.20.2RC with a date of 29-Sep-2001 (which, when I downloaded it in >September, still used the CR syntax). Has this file been updated to use the >Rec syntax, or is that available from CVS, or is this a typo? > >Thanks in advance, >John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Page numbering, FOP version
Hey John. Try this in the beginning of your xsl: / And this somewhere close to the end. Claus Nielsen Denmark "Dunning, John"To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: Page numbering, FOP version 07-01-2002 17:46 Please respond to fop-dev I'm sorry if this topic has been addressed before, but I couldn't find it in the archives -- can FOP render page numbers as "page 1/(n[total number of pages])"? Also, the index page at xml.apache.org/fop states "The latest version of Fop is 0.20.2 and it supports the xsl:fo XSL-FO Version 1.0 W3C Recommendation" (with a link to XSL1.0), but the distribution directory lists the download as Fop-0.20.2RC with a date of 29-Sep-2001 (which, when I downloaded it in September, still used the CR syntax). Has this file been updated to use the Rec syntax, or is that available from CVS, or is this a typo? Thanks in advance, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: page numbering question
I've done a fair amount of the stuff related to pagination, so even though I am currently in Vancouver on vacation, and away from all of my reference stuff, off the top of my pointy head I'd say, No, I don't think you can do what you want to do. Because you would have to add or subtract to fo:page-number, and you cannot currently do things like that. However, I'd say that this is something that would make for a very nice FOP extension; sort of an enhanced page-numbering. Regards, Arved Sandstrom Quoting "Savino, Matt C" <[EMAIL PROTECTED]>: > I need to separately keep track of and print out page numbers within a > sub-section of the master document. I could start a new page-sequence, but > the problem is that I have a master header which needs to show the running > page number of the entire document. > > Page >>> > > |-- Header --| > |-- Page 5 of 25 --| > || > > |-- Subsection | > |-- Page 1 of 6 | > || > > <<< > > > Page >>> > > |-- Header --| > |-- Page 6 of 25 --| > || > > |-- Subsection | > |-- Page 2 of 6 | > || > > <<< > > > Can FOP do anything like this? I hope I'm making myself clear. It would be > easy enough if I could manipulate to add or subtract a > fixed number. But I don't see this ability. Any ideas at all would be > greatly appreciated. > > Thanks > > -Matt > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --- This mail was sent through the Nova Scotia Provincial Server, with technical resources provided by Chebucto Community Net. http://nsaccess.ns.ca/mail/ http://www.chebucto.ns.ca/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: page numbering problem...
Thanx Joerg and Colin It is working fine Thanx again for your help. This is how i have done it Page of wali Hi wali, >but one problem still persists can't do it coz FOP does not allow to >declare a block with same id more than once in a document. Use an individually generated id for each end-block. There are various methods in XSL (so this is more a Q for the XSL-List). Try generate-id() for most robustness. The following uses the generated id of the report element which generates the flow. untested) Page of If you want to refer to the last page number from somewhere else, you'll have to supply a XPath to the "report" element which created the flow, for example generate-id(ancestor::report) or generate-id(//report[2]) or something, depending of the context. HTH Joerg Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: page numbering
On Tue, 10 Jul 2001 22:05:41 eric.deandrea wrote: > I am using FOP 0.14. Any help would be greatly appreciated! I don't think that 0.14 had page numbering. I would suggest trying the latest FOP. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Page Numbering and problem.
At 10:05 AM 6/27/01 -0400, Chetan Vig wrote: >Hi Arved, > >The page numbers are being reset to "1" at every (ie. each >). > >This was not the behaviour under fop-0_17. The page numbers just >continued sequentially along from 1 to N and not being reset >to "1" at each . > >I am doing something wrong. Hi, Chetan No, _you_ are OK. We screwed up the page numbering across multiple page sequences a while back. I believe this is now fixed in the latest CVS...I plan to tighten up what remains in pagination, and will review this also, but I think it's OK. According to my release plan proposal this morning (comments please :-)) we should have another release in a week, presumably 0.19.1. Regards, Arved Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Page Numbering and problem.
> The page numbers are being reset to "1" at every (ie. each > ). > > This was not the behaviour under fop-0_17. The page numbers just > continued sequentially along from 1 to N and not being reset > to "1" at each . > > I am doing something wrong. This has been fixed a few days ago. Please download the current CVS version. 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Page Numbering and problem.
Hi Arved, The page numbers are being reset to "1" at every (ie. each ). This was not the behaviour under fop-0_17. The page numbers just continued sequentially along from 1 to N and not being reset to "1" at each . I am doing something wrong. Please let me know. Thanks, Chetan Vig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]