Hi,

Yes I intend to split to another line after 5 citations. The non breaking space 
is used only after each page citation i.e. 3, 4, 5

see below interim fop file snippet:

<fo:table-row>
<fo:table-cell font-size="8" color="rgb(0%,0%,50.196%)" font-family="Arial">
<fo:block>Consumer, Cyclical</fo:block>
</fo:table-cell>
<fo:table-cell font-size="8" color="rgb(0%,0%,50.196%)" font-family="Arial">
<fo:block margin-right="0.02cm" text-align="right">
<fo:page-number-citation ref-id="link.note.1" />
<fo:wrapper>,�</fo:wrapper>
<fo:page-number-citation ref-id="link.note.6" />
<fo:wrapper>,�</fo:wrapper>
<fo:page-number-citation ref-id="link.note.11" />
<fo:wrapper>,�</fo:wrapper>
<fo:page-number-citation ref-id="link.note.15" />
<fo:wrapper>,�</fo:wrapper>
<fo:page-number-citation ref-id="link.note.25" />,�?
<fo:page-number-citation ref-id="link.note.29" />
<fo:wrapper>,�</fo:wrapper>
<fo:page-number-citation ref-id="link.note.32" />
<fo:wrapper>,�</fo:wrapper>
<fo:page-number-citation ref-id="link.note.34" />
<fo:wrapper>,�</fo:wrapper>
<fo:page-number-citation ref-id="link.note.39" />
<fo:wrapper>,�</fo:wrapper>
<fo:page-number-citation ref-id="link.note.42" />,�?
<fo:page-number-citation ref-id="link.note.43" />
</fo:block>
</fo:table-cell>
</fo:table-row>

As can be seen there is a space after the comma and before the next citation 
which is what I want. However the problem is that  the right alignment of the 
last citation is not accurate - the error distance from the right hand side 
increases with the number of citations on the line.


-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: 29 June 2004 09:55
To: [EMAIL PROTECTED]
Subject: Re: page citation alignment issue


[EMAIL PROTECTED] wrote:
> Hi,
> 
> I am using the latest version of FOP and it still appears to have a page 
> alignment problem. I have multiple page citations on the same line. For every 
> citation the right alignment is affected by a small amount. See below XSL:

 From your XSLT snippet provided, it looks like you are inserting non breaking 
spaces after the page number citation, so this makes sense. Am I right in 
thinking you are trying to split lists of page numbers into groups of 5 per 
line? I think the problem is in your xsl logic. Make sure you dont insert a 
nbsp after the 5th or last page-number-citation.

To confirm what is going on, use xalan.bat provided with the FOP distribution 
to generate a intermediate XSL-FO file from your XML and XSL files. I think 
you will be see nbsp characters after the page number citations.

<snip/>

Chris



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


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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

Reply via email to