OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: DOCBOOK-APPS: image sizes


Doug du Boulay <ddb@R3401.msl.titech.ac.jp> writes:

> Actually I discovered that the stock dsssl1.77 stylesheets respond perfectly 
> well to: 
> 
> <imagedata fileref="images/image.jpg" format="JPG" width="80%" scale="80">
>
> The width attribute is only used by HTML and the scale attribute
> (which is a percent without the % sign) is only used in the tex
> output.

Herm, that seems really buggy on the part of the stylesheets, but I'd
have to look at the table processing expectations again.  I believe
width is for fixed width and scale is for scaling.  Not sure how it
would be meaningful to set them both.

> All other image scaling attribute controls permitted by the DTD seem to be 
> ignored by the dsssl stylesheets (obvious really, !).

Sarcasm I hope.  Doesn't seem very right to me.

> What I dont know is what the widths and scales are percentages of. The 
> original figures widths? the page width? the text-column width? 
> I have no idea what magic goes on within web-browsers or tex  to impose this 
> spec.

Well, read the HTML spec, but it's width of their containing block
element.  Generally this is the width of the visible page but it could
also be smaller (e.g., inside blockquote or whatever).

-- 
...Adam Di Carlo...<adam@onshored.com>.......<URL:http://www.onshored.com/>





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]