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: Re: [docbook-apps] problem with SVG in Docbook

Hi Niels,
Are you using the xhtml5 or epub3 stylesheet by any chance?

Bob Stayton
Sagehill Enterprises

On 11/7/2014 1:57 AM, Niels Müller Larsen (NML - lektor - R104 - EAA) wrote:

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"

generated output html:

     <div class="mediaobject">
       <object style="width: 405; " type="image/svg+xml"

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


To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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