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: [docbook-apps] HTML / HTMLHelp: ignore.image.scaling parameter


On Tue, May 06, 2003 at 06:12:22PM +0930, Paul A. Hoadley wrote:

> I have some PNG images which I have scaled to a particular width for
> PDF output.  For example:
> 
>         <figure id="fig:optform1">
>           <title>&optform;</title>
>           <mediaobject>
>             <imageobject>
>               <imagedata fileref="images/screenshots/fig01.png"
>                 format="PNG" align="center" contentwidth="12cm"
>                 scalefit="1"/>
>             </imageobject>
>           </mediaobject>
>         </figure>                                        
> 
> 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:
> 
> <img src="images/screenshots/fig01.png" align="middle"
>  width="425.196850393701" alt="Options Form">

By all accounts this is the parameter I want.  I've now tried it in
plain HTML output and I get the same result.  Is 'scalefit' the
problem -- will it not override 'scalefit'?  


-- 
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


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