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: [docbook-apps] Intelligent (Latex-like) placement of figures


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
>
>
>
>



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