This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: docbook-xsl-1.41 html output difficulties
- To: cemery at cambridge dot org, docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: docbook-xsl-1.41 html output difficulties
- From: Bob Stayton <bobs at caldera dot com>
- Date: Sun, 15 Jul 2001 20:54:26 -0700 (PDT)
> From: Chris Hamilton-Emery <cemery@cambridge.org>
>
> Hi there,
>
> I'm having difficulty with the html output in the new XSL stylesheets. I
> want to bring in images with specific hight and width measurements and
> flopat them, rather than bring them in with a scale (i.e., 100%). Here's
> what I mean:
>
> <figure label="11" float="0">
> <title>Chapter root element of an XML DTD</title>
> <mediaobject>
> <imageobject>
> <imagedata fileref="camtechglossfig15.jpg" align="center"
> width="600"
> depth="1218" format="JPEG"/>
> </imageobject>
> </mediaobject>
> </figure>
>
> Is generating:
>
> <div class="figure">
> <p><a name=""></a><b>Figure 11. Chapter root element of an XML
> DTD</b></p>
> <div class="mediaobject"><img src="camtechglossfig15.jpg"
> align="center" width="%"></div>
> </div>
>
> Which doesn't render anything. Am I missing something obvious? I mean, I
> know I'm missing something obvious, I just can't see it! ;-{
Hmm, I don't seem to be able to duplicate this problem.
The way I read the html/graphics.xsl stylesheet, it
will only use "%" in width if you have a scale attribute.
I can produce width="%" if I use scale="" in imagedata.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com