I have found that KFX will put "text-align" and text-indent" in the body css. Calibre conversion will not recognize text-align: center" if it is in the body css.
From kfx:
Code:
<body class="class-1">
.class-1 {text-align: center}
from calibre converted epub:
Code:
<body class="calibre">
.calibre {
display: block;
font-size: 1em;
line-height: 1.2;
margin-bottom: 0;
margin-left: 4pt;
margin-right: 4pt;
margin-top: 0;
orphans: 1;
padding-left: 0;
padding-right: 0;
text-align: justify;
widows: 1;
}
bernie
Quote:
Originally Posted by jhowell
The conversion log shows some unexpected formatting that I had not encountered previously. The next release of the plugin will ignore that extra data.
If you do not want to wait you should be able to convert that book by using From KFX or by selecting the conversion option "Allow conversion to proceed even if errors are detected" in the KFX Input tab of the conversion dialog.
Likely due to the unusual formatting contained in that book. The metadata in the conversion log shows that Amazon converted that book to KFX format in the early days of KFX, 2015. They have improved their conversion process a lot since then.
|