[xep-support] FW: fo:float inconsistently overlays text

From: Kevin Brown <kevin@renderx.com>
Date: Fri Jun 01 2012 - 12:44:39 PDT

Oops ... missed the loop on this one. Should have posted to support.

Kevin Brown
RenderX

-----Original Message-----
From: David Kelly [mailto:david.kelly@pragprog.com]
Sent: Friday, June 01, 2012 11:49 AM
To: kevin@renderx.com
Subject: Re: [xep-support] fo:float inconsistently overlays text

Kevin,

Thanks -- I had overlooked the relationship between the float and the
reference area. It had been working for us as is up until we hit this
particular book.

Due to how our markup and stylesheets are set up, it will be a bit of a pain
to implement this. The markup that generates the float is currently a
sibling to a large number of elements that might generate the fo:block for
the reference area. But that's my problem, not yours...

Thanks for pointing this out!

Regards,
David

On 6/1/2012 2:28 PM, Kevin Brown wrote:
> David:
>
> Shouldn't you want this:
>
> <fo:block id="N10F77" space-after="6pt"><fo:float clear="both"
> end-indent="0pt"
> start-indent="0in" float="inside">
> <fo:block-container text-align="outside"
> font-family="Myriad"
> font-size="110%" padding-right="0.1in"
> padding-left="0.1in" width="2in">
> <fo:block hyphenate="false"
margin-right="0.2in"
> margin-left="0.2in"
> padding-top="3pt" border-bottom="3pt
> solid silver"
> border-top="3pt solid silver">
> <fo:block id="N10F72"
> space-after="6pt">Users are a terrible
> thing.</fo:block>
> </fo:block>
> </fo:block-container>
> </fo:float> Worse yet, other systems that call
> ours march remorselessly forward
> like an army of Terminators, utterly
> unsympathetic about how close we are to
> crashing.</fo:block>
>
> In other words, put the float inside the block not adjacent to it.
>
> I tested your FO and this works.
>
> Kevin Brown
> RenderX
>
> -----Original Message-----
> From: xep-support-bounces@renderx.com
> [mailto:xep-support-bounces@renderx.com] On Behalf Of David Kelly
> Sent: Wednesday, May 30, 2012 7:44 AM
> To: xep-support@renderx.com
> Subject: [xep-support] fo:float inconsistently overlays text
>
> Hello,
>
> I am using the following form (for example) for floats that are
> scattered throughout a book:
>
> <fo:float clear="both" end-indent="0pt" start-indent="0in"
> float="inside"> <fo:block-container text-align="outside"
font-family="Myriad"
> font-size="110%" padding-right="0.1in" padding-left="0.1in"
> width="2in"> <fo:block hyphenate="false" margin-right="0.2in"
margin-left="0.2in"
> padding-top="3pt" border-bottom="3pt solid silver" border-top="3pt
> solid silver"> <fo:block id="N10F72" space-after="6pt">Users are a
> terrible thing.</fo:block> </fo:block> </fo:block-container>
> </fo:float>
>
> In almost all cases, this works as expected (see book-paper-page-49.pdf).
> However, on rare occasions the text does not clear the float
> (book-paper-page-51.pdf), resulting in overlaid text.
>
> This problem appears to be dependent on position. When I attempt to
> abbreviate the FO file, the pagination changes and the problem disappears.
> For that reason I am posting the entire FO file for the book in which
> the problem appears. If you also need the complete PDF, please let me
> know. If you would prefer I attach the 1.9Mb FO file instead of
> linking to it, please let me know that as well.
>
> http://dl.dropbox.com/u/33092204/book-paper.fo
>
> We are using XEP Version 4.19 build 20110304.
>
> I also tried adding<fo:block clear="both> around the float, with no
effect.
>
> Is there a way to address this issue?
>
> Thanks,
> David
>
>
>
>
>
>
>
>
>
>
>
>
>
> !DSPAM:87,4fc6322e63734267419161!
>
>

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Fri Jun 1 12:35:53 2012

This archive was generated by hypermail 2.1.8 : Fri Jun 01 2012 - 12:35:58 PDT