Figure display

Hi,

We want display figures made of an image and a title. The image has a fixed
width. My writers would like the title to have the same width as the image.
We are using DITA-OT with the fo plugin and the fop renderer. The generated
code looks like this:

<fo:block>
     <fo:inline>
           <fo:external-graphic content-width="300pt"
src="url(project\images\img1.jpg)"/>
      </fo:inline>
      <fo:block>Figure 1: Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum.</fo:block>
</fo:block>

Is there an easy way to achieve this?

Thanks,

Nic


-- 
View this message in context: http://old.nabble.com/Figure-display-tp28008844p28008844.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.

Received on Tuesday, 23 March 2010 23:53:11 UTC