epub to azw3 conversion bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| calibre |
Undecided
|
Unassigned |
Bug Description
Windows 7 - Calibre 1.29.0 - Wrong style conversion from ePub to azw3 when too many <p> inside <div class="biblio"> (for french indentation).
I have used many times, with successful conversion to azw3, except in this case.
.biblio { margin-left:1.5em; font-size:0.96em; }
.biblio p { text-indent:-1.5em; margin-
<div class="bliblio>
<p> ... </p>
</div>
div class="biblio" is used 35 times, in 6 xhtml files.
Number of <p> inside <div class="biblio">: 42 + 19 + 27 + 42 + 1450 + 108
In the resulting azw3 converted file disapears the line "margin-left: 1.5em;", this way:
.biblio {
display: block;
font-size: 0.96em
}
This can be solved in two ways: 1, removing a lot of paragraphs inside this class. 2, distributing this with a second class slightly modified, like:
.biblio2 { margin-left:1.52em; font-size:0.96em; }
.biblio2 p { text-indent:
(if I leave 1.5em unchanged, this class biblio2 is considered as biblio and the problem remains.)