This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: image sizes


Doug du Boulay <ddb at R3401 dot msl dot titech dot ac dot 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 at onshored dot com>.......<URL:http://www.onshored.com/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]