Converted epubs missing italic style

Bug #1287645 reported by Chris Mitchell on 2014-03-04
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Calibre 1.26 on Windows 7 32-bit

In a converted RTF file from Word2003, there are embedded italics showing in the MOBI version but not in the EPUB version. Looking inside the EPUB/XHTML, I find this sort of thing:

<span class="none">except me</span>

 In the stylesheet.css, I find:
.calibre {
    display: block;
    font-size: 1em;
    padding-left: 0;
    padding-right: 0;
    margin: 0 5pt
.calibre1 {
    display: block
.calibre2 {
    display: block;
    margin: 1em 0
.none {
    font-style: italic;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none
.s {
    display: block;
    padding-left: 0;
    padding-right: 0;
    text-align: left

Which suggests that something further up is using the reserved word 'none' where it should have something...

More on this; it seems that the problem is caused by the following:
'Convert book' (input RTF -> output EPUB)
Within the 'Convert' dialog, go to 'Page Setup'
Note that the default Output Profile on this page is still set to 'Kindle'. When this is changed to 'Default output profile', then the problem goes away.

I think there's still an issue insofar as the output profile should follow what was selected at the initial stage, not default to something that may no longer make any sense in the context. Subtle, though...

Kovid Goyal (kovid) wrote :

I opened the attached epub file in the calibre viewer and except me is rendered as italic.

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers