OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "Camille Bégnis" <camille@neodoc.biz>
To: "apps docbook" <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]