[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] images scaled down and centred in pdf-representation
Hi everybody,
I finally figured it out:
- scale images down to page-width: use attribute width="100%" and
scalefit="1" in the <imagedata>-element
- center images in pdf: use attribute align="center" in <imagedata>-element
Best Regards
Stefan
Stefan Zander schrieb:
> Hi,
>
> I am currently working on a document which contains a lot of images
> (figures) with variable/different sizes. A pdf-representation of the
> document including all images scaled and centred accordingly should
> then be generated automatically.
> The problem is that the images have different sizes where some images
> are smaller than the page width (A4) and others are bigger. My
> question is:
>
> - Is there a possibility to tell the fo-processor to scale an image
> down to the width of the page, if it is bigger; if am image is smaller
> than the page-width, leave it as it is.
> - How can I specify to centre the images?
>
> I am working with docbook 4.4; docbook-xsl 1.70.1; fop 0.92beta; Java
> 1.5.
>
> Thanks for any help.
>
> Stefan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
--
Stefan Zander, Dipl. Inf. (FH) MULTA MEDIO Informationssysteme AG
Mergentheimer Str. 76a
97082 Würzburg
mailto:szander@multamedio.de Tel: +49 (0)931 79717-31
http://www.multamedio.de Fax: +49 (0)931 79717-30
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]