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: How to create sidebars for epub3?


Hi,

I do have an ebook that is written in docbook and delivered as PDF.
So far I have refrained from shipping epub/mobi as they had no sidebars, but
now with epub3 and KF8, that should work I thought. But I seem to be missing
something.

So far sidebars show up smack in the middle (I use the firefox epub
extension for testing).

This is how they look like in the XML source:
<sidebar>
  <informalfigure>
     <mediaobject>
        <imageobject>
           <imagedata fileref="images/WB-presets.jpg" format="JPG"
                      width="100%" scalefit="1" align="inside" />
        </imageobject>
     </mediaobject>
  </informalfigure>
</sidebar>

This is what I see in the epub:
<div class="sidebar" epub:type="sidebar">
  <div class="titlepage" />
    <div class="informalfigure">
       <div style="align: inside; " class="mediaobject">
          <table style="border: 0; border-spacing: 0; padding: 0;
                        width: 100%; ">
          <tr>
             <td style="align: inside; ">
               <img style="align: inside; width: 100%; "
                    src="images/WB-presets.jpg" />
             </td>
          </tr>
       </table>
    </div>
  </div>
</div>

I use eta3 of the epub stylesheets from sourceforge.
Am I missing some form of customization?
Any examples appreciated.

thx
afx
-- 
http://afximages.com/


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