Antwort: Figure display

Hi,

I would put both in a column of a table with a fixd width of - let's say - 
310 pt

Regards Olaf



Von:
www-xsl-fo@w3.org
An:
www-xsl-fo@w3.org
Datum:
24.03.2010 00:55
Betreff:
Figure display
Gesendet von:
www-xsl-fo-request@w3.org




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 Wednesday, 24 March 2010 07:28:45 UTC