Next in thread → Next in month →

Re: [docbook-apps] epub image output: I see something bizarre

From
Bob Stayton <>
Date
2012-12-13T20:57:00+00:00
ID
9FA5C6EDCBC44433888C6703F5944589@totoro
Thread
Re: [docbook-apps] epub image output: I see something bizarre
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


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="" 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
Next in thread → Next in month →