This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] HTML / HTMLHelp: ignore.image.scaling parameter
On Tue, May 06, 2003 at 10:20:34AM -0700, Bob Stayton wrote:
> On Tue, May 06, 2003 at 06:12:22PM +0930, Paul A. Hoadley wrote:
>
> > In HTMLHelp (and HTML) I want to use the full size, unscaled
> > screenshot. I have tried:
> >
> > <xsl:param name='ignore.image.scaling' select="1"/>
> >
> > in my driver, but I still get explicit widths added to the <img>
> > elements in the HTML output:
>
> Yes, that parameter should work. It looks like the contentwidth
> attribute is being processed even when that parameter is set, which
> is a bug in the stylesheet. I went ahead and filed a bug report
> (733406) on it. I'd fix it, but the image scaling code is a bit
> complex, and I think Norm should look at it.
Thanks.
> The scalefit attribute isn't the problem, because it is ignored when
> contentwidth is used. The contentwidth, scale, and scalefit
> attributes are mutually exclusive. If more than one of these
> attributes is used on an image, then the earliest one in the list
> takes precedence.
Yes, I read that at sagehill.net. :-) It looks like for now I am
going to have to go in and manually add another imageobject with no
scaling and role="html" for each screenshot. It's about 75 images,
so, before I embark, can anyone suggest a workaround so that I get my
oversized images scaled down, but I can use ignore.image.scaling for
HTML? Or is contentwidth already the right attribute?
--
Paul.
mailto:paulh@logicsquad.net
mailto:phoadley@maths.adelaide.edu.au
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org