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


Subject: problem with SVG in Docbook


Hi

I am changing some illustrations from png to svg, and I have encountered
what I think is a bug in some stylesheet.

My input

    <imageobject role="html">
         <imagedata  format="SVG"
                     fileref="../code/specgraphics/crashnavi.svg"
                     scale="75"/>
    </imageobject>

generated output html:

    <div class="mediaobject">
      <object style="width: 405; " type="image/svg+xml"
data="../code/specgraphics/crashnavi.svg"/>
    </div>

Problem: the style attribute in the object element is calculated
correctly but CSS requires a unit, eg "px". Resultingly the width is not
interpreted on the html page.

Is there any additional spec I can do to work around the problem?
Has it been reported and is there fix on the way?

I am using docbook-xsl-ns-stylesheets-1.78.0

Cheers
Niels




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