This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Intelligent (Latex-like) placement of figures
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <docbook-apps at lists dot oasis-open dot org>, Steffen Glückselig <glueckselig at gungfu dot de>
- Date: Mon, 7 Mar 2005 09:51:09 -0800
- Subject: Re: [docbook-apps] Intelligent (Latex-like) placement of figures
- References: <op.sm9uh4hzliwsrf@localhost>
Yes, the XSL-FO standard and the DocBook XSL stylesheets support floats for
figures. You could use <figure floatstyle="before"> to do what you want.
But floats are not supported in all XSL-FO processors. Two that do are XEP
and XSL formatter. FOP doesn't.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Steffen Glückselig" <glueckselig@gungfu.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, March 07, 2005 6:28 AM
Subject: [docbook-apps] Intelligent (Latex-like) placement of figures
> Hello,
>
> I have not done much with Latex, so maybe I am all wrong, but from what
I've picked up it seems Latex places
> figures intelligently on a page. Currently I sometimes get quite big gaps
between text and a figure if the
> figure does not fit on a page:
>
>
> Lorem ipsum dolor sit amet,
> consectetuer adipiscing elit.
>
>
>
>
> ----------------------------------new page
> <figure>
> Nullam erat felis, pulvinar
> ultrices, facilisis quis,
> rhoncus porttitor,
> ...
>
>
>
> If I am not mistaken Latex would pull the text from the second page up to
the first, filling the gap.
>
>
> Is it possible to get something like this with docbook? I thought about
using float
> (http://www.sagehill.net/docbookxsl/FigureFloats.html) with something like
float="start" (would it be
> 'start'?).
>
>
>
> best regards
> Steffen
>
>
>
>