Re: [docbook-apps] Limitting float span

From
"Cob Rtayton"
Date
2006-08-08T08:01:33+00:00
ID
020201c6bac0$d7845920$e9701bac@totoro
Thread
Re: [docbook-apps] Limitting float span
Hi,
If you put a clear="both" on the fo:block generated for the para that 
follows the para with the graphic, then it will be pushed below the 
graphic.  Now the trick is to write a template pattern that matches on the 
following para.

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message ----- 
From: "Camille B嶲nis" <>
To: "apps docbook" <>
Sent: Monday, August 07, 2006 5:09 AM
Subject: [docbook-apps] Limitting float span

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> given following template:
>
> <xsl:template match="para/inlinegraphic[not(preceding-sibling::text())]">
> <fo:float float="left" clear="both">
>    <fo:block margin-right="1em">
> <xsl:apply-imports/>
>    </fo:block>
>  </fo:float>
> </xsl:template>
>
>
> How can I avoid the float to limit itself to the parent para, and not to
> following ones?
>
> e.g.:
> - -------------------------------------------------------
> ________
> |  o   |  The para with the inlinegraphic in it
> | /|\  |
> |  /\  |
> - --------
> Another paragraph
> - -------------------------------------------------------
> Instead of:
> - -------------------------------------------------------
> ________
> |  o   |  The para with the inlinegraphic in it
> | /|\  |  Another paragraph
> |  /\  |
> - --------
> - -------------------------------------------------------
>
> Using <fo:list-block> doesn't really suits me because if first para text
> is longer than graphics, I want it to wrap the graphics below it...
>
> Cheers,
>
> Camille.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFE1y2Jjv9P65BfOUMRApF0AJ4uLbcfxsMzQpOWat0J84PkzOZBXgCeJvVo
> 60q9i1WwztESO1lzArdp6S0=
> =GDE5
> -----END PGP SIGNATURE-----
>

--------------------------------------------------------------------------------

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: