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




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