List Info

Thread: AW: AW: default attributes




AW: AW: default attributes
user name
2007-08-22 03:24:51
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:ben.guillongmail.com] 
Gesendet: Dienstag, 21. August 2007 21:33
An: Hinrich Aue
Cc: docbook-appslists.oasis-open.org
Betreff: Re: AW: [docbook-apps] default attributes

On Tue, 21 Aug 2007 15:42:21 +0200, Hinrich Aue  
<hinrich.auelci-software.com> 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  
(htt
p://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: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )