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] making tables float

Your hack solution will have to do for now.
In the current 4.2 DocBook DTD, only figure and informalfigure
take a float attribute. You could put an informaltable inside
a figure, and add a float="left" attribute to the figure element.
But then your table would have a 'Figure' label instead of
a table label.

The XSL stylesheets are supposed to output an fo:float element
when the float attribute is nonzero.  But there is a bug in the current
(fixed in CVS) that prevents a float attribute other than '1'
being recognized.

Also, I hope you aren't using FOP.  When I put a figure in <fo:float>
in FOP, the whole thing simply disappeared.

Coming up in the 4.3 DTD, tables, examples, and other display items
will accept a new floatstyle attribute.  When the stylesheets are
updated for the new DTD, then you will be able to properly
specify a float.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Michael Weiser" <michael@weiser.dinsnail.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, February 05, 2004 12:40 PM
Subject: [docbook-apps] making tables float

> Hello,
> I'm trying to get tables to float using the docbook-xsl-stylesheets for
> FO output. Up to now my hack solution is to add an fo:float to a custom
> copy of the table template which is hardly a proper solution.
> Is there a better way of doing this?
> Thanks again.
> -- 
> bye, Michael
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit

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