[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] fop and floats
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 bobs@sagehill.net ----- Original Message ----- From: "davep" <davep@dpawson.co.uk> To: "Docbook-apps" <docbook-apps@lists.oasis-open.org> 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: 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]