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 Arturo Perez <ap...@hayesinc.com> on 2006/06/27 01:41:52 UTC

page-number-citation not working in 0.92?

Hi all,

I am concatenating via XSL a bunch of XML files and then trying to set 
up references and page numbers for a TOC.  But it looks like forward 
references aren't working in 0.92 (got that from an old posting).

Any workarounds?  Except for the "put the TOC" at the end one? :-)

tia,
arturo



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


Re: page-number-citation not working in 0.92?

Posted by Arturo Perez <ap...@hayesinc.com>.
Jeremias Maerki <dev <at> jeremias-maerki.ch> writes:

> 
> 
> On 27.06.2006 17:03:18 Arturo Perez wrote:
> > Perez <arturo <at> ethicist.net> writes:
> > There's the whole business of "normal area" that
> > I don't get.
> 
> What's that about? The term "normal area" is defined in the XSL 1.0 spec
> in chapter "4.2.5 Stacking Constraints". FOP itself does not maintain
> the area-class trait in code, however. If there's anything specific I
> can explain, tell me.
> 
> Jeremias Maerki
> 

I think everything is working as advertised so I am all set.  I was thinking 
that the table-row id didn't work because maybe it wasn't a normal area.  
I see the compliance page addresses the issue.

Unfortunately I don't have all those things internalized yet (that is,
the compliance page, the XSL spec, et al).

Thanks again for all the help.
-arturo



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


Re: page-number-citation not working in 0.92?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 27.06.2006 17:03:18 Arturo Perez wrote:
> Perez <arturo <at> ethicist.net> writes:
> 
> > 
> > In article <BAY102-DAV4F05FF37FD396E2588738FB7E0 <at> phx.gbl>,
> >  Chris Bowditch <bowditch_chris <at> hotmail.com> wrote:
> > 
> > > Arturo Perez wrote:
> > > 
> > > > Hi all,
> > > > 
> > > > I am concatenating via XSL a bunch of XML files and then trying to set 
> > > > up references and page numbers for a TOC.  But it looks like forward 
> > > > references aren't working in 0.92 (got that from an old posting).
> > > > 
> > 
> > -arturo
> > 
> 
> 
> OK, I have a workaround.  If the page-number-citation refers to an id
> on a table-row it does not work.  When the id is placed on a block then
> it does work.
> 
> I think the page-number-citation is supposed to work in either case?  Or
> am I wrong about that?

Yes, it's supposed to work, but the implementation is not finished, yet.
The limitation is documented here:
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-id
http://xmlgraphics.apache.org/fop/relnotes.html
and
http://xmlgraphics.apache.org/fop/knownissues.html

We appreciate any help in this area.

> There's the whole business of "normal area" that
> I don't get.

What's that about? The term "normal area" is defined in the XSL 1.0 spec
in chapter "4.2.5 Stacking Constraints". FOP itself does not maintain
the area-class trait in code, however. If there's anything specific I
can explain, tell me.


Jeremias Maerki


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


Re: page-number-citation not working in 0.92?

Posted by Arturo Perez <ap...@hayesinc.com>.
Perez <arturo <at> ethicist.net> writes:

> 
> In article <BAY102-DAV4F05FF37FD396E2588738FB7E0 <at> phx.gbl>,
>  Chris Bowditch <bowditch_chris <at> hotmail.com> wrote:
> 
> > Arturo Perez wrote:
> > 
> > > Hi all,
> > > 
> > > I am concatenating via XSL a bunch of XML files and then trying to set 
> > > up references and page numbers for a TOC.  But it looks like forward 
> > > references aren't working in 0.92 (got that from an old posting).
> > > 
> 
> -arturo
> 


OK, I have a workaround.  If the page-number-citation refers to an id
on a table-row it does not work.  When the id is placed on a block then
it does work.

I think the page-number-citation is supposed to work in either case?  Or
am I wrong about that?  There's the whole business of "normal area" that
I don't get.

thanks all,
arturo


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


Re: page-number-citation not working in 0.92?

Posted by Perez <ar...@ethicist.net>.
In article <BA...@phx.gbl>,
 Chris Bowditch <bo...@hotmail.com> wrote:

> Arturo Perez wrote:
> 
> > Hi all,
> > 
> > I am concatenating via XSL a bunch of XML files and then trying to set 
> > up references and page numbers for a TOC.  But it looks like forward 
> > references aren't working in 0.92 (got that from an old posting).
> > 
> > Any workarounds?  Except for the "put the TOC" at the end one? :-)
> 
> Depends what you mean by not working? If you mean slight alignment 
> problems when text-align="justify" then I'm afraid there are no easy 
> workarounds. You might be able to try generating the IF XML and 
> manipulating it so the numbers have better alignment before rendering 
> your PDF or PS output.
> 
> Chris

Sorry, my post lacked a certain preciseness.  The page numbers are not 
coming out.  I put an xsl:message at the point of the referred-to thing.  
I recently changed the ids to a generate-id construct and it prints out 
"Including N10023".  At the page-number-citation point it says something 
like N10023 not found.

-arturo


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


Re: page-number-citation not working in 0.92?

Posted by Chris Bowditch <bo...@hotmail.com>.
Arturo Perez wrote:

> Hi all,
> 
> I am concatenating via XSL a bunch of XML files and then trying to set 
> up references and page numbers for a TOC.  But it looks like forward 
> references aren't working in 0.92 (got that from an old posting).
> 
> Any workarounds?  Except for the "put the TOC" at the end one? :-)

Depends what you mean by not working? If you mean slight alignment 
problems when text-align="justify" then I'm afraid there are no easy 
workarounds. You might be able to try generating the IF XML and 
manipulating it so the numbers have better alignment before rendering 
your PDF or PS output.

Chris



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