Converted epubs missing italic style
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
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-
}
.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...