W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2010

Re: Antwort: Figure display

From: NicolasS <nicolas.senechal@gmail.com>
Date: Wed, 31 Mar 2010 22:47:59 -0700 (PDT)
Message-ID: <28104744.post@talk.nabble.com>
To: www-xsl-fo@w3.org

Works great. Thanks!



Olaf Wentzien wrote:
> 
> 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.
> 
> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Antwort%3A-Figure-display-tp28011460p28104744.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Thursday, 1 April 2010 05:48:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 April 2010 05:48:29 GMT