LibreOffice 3.5 odt to conversion mobi problem
Bug #941134 reported by
rickh57
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
To post a comment you must log in.
The offendinf declaration in styles.xml is <style: paragraph- properties left="0in" fo:margin- right=" 0in" fo:margin-top="0in" bottom= "0.0201in" fo:text- indent= "0.2in" text-indent= "false" />
fo:margin="100%" fo:margin-
fo:margin-
style:auto-
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