This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re[2]: [docbook-apps] Wrap Text Around Image


The DocBook Technical Committee recently voted to
add a 'floatstyle'
attribute to several elements that could float, including
figure, table, example, and equation.  The new attribute will
be CDATA, and is expected to be a keyword that the
stylesheet can use to effect a float of a particular type.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Alexander Peshkov" <peshkov@renderx.com>
To: "Sean Wheller" <sean@enbaya.co.za>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Friday, January 16, 2004 7:12 AM
Subject: Re[2]: [docbook-apps] Wrap Text Around Image


> Hello Sean,
>
> It's not quite clear what's the reason of "picture remains in its
> own block" since I haven't seen your code nor have any information
> about your XSL FO formatter. The general usage pattern is to define
> float type using 'default.float.class' stylesheet parameter and set
> float="1" on your figure (though I haven't tried it :-). Note that
> default value of 'default.float.class' is 'before' which is not what
> you want. You have to change it to one of the side float values (i.e.
> 'start'). As for additional examples - I suggest you to look into
> the code of fo/formal.xsl stylesheet from the standard docbook-xsl
> distribution. There is a template <xsl:template match="figure">
> that contains code related to the floating figure generation. You may
> want to customize it.
>
> Best regards,
> Alexander Peshkov                             mailto:peshkov@renderx.com
> RenderX
>
> SW> Hello Alex,
>
> SW> Yes, I am aware of the @float on figure and informalfigure elements.
What
> SW> must, or how must I use it? I set float="1" but the picture remains in
its
> SW> own block.
>
> SW> TDG just mentions that the default is "0" and I have not found any
other
> SW> references to usage from where I may take an example.
>
> SW> Sean Wheller
>
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]