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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: docbook-xsl-1.41 html output difficulties

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

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

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

Powered by eList eXpress LLC