This was an oversight.  The height property should also be converted to a CSS 
style attribute just as width is.  I'll fix that for the next release.

Bob Stayton
Sagehill Enterprises
[email protected]


From: Robert Nagle 
Sent: Wednesday, December 12, 2012 8:56 PM
To: apps docbook 
Subject: [docbook-apps] epub image output: I see something bizarre


I'm using snapshot docbook- ns-xsl

I see something strange on my epub3 output with graphics. It doesn't appear to 
affect the html; it just seems strange.. Why does width have extra space and a 
semicolon, but height doesn't? Is it because there is potentially another value 
to be present in width (but not height). 

I'm not using any parameters or XSLT that might touch these things. I'm just 
curious about what's going on

Output

    <div class="mediaobject"><img style="width: 150; " 
src="images-epub/small-small.jpg" height="189" alt="Jack Matthews 
photo"/></div> 


Input: 

    <mediaobject>
        <imageobject>
            <imagedata  contentwidth="150px" contentdepth="189px" 
fileref="images-epub/small-small.jpg"/>
        </imageobject>
               
        <textobject>
            <phrase> Jack Matthews photo</phrase>
        </textobject>
      
        
    </mediaobject> 

-- 
Robert Nagle
6121 Winsome Ln #56C, Houston TX 77057-5581
(H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010
http://www.robertnagle.info

Reply via email to