LibreOffice 3.5 odt to conversion mobi problem

Bug #941134 reported by rickh57
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

I've recently upgraded to LibreOffice 3.5. Since upgrading, when I attempt to convert a document in odt format into mobi for my Kindle, there are large margins around the headers (e.g. Heading 2), when I preview the mobi file in the E-book Viewer. When I save the odt file as html from LibreOffice, there aren't any large margins visible. When I look inside the odt file, the styles.xml file also doesn't contain any large margins.

I've seen this symptom on both Windows and Linux.

The attachment was created on an Ubuntu 11.10 netbook system (32 bit), using calibre 0.8.41 and LibreOffice 3.5.

Related branches

Revision history for this message
rickh57 (rickh57) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 941134

The offendinf declaration in styles.xml is <style:paragraph-properties
fo:margin="100%" fo:margin-left="0in" fo:margin-right="0in" fo:margin-top="0in"
fo:margin-bottom="0.0201in" fo:text-indent="0.2in"
style:auto-text-indent="false"/>

in particular the margin:100%. Remove that and you should be fine. There is an
actual bug in calibre that will be fixed for the next release (it should ignore
the margin:100% sice it is overridden by the more specific margin-* properties.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in lp:calibre

Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.