Sorry!!

We are using these attributes:

width="100%" contentdepth="100%" scalefit="1"

They are working.....

But I keep the point that this is not intuitive and trivial to understand.
Specially for the people authoring.

Hinrich

-----Ursprüngliche Nachricht-----
Von: ben.guillon [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 21. August 2007 21:33
An: Hinrich Aue
Cc: docbook-apps@lists.oasis-open.org
Betreff: Re: AW: [docbook-apps] default attributes

On Tue, 21 Aug 2007 15:42:21 +0200, Hinrich Aue  
<[EMAIL PROTECTED]> wrote:

> Contentwidth=100%, contentdepth=100% and scalefit=1 make the images  
> scale to
> it's intrinsic size, but reduces their size if they are to big.

It is not the behaviour defined in TDG. When the content area is  
specified, scalefit should be ignored  
(http://www.docbook.org/tdg/en/html/imagedata.html):

"Specification of content area, scaling, and scaling to fit are mutually  
exclusive. If a content area (contentwidth, contentdepth, or both) is  
specified, both scaling and scaling to fit are ignored. If the content  
area is not specified and both scaling and scaling to fit are specified,  
scalefit is ignored."

Moreover, scalefit fits to a viewport area, so that without a specified  
viewport area, scalefit is irrelevant. At least, it's my understanding of  
TDG...

Regards,
BG


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to