Hi,
There is no way to indicate such a feature in
DocBook element markup, because that is a formatting issue. However, the
DocBook XSL stylesheets support a "keep-together" feature on para using a
processing-instruction. So if you are willing to put the figure inside the
para with the text of the para, this should work:
<para><?dbfo keep-together="always"
?>Text of the paragraph.
<figure>
...
</figure>
</para.
This will wrap the text and the figure in an
fo:block with a keep-together.within-column="always" property, which should keep
them on the same page.
----- Original Message -----
Sent: Friday, May 08, 2009 3:50 AM
Subject: [docbook] para and figure
alignment
Dear
people
In some cases, if
a figure is directly shown after an short para, the figure is shown on the
next page (pdf output). In this case i want show this figure together with the
para on the next page. Is there a solution in docbook to solve this
problem?
BR,
Andreas
Kehlenbach
Andreas Kehlenbach System Development ISRA Parsytec
GmbH
Tel: +49 / 241 / 9696-478 Fax: +49 / 241 /
9696-500
E-Mail:
keh@parsytec.de
–
world leaders in surface inspection. The winning team to boost your
yield!
Management Board: Hans Jürgen Christ, Michael Trunkhardt,
Martin Heinrich Registered Office Aachen, Amtsgericht Aachen, HRB
5119.
ž Please consider the environment before printing this e-mail or
its
attachments. ---------------------------------------------------------------------------------------------------- This
email may contain material that is confidential, privileged and for the sole
use of the intended recipient. Any review, reliance or distribution by others
or forwarding without express permission is strictly prohibited. If you are
not the intended recipient, please contact the sender and delete all copies.
ISRA Parsytec GmbH, its branches and subsidiaries herewith exclude any
liability for third-party information recognizably contained in this e-mail or
its attachments. Third-party information does not necessarily reflect the
opinion of ISRA Parsytec
GmbH. ----------------------------------------------------------------------------------------------------- WWW.ISRAVISION.COM
&
WWW.PARSYTEC.COM ------------------------------------------------------------------------------------------------------
|