← Prev in month ← Prev in thread

Caption spacing in mediaobject

From
Tavmjong Bah <>
Date
2007-02-12T22:04:37+00:00
ID
Thread
Caption spacing in mediaobject
Hi,

	How do I control the spacing between an imageobject and a caption in
PDF output? The default spacing puts a caption closer to a following
figure than to the figure it belongs to. Also, is there a way to keep
the image and caption on the same page? I see some reference that FOP
0.93 supports keeps but don't understand how they work.

	This is an example of what I have in my source file:

  <mediaobject>
   <imageobject>
    <imagedata fileref="test.png" format="PNG" align="center"/>
   </imageobject>
   <textobject>
    <phrase>Test</phrase>
   </textobject>
   <caption>
    <para>
     The caption.
    </para>
   </caption>
  </mediaobject>
  <mediaobject>
   ...

	I am using FOP SVN and docbook-xsl-snapshot.

						Thanks,

						Tav
← Prev in month ← Prev in thread