You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by John Marshall <Jo...@accurate.co.uk> on 2003/04/02 13:54:36 UTC

page-citations across page-sequences

Hi

I have a document (an address list) that includes an index which I would like to arrange in two columns. To create the index I use <fo:inline id="{generate-id(fullname)}"> in the body text and <fo:page-number-citation ref-id="{generate-id(fullname)}"/> in the index text. This works fine.

In my <fo:layout-master-set> I now have two fo:simple-page-masters with master-names of "fullpage" and "twocols". The latter includes column-count="2" in its fo:region-body and I can flow test stuff into it. Of course each flow lies within its own fo:page-sequence.

When I apply the template that includes the fo:page-number-citation, FOP responds with [ERROR] null. The xslspec entry for fo:page-number-citation does not indicate that the page-number-citation and the cited page-number should lie within the same fo:page-sequence. What is being lost between the two flows? is there an easy way to fix this?

Thank you

John Marshall






Accurate Software Ltd 

The Courtyard, Denmark Street, Wokingham, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax +44 (0)118 977 1260
Web: http://www.accuratesoftware.com

The information in this email is confidential and privileged and is intended only for the use of the individual or entity listed above.  If you are neither the intended individual, or entity listed above, nor the person responsible for the delivery of this email to the intended recipients, you are hereby notified that any unauthorised distribution, copying or use of this email is prohibited. If you have received this email in error, please notify the Accurate system manager at postmaster@accuratesoftware.com or on +44 (0)118 977 3889.  The views expressed in this communication may not necessarily be the views held by the Accurate Group.


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


Re: page-citations across page-sequences

Posted by "J.Pietschmann" <j3...@yahoo.de>.
John Marshall wrote:
> In my <fo:layout-master-set> I now have two fo:simple-page-masters with
> master-names of "fullpage" and "twocols". The latter includes
> column-count="2" in its fo:region-body and I can flow test stuff into it. Of
> course each flow lies within its own fo:page-sequence.
> 
> When I apply the template that includes the fo:page-number-citation, FOP
> responds with [ERROR] null. The xslspec entry for fo:page-number-citation
> does not indicate that the page-number-citation and the cited page-number
> should lie within the same fo:page-sequence. What is being lost between the
> two flows? is there an easy way to fix this?

The page number handling is tricky and has quite a few problems.
You didn't state the FOP version number nor enough context to
decide whether you've hit a known bug. A possible solution in
most situations is to put the TOC at the end of the document
instead in front of it, see
  http://xml.apache.org/fop/faq.html#OutOfMemoryException
for some discussion of this approach.

J.Pietschmann


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