Hi Dave,
I'm not understanding your example. This looks like an implementation of dropcap using a side float for the first letter of the para. There is no such dropcap implemented in the stock DocBook XSL, so that must be coming from a customization layer.

A float is used when you want the dropcap to cover more than one line of the paragraph. If you don't use a float, the the second line of text will overwrite the big letter. The float forces the next line to give it space.

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "davep" <[email protected]>
To: "Docbook-apps" <[email protected]>
Sent: Wednesday, July 13, 2011 1:52 AM
Subject: [docbook-apps] fop and floats


Input docbook
<para xml:id="xxx">In the midst of ...

resultant fo

<fo:float float="start">
<fo:block margin="0pt" text-depth="0pt"
               font-size="33pt" line-height="26pt"
               padding-end="2pt">I</fo:block> </fo:float>n the midst of ...

I have said I'm using fop

<!-- For fop usage -->
<xsl:param name="fop1.extensions" select="1"></xsl:param>

fop 1.0 doesn't support floats.
Is the use here necessary?
I'm not at all sure I see its purpose?


regards






regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to