epub to azw3 conversion bug

Bug #1298932 reported by repilo on 2014-03-28
6
This bug affects 1 person
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-bottom:0.5em; }

<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:-1.52em; margin-bottom:0.5em; }
(if I leave 1.5em unchanged, this class biblio2 is considered as biblio and the problem remains.)

repilo (repilo2) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers